From 88dfd654c225943484c6a0e179c573ac66d3026e Mon Sep 17 00:00:00 2001 From: Javier Isoldi Date: Fri, 24 May 2024 21:02:36 -0300 Subject: [PATCH 01/30] W-15847817. List replaced by Queue to improve performance. Some minor changes to make code more redeable. --- .../MinShapeAlgorithm.scala | 30 +++++++++---------- ...hapeNormalizationInheritanceResolver.scala | 20 ++++++------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/resolution/shape_normalization/MinShapeAlgorithm.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/resolution/shape_normalization/MinShapeAlgorithm.scala index a8963ba8d1..f72b071f34 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/resolution/shape_normalization/MinShapeAlgorithm.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/resolution/shape_normalization/MinShapeAlgorithm.scala @@ -673,12 +673,14 @@ private[resolution] class MinShapeAlgorithm()(implicit val resolver: ShapeNormal case DataType.Integer => true case _ => false } + private def isNumeric(dataType: String): Boolean = dataType match { case DataType.Float | DataType.Double | DataType.Number | DataType.Integer | DataType.Long => true case _ => false } private def areSameShape(child: Shape, parent: Shape): Boolean = child.id == parent.id && child.id != null + def computeMinShape(child: Shape, parent: Shape): Shape = { if (areSameShape(child, parent)) return child @@ -916,25 +918,24 @@ private[resolution] class MinShapeAlgorithm()(implicit val resolver: ShapeNormal val superProperties = superNode.properties val baseProperties = baseNode.properties + // Calculate which properties are overwritten by the baseNode type IsOverridden = Boolean type PropertyPath = String - val commonProps: mutable.HashMap[PropertyPath, IsOverridden] = mutable.HashMap() + val propsToOverride: mutable.HashMap[PropertyPath, IsOverridden] = mutable.HashMap() - superProperties.foreach(p => commonProps.put(p.path.value(), false)) + superProperties.foreach(p => propsToOverride.put(p.path.value(), false)) baseProperties.foreach { p => - if (commonProps.contains(p.path.value())) { - commonProps.put(p.path.value(), true) - } else { - commonProps.put(p.path.value(), false) - } + val isOverridden = propsToOverride.contains(p.path.value()) + propsToOverride.put(p.path.value(), isOverridden) } - val minProps = commonProps.map { + val minProps = propsToOverride.map { case (path, true) => - val child = baseProperties.find(_.path.is(path)).get - val parent = superProperties.find(_.path.is(path)).get - if (parent.id != child.id) { + // It returns true because the prop is present in both nodes + val childProp = baseProperties.find(_.path.is(path)).get + val parentProp = superProperties.find(_.path.is(path)).get + if (parentProp.id != childProp.id) { /** We need to ensure the child property "belongs" to the current node in order to create a new inheritance. * This is because the child property might have been inherited from another parent and we end up mutating @@ -948,12 +949,11 @@ private[resolution] class MinShapeAlgorithm()(implicit val resolver: ShapeNormal * * The range of Child.a is [Node1, Node2] while Parent1.a is just Node1 */ - val childCopy = child.copyShape() - childCopy.withId(child.id) + val childPropCopy = childProp.copyShape().withId(childProp.id) - createNewInheritanceAndQueue(childCopy, parent) + createNewInheritanceAndQueue(childPropCopy, parentProp) } else { - child + childProp } case (path, false) => diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/resolution/shape_normalization/ShapeNormalizationInheritanceResolver.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/resolution/shape_normalization/ShapeNormalizationInheritanceResolver.scala index 04cfdb1b6e..8666b3f48e 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/resolution/shape_normalization/ShapeNormalizationInheritanceResolver.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/resolution/shape_normalization/ShapeNormalizationInheritanceResolver.scala @@ -9,12 +9,13 @@ import amf.shapes.client.scala.model.domain._ import amf.shapes.internal.domain.metamodel._ import amf.shapes.internal.validation.definitions.ShapeResolutionSideValidations.InvalidTypeInheritanceWarningSpecification +import scala.collection.immutable.Queue import scala.collection.mutable case class ShapeNormalizationInheritanceResolver(context: NormalizationContext) { private val algorithm: MinShapeAlgorithm = new MinShapeAlgorithm()(this) - private var queue: Seq[Shape] = Seq.empty + private var queue: Queue[Shape] = Queue() def log(msg: String): Unit = context.logger.log(msg) def getCached(shape: Shape): Option[Shape] = context.resolvedInheritanceIndex.get(shape.id) @@ -62,13 +63,9 @@ case class ShapeNormalizationInheritanceResolver(context: NormalizationContext) private def addToCache(shape: Shape, id: String) = context.resolvedInheritanceIndex += (shape, id) private def addToCache(shape: Shape) = context.resolvedInheritanceIndex += shape - def removeFromQueue(shape: Shape): Unit = { - log(s"removing from queue: ${shape.debugInfo()}") - queue = queue.filterNot(_ == shape) - } def queue(shape: Shape): Unit = { log(s"queueing: ${shape.debugInfo()}") - queue = queue :+ shape + queue = queue enqueue shape } def normalize(shape: Shape, skipQueue: Boolean = false): Shape = { @@ -82,9 +79,9 @@ case class ShapeNormalizationInheritanceResolver(context: NormalizationContext) addToCache(result) while (queue.nonEmpty && !skipQueue) { - val next = queue.head + val (next, newQueue) = queue.dequeue log(s"queue is not empty ----- ") - queue = queue.tail + queue = newQueue normalize(next, skipQueue = true) // do not nest queued normalizations } @@ -141,14 +138,17 @@ case class ShapeNormalizationInheritanceResolver(context: NormalizationContext) } } - private def inheritFromSuperTypes(shape: Shape, superTypes: Seq[Shape]) = { + private def inheritFromSuperTypes(shape: Shape, superTypes: Seq[Shape]): Shape = { shape.fields.removeField(ShapeModel.Inherits) superTypes.fold(shape) { (accShape, superType) => - // go up the inheritance chain before applying type. We want to apply inheritance with the accumulated super type + // Go up the inheritance chain before applying type. We want to apply inheritance with the accumulated super type log(s"inherit from super type: ${superType.debugInfo()}") + + // Runs normalize for super shape context.logger.addPadding() val normalizedSuperType = normalize(superType, skipQueue = true) context.logger.removePadding() + if (detectedRecursion) accShape else { From a94fa391134be7800266c4410ee4add8573bcccc Mon Sep 17 00:00:00 2001 From: Damian Pedra Date: Wed, 29 May 2024 14:13:53 -0300 Subject: [PATCH 02/30] Publish 5.6.0-SNAPSHOT --- amf-apicontract.versions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amf-apicontract.versions b/amf-apicontract.versions index a9b9d5a679..5c35829ed6 100644 --- a/amf-apicontract.versions +++ b/amf-apicontract.versions @@ -1,5 +1,5 @@ -amf.apicontract=5.5.2 -amf.aml=6.5.2 +amf.apicontract=5.6.0-SNAPSHOT +amf.aml=6.6.0-SNAPSHOT amf.model=3.9.0 antlr4Version=0.7.25 amf.validation.profile.dialect=1.6.0 From 9bad8785ef56bef2a6076c002c736924667244ce Mon Sep 17 00:00:00 2001 From: Javier Isoldi Date: Fri, 31 May 2024 19:38:25 -0300 Subject: [PATCH 03/30] W-15847817. Golden files regenerated after some order changes in annotations. --- .../jsonschema/cycled/api-2019.raml.jsonld | 56 +- .../jsonschema/cycled/api.raml.jsonld | 56 +- .../jsonschema/cycled/oas20-2019.yaml.jsonld | 56 +- .../jsonschema/cycled/oas20.yaml.jsonld | 56 +- .../jsonschema/cycled/schema-base.json.jsonld | 92 +- .../base-type-array.expanded.jsonld | 102 +- .../base-type-array.flattened.jsonld | 76 +- .../matrix-type-array.expanded.jsonld | 114 +- .../matrix-type-array.flattened.jsonld | 92 +- ...xpression-with-inheritance.expanded.jsonld | 102 +- ...pression-with-inheritance.flattened.jsonld | 76 +- .../union-type-array.expanded.jsonld | 144 +- .../union-type-array.flattened.jsonld | 112 +- .../child-declaration-links.expanded.jsonld | 112 +- .../child-declaration-links.flattened.jsonld | 74 +- .../union-right-declaration.expanded.jsonld | 82 +- .../union-right-declaration.flattened.jsonld | 60 +- .../parser/union-with-lib/api.expanded.jsonld | 82 +- .../union-with-lib/api.flattened.jsonld | 60 +- .../poc/inheritance-item.resolved.jsonld | 118 +- .../inheritance-nested-object.resolved.jsonld | 188 +- ...sion-in-inherited-property.resolved.jsonld | 380 +-- ...ecursion-inheritance-cycle.resolved.jsonld | 130 +- ...invalid-mandatory-property.resolved.jsonld | 208 +- ...ion-invalid-mandatory-type.resolved.jsonld | 112 +- ...n-invalid-minitems-no-zero.resolved.jsonld | 126 +- ...-optional-property-complex.resolved.jsonld | 132 +- ...rsion-invalid-union-nested.resolved.jsonld | 144 +- .../recursion-invalid-union.resolved.jsonld | 144 +- ...valid-additionalproperties.resolved.jsonld | 124 +- ...ursion-valid-minitems-zero.resolved.jsonld | 126 +- ...on-valid-optional-property.resolved.jsonld | 208 +- ...ursion-valid-optional-type.resolved.jsonld | 128 +- ...union-nested-exit-at-first.resolved.jsonld | 190 +- ...nion-nested-exit-at-second.resolved.jsonld | 204 +- .../poc/recursion-valid-union.resolved.jsonld | 112 +- .../production/event-api/api.expanded.jsonld | 54 +- .../production/event-api/api.flattened.jsonld | 42 +- .../example-in-union.raml.expanded.jsonld | 42 +- .../example-in-union.raml.flattened.jsonld | 36 +- ...nv1.2swagger.raml.resolved.expanded.jsonld | 2684 ++++++++--------- ...v1.2swagger.raml.resolved.flattened.jsonld | 1390 ++++----- .../add-facet.raml.expanded.jsonld | 26 +- .../add-facet.raml.flattened.jsonld | 20 +- .../test-ramlfragment.raml.expanded.jsonld | 12 +- .../test-ramlfragment.raml.flattened.jsonld | 16 +- .../knowledge-graph-reduced/api.jsonld | 18 +- .../api.resolved.expanded.jsonld | 24 +- .../api.resolved.flattened.jsonld | 12 +- .../production/lib-types/lib.expanded.jsonld | 302 +- .../production/lib-types/lib.flattened.jsonld | 92 +- ...blob_service.raml.resolved.expanded.jsonld | 26 +- ...lob_service.raml.resolved.flattened.jsonld | 20 +- .../api.resolved.expanded.jsonld | 540 ++-- .../api.resolved.flattened.jsonld | 288 +- .../oas-example.json.expanded.jsonld | 160 +- .../oas-example.json.flattened.jsonld | 92 +- .../oas-multiple-example.json.expanded.jsonld | 156 +- ...oas-multiple-example.json.flattened.jsonld | 112 +- ...-multiple-example.resolved.expanded.jsonld | 76 +- ...multiple-example.resolved.flattened.jsonld | 76 +- .../oas20/xml-payload.json.expanded.jsonld | 30 +- .../oas20/xml-payload.json.flattened.jsonld | 20 +- .../api.raml.expanded.jsonld | 154 +- .../api.raml.flattened.jsonld | 116 +- .../api.raml.expanded.jsonld | 154 +- .../api.raml.flattened.jsonld | 116 +- .../api.raml.expanded.jsonld | 242 +- .../api.raml.flattened.jsonld | 168 +- .../lock-unlock/api.raml.expanded.jsonld | 68 +- .../lock-unlock/api.raml.flattened.jsonld | 56 +- .../api.raml.expanded.jsonld | 400 +-- .../api.raml.flattened.jsonld | 336 +-- .../banking-api/api.raml.expanded.jsonld | 2468 +++++++-------- .../banking-api/api.raml.flattened.jsonld | 1948 ++++++------ .../raml10/demo-api/api.raml.expanded.jsonld | 1938 ++++++------ .../raml10/demo-api/api.raml.flattened.jsonld | 1474 ++++----- .../api.raml.expanded.jsonld | 60 +- .../api.raml.flattened.jsonld | 40 +- .../api.raml.expanded.jsonld | 166 +- .../api.raml.flattened.jsonld | 120 +- .../jsonschema/api.raml.expanded.jsonld | 56 +- .../jsonschema/api.raml.flattened.jsonld | 40 +- .../locations-api/api.raml.expanded.jsonld | 450 +-- .../locations-api/api.raml.flattened.jsonld | 386 +-- .../xsdexample/api.raml.expanded.jsonld | 30 +- .../xsdexample/api.raml.flattened.jsonld | 20 +- .../api.raml.expanded.jsonld | 26 +- .../api.raml.flattened.jsonld | 20 +- .../raml10/xsdschema/api.raml.expanded.jsonld | 26 +- .../xsdschema/api.raml.flattened.jsonld | 20 +- .../recursive-union.raml.expanded.jsonld | 104 +- .../recursive-union.raml.flattened.jsonld | 60 +- .../recursive3.editing.expanded.jsonld | 240 +- .../recursive3.editing.flattened.jsonld | 88 +- .../recursive4.editing.expanded.jsonld | 394 +-- .../recursive4.editing.flattened.jsonld | 146 +- .../api.raml.expanded.jsonld | 54 +- .../api.raml.flattened.jsonld | 52 +- .../api.resolved.raml.expanded.jsonld | 26 +- .../api.resolved.raml.flattened.jsonld | 20 +- ...nal-prop-and-defined-after.expanded.jsonld | 104 +- ...al-prop-and-defined-after.flattened.jsonld | 58 +- ...al-prop-and-defined-before.expanded.jsonld | 104 +- ...l-prop-and-defined-before.flattened.jsonld | 58 +- .../union-type/api.raml.resolved.jsonld | 82 +- .../unions-example.raml.expanded.jsonld | 384 +-- .../unions-example.raml.flattened.jsonld | 226 +- .../data-type-fragment.json.expanded.jsonld | 78 +- .../data-type-fragment.json.flattened.jsonld | 60 +- ...ragment.reference.resolved.expanded.jsonld | 24 +- ...agment.reference.resolved.flattened.jsonld | 18 +- .../references/lib/lib.json.expanded.jsonld | 82 +- .../references/lib/lib.json.flattened.jsonld | 56 +- .../references/lib/lib.raml.expanded.jsonld | 82 +- .../references/lib/lib.raml.flattened.jsonld | 56 +- .../references/libraries.json.expanded.jsonld | 82 +- .../libraries.json.flattened.jsonld | 56 +- .../oas/oas-references/oas-2-root.jsonld | 56 +- .../oas/oas-references/oas-3-root.jsonld | 56 +- .../render/recursion.expanded.jsonld | 206 +- .../render/recursion.flattened.jsonld | 144 +- .../resources/render/types.expanded.jsonld | 158 +- .../resources/render/types.flattened.jsonld | 112 +- .../resources/render/union.expanded.jsonld | 232 +- .../resources/render/union.flattened.jsonld | 132 +- .../async-2.3-components.expanded.jsonld | 48 +- .../async-2.3-components.flattened.jsonld | 36 +- .../channel-servers-implicit.expanded.jsonld | 6 +- .../channel-servers-implicit.flattened.jsonld | 6 +- .../content-type-override.expanded.jsonld | 48 +- .../content-type-override.flattened.jsonld | 48 +- ...essage-example-propagation.expanded.jsonld | 24 +- ...ssage-example-propagation.flattened.jsonld | 24 +- .../message-references.expanded.jsonld | 84 +- .../message-references.flattened.jsonld | 48 +- .../message-trait-merging.expanded.jsonld | 48 +- .../message-trait-merging.flattened.jsonld | 24 +- .../named-parameter-with-ref.expanded.jsonld | 30 +- .../named-parameter-with-ref.flattened.jsonld | 24 +- .../operation-trait-merging.expanded.jsonld | 48 +- .../operation-trait-merging.flattened.jsonld | 24 +- .../type-forward-referencing.expanded.jsonld | 22 +- .../type-forward-referencing.flattened.jsonld | 22 +- .../binary-fragment/api.expanded.jsonld | 24 +- .../binary-fragment/api.flattened.jsonld | 24 +- .../api.resolved.expanded.jsonld | 18 +- .../api.resolved.flattened.jsonld | 18 +- .../api.resolved.expanded.jsonld | 24 +- .../api.resolved.flattened.jsonld | 24 +- .../api.expanded.jsonld | 120 +- .../api.flattened.jsonld | 96 +- .../api.expanded.jsonld | 6 +- .../api.flattened.jsonld | 6 +- .../examples-defined-in-rt.expanded.jsonld | 40 +- .../examples-defined-in-rt.flattened.jsonld | 28 +- .../example-in-trait.expanded.jsonld | 54 +- .../example-in-trait.flattened.jsonld | 30 +- ...xamples-shortener.resolved.expanded.jsonld | 6 +- ...amples-shortener.resolved.flattened.jsonld | 6 +- ...-with-multiple-media-types.expanded.jsonld | 82 +- ...with-multiple-media-types.flattened.jsonld | 56 +- .../response-examples.json.expanded.jsonld | 250 +- .../response-examples.json.flattened.jsonld | 152 +- .../response-examples.raml.expanded.jsonld | 134 +- .../response-examples.raml.flattened.jsonld | 92 +- ...with-quoted-value.resolved.expanded.jsonld | 30 +- ...ith-quoted-value.resolved.flattened.jsonld | 20 +- ...traits-resource-types.raml.expanded.jsonld | 156 +- ...raits-resource-types.raml.flattened.jsonld | 108 +- .../extends/data.editing.expanded.jsonld | 130 +- .../extends/data.editing.flattened.jsonld | 82 +- .../simple-merge.editing.expanded.jsonld | 30 +- .../simple-merge.editing.flattened.jsonld | 18 +- .../extends/simple-merge.raml.expanded.jsonld | 12 +- .../simple-merge.raml.flattened.jsonld | 16 +- .../traits/input.resolved.expanded.jsonld | 48 +- .../traits/input.resolved.flattened.jsonld | 24 +- .../jsonexample.raml.expanded.jsonld | 52 +- .../jsonexample.raml.flattened.jsonld | 40 +- .../jsonschema.raml.expanded.jsonld | 52 +- .../jsonschema.raml.flattened.jsonld | 40 +- .../api.resolved.expanded.jsonld | 40 +- .../api.resolved.flattened.jsonld | 40 +- .../xmlexample.raml.expanded.jsonld | 26 +- .../xmlexample.raml.flattened.jsonld | 20 +- .../xmlschema.raml.expanded.jsonld | 12 +- .../xmlschema.raml.flattened.jsonld | 16 +- .../jsonld-example/api.expanded.jsonld | 12 +- .../jsonld-example/api.flattened.jsonld | 12 +- .../link-of-link-in-api.expanded.jsonld | 68 +- .../link-of-link-in-api.flattened.jsonld | 64 +- .../link-of-link-of-link.expanded.jsonld | 82 +- .../link-of-link-of-link.flattened.jsonld | 70 +- .../link-of-link/link-of-link.expanded.jsonld | 58 +- .../link-of-link.flattened.jsonld | 52 +- .../link-of-link-in-api.expanded.jsonld | 94 +- .../link-of-link-in-api.flattened.jsonld | 84 +- .../avoid-extract-to-declares.expanded.jsonld | 66 +- ...avoid-extract-to-declares.flattened.jsonld | 54 +- ...-declares-and-refs-default.expanded.jsonld | 140 +- ...declares-and-refs-default.flattened.jsonld | 108 +- ...-declares-and-refs-editing.expanded.jsonld | 72 +- ...declares-and-refs-editing.flattened.jsonld | 72 +- ...e-override-oas-target.json.expanded.jsonld | 116 +- ...-override-oas-target.json.flattened.jsonld | 92 +- .../media-type-override.json.expanded.jsonld | 116 +- .../media-type-override.json.flattened.jsonld | 92 +- .../media-type-override.raml.expanded.jsonld | 64 +- .../media-type-override.raml.flattened.jsonld | 54 +- .../media-type.json.expanded.jsonld | 116 +- .../media-type.json.flattened.jsonld | 92 +- .../media-type.raml.expanded.jsonld | 64 +- .../media-type.raml.flattened.jsonld | 54 +- .../media-types.json.expanded.jsonld | 232 +- .../media-types.json.flattened.jsonld | 106 +- .../media-types.raml.expanded.jsonld | 102 +- .../media-types.raml.flattened.jsonld | 54 +- ...-use-global-mediatype.raml.expanded.jsonld | 96 +- ...use-global-mediatype.raml.flattened.jsonld | 52 +- .../api.expanded.jsonld | 90 +- .../api.flattened.jsonld | 60 +- .../merge-inherits/api.expanded.jsonld | 144 +- .../merge-inherits/api.flattened.jsonld | 84 +- .../api.expanded.jsonld | 74 +- .../api.flattened.jsonld | 50 +- .../api.expanded.jsonld | 92 +- .../api.flattened.jsonld | 52 +- .../api.expanded.jsonld | 120 +- .../api.flattened.jsonld | 70 +- .../result.expanded.jsonld | 44 +- .../result.flattened.jsonld | 28 +- .../nested-parameters.raml.expanded.jsonld | 342 +-- .../nested-parameters.raml.flattened.jsonld | 232 +- ...as-declared-link-of-scalar.expanded.jsonld | 22 +- ...s-declared-link-of-scalar.flattened.jsonld | 22 +- .../api.expanded.jsonld | 24 +- .../api.flattened.jsonld | 24 +- .../all-objects-case.expanded.jsonld | 64 +- .../all-objects-case.flattened.jsonld | 56 +- .../array-in-the-middle.expanded.jsonld | 64 +- .../array-in-the-middle.flattened.jsonld | 56 +- ...array-with-child-recursion.expanded.jsonld | 50 +- ...rray-with-child-recursion.flattened.jsonld | 52 +- .../resolution/oas-recursion.expanded.jsonld | 64 +- .../resolution/oas-recursion.flattened.jsonld | 42 +- ...okie-parameter-propagation.expanded.jsonld | 108 +- ...kie-parameter-propagation.flattened.jsonld | 54 +- .../oas3-inlined-shapes.expanded.jsonld | 30 +- .../oas3-inlined-shapes.flattened.jsonld | 30 +- .../api.expanded.jsonld | 100 +- .../api.flattened.jsonld | 56 +- .../oas30-discriminator/api.expanded.jsonld | 144 +- .../oas30-discriminator/api.flattened.jsonld | 56 +- .../result.expanded.jsonld | 30 +- .../result.flattened.jsonld | 30 +- .../overrided-baseUriParams.expanded.jsonld | 12 +- .../overrided-baseUriParams.flattened.jsonld | 16 +- .../parameter-without-type.expanded.jsonld | 14 +- .../parameter-without-type.flattened.jsonld | 14 +- .../parameters.json.expanded.jsonld | 82 +- .../parameters.json.flattened.jsonld | 52 +- ...amples-resolution.resolved.expanded.jsonld | 26 +- ...mples-resolution.resolved.flattened.jsonld | 26 +- .../query-string.json.expanded.jsonld | 218 +- .../query-string.json.flattened.jsonld | 132 +- .../query-string.raml.expanded.jsonld | 204 +- .../query-string.raml.flattened.jsonld | 130 +- ...ity-with-query-string.json.expanded.jsonld | 248 +- ...ty-with-query-string.json.flattened.jsonld | 152 +- ...ity-with-query-string.raml.expanded.jsonld | 234 +- ...ty-with-query-string.raml.flattened.jsonld | 150 +- .../output.source-info.jsonld | 68 +- .../api.expanded.jsonld | 30 +- .../api.flattened.jsonld | 30 +- ...ve-additional-properties-2.expanded.jsonld | 94 +- ...e-additional-properties-2.flattened.jsonld | 58 +- ...sive-additional-properties.expanded.jsonld | 94 +- ...ive-additional-properties.flattened.jsonld | 64 +- .../api.resolved.expanded.jsonld | 144 +- .../api.resolved.flattened.jsonld | 76 +- .../recursive-tuple/api.expanded.jsonld | 84 +- .../recursive-tuple/api.flattened.jsonld | 54 +- .../api.expanded.jsonld | 138 +- .../api.flattened.jsonld | 78 +- .../security-requirements.expanded.jsonld | 156 +- .../security-requirements.flattened.jsonld | 60 +- .../security/security.json.expanded.jsonld | 300 +- .../security/security.json.flattened.jsonld | 80 +- .../security/security.raml.expanded.jsonld | 378 +-- .../security/security.raml.flattened.jsonld | 128 +- .../api.expanded.jsonld | 374 +-- .../api.flattened.jsonld | 98 +- .../oas30/api.expanded.jsonld | 104 +- .../oas30/api.flattened.jsonld | 44 +- .../oas20/api.expanded.jsonld | 98 +- .../oas20/api.flattened.jsonld | 70 +- .../oas30/api.expanded.jsonld | 80 +- .../oas30/api.flattened.jsonld | 52 +- .../trait-with-link.expanded.jsonld | 48 +- .../trait-with-link.flattened.jsonld | 36 +- .../union-of-arrays/api.expanded.jsonld | 72 +- .../union-of-arrays/api.flattened.jsonld | 42 +- .../api.raml.resolved.expanded.jsonld | 112 +- .../api.raml.resolved.flattened.jsonld | 68 +- .../unresolved-shape.raml.expanded.jsonld | 18 +- .../unresolved-shape.raml.flattened.jsonld | 18 +- .../uri-params/api-operation.jsonld | 6 +- .../resolution/uri-params/api.jsonld | 6 +- .../additional-properties.expanded.jsonld | 52 +- .../additional-properties.flattened.jsonld | 40 +- .../upanddown/basic.json.expanded.jsonld | 12 +- .../upanddown/basic.json.flattened.jsonld | 16 +- .../collection-format.expanded.jsonld | 112 +- .../collection-format.flattened.jsonld | 72 +- .../upanddown/complete.json.expanded.jsonld | 12 +- .../upanddown/complete.json.flattened.jsonld | 16 +- .../cycle/async20/asyncApi-2.3-all.yaml | 2 +- .../cycle/async20/asyncApi-2.4-all.yaml | 2 +- .../cycle/async20/asyncApi-2.5-all.yaml | 2 +- .../cycle/async20/asyncApi-2.6-all.yaml | 2 +- .../bindings/google-pub-sub-binding.yaml | 1 - .../bindings/http-message-binding.yaml | 2 - .../bindings/http-operation-binding.yaml | 3 +- .../bindings/kafka-channel-binding.yaml | 3 - .../cycle/graphql/descriptions/block.jsonld | 96 +- .../cycle/graphql/descriptions/simple.jsonld | 96 +- .../directive-with-directives/api.jsonld | 48 +- .../simple.resolved.jsonld | 132 +- .../api.json.expanded.jsonld | 26 +- .../api.json.flattened.jsonld | 20 +- ...e-definitions-with-refs.source-info.jsonld | 46 +- .../api.yaml.expanded.jsonld | 112 +- .../api.yaml.flattened.jsonld | 76 +- .../api.yaml.expanded.jsonld | 94 +- .../api.yaml.flattened.jsonld | 76 +- .../api.yaml.expanded.jsonld | 96 +- .../api.yaml.flattened.jsonld | 88 +- .../api.raml.expanded.jsonld | 506 ++-- .../api.raml.flattened.jsonld | 348 +-- .../api.raml.expanded.jsonld | 12 +- .../api.raml.flattened.jsonld | 16 +- .../default_value/api.raml.expanded.jsonld | 30 +- .../default_value/api.raml.flattened.jsonld | 20 +- .../api.raml.expanded.jsonld | 30 +- .../api.raml.flattened.jsonld | 20 +- .../file-array/api.raml.expanded.jsonld | 12 +- .../file-array/api.raml.flattened.jsonld | 16 +- .../api.raml.expanded.jsonld | 76 +- .../api.raml.flattened.jsonld | 76 +- .../schema-position/api.raml.expanded.jsonld | 58 +- .../schema-position/api.raml.flattened.jsonld | 56 +- .../all-type-types/api.raml.expanded.jsonld | 766 ++--- .../all-type-types/api.raml.flattened.jsonld | 496 +-- .../annotations-full/api.raml.expanded.jsonld | 260 +- .../api.raml.flattened.jsonld | 196 +- .../api.raml.expanded.jsonld | 68 +- .../api.raml.flattened.jsonld | 56 +- .../api.raml.expanded.jsonld | 64 +- .../api.raml.flattened.jsonld | 56 +- .../api.raml.expanded.jsonld | 30 +- .../api.raml.flattened.jsonld | 20 +- .../array-example/api.raml.expanded.jsonld | 72 +- .../array-example/api.raml.flattened.jsonld | 56 +- .../banking-api/api.raml.expanded.jsonld | 260 +- .../banking-api/api.raml.flattened.jsonld | 196 +- .../basic_with_xsd/api.raml.expanded.jsonld | 26 +- .../basic_with_xsd/api.raml.flattened.jsonld | 20 +- .../api.raml.expanded.jsonld | 106 +- .../api.raml.flattened.jsonld | 88 +- .../api.raml.expanded.jsonld | 134 +- .../api.raml.flattened.jsonld | 88 +- .../boolean_in_key/api.raml.expanded.jsonld | 60 +- .../boolean_in_key/api.raml.flattened.jsonld | 66 +- .../api.raml.expanded.jsonld | 26 +- .../api.raml.flattened.jsonld | 20 +- .../api.raml.expanded.jsonld | 90 +- .../api.raml.flattened.jsonld | 54 +- .../api.raml.expanded.jsonld | 208 +- .../api.raml.flattened.jsonld | 168 +- .../api.raml.expanded.jsonld | 144 +- .../api.raml.flattened.jsonld | 112 +- .../api.raml.expanded.jsonld | 60 +- .../api.raml.flattened.jsonld | 34 +- .../api.raml.expanded.jsonld | 52 +- .../api.raml.flattened.jsonld | 40 +- .../api.raml.expanded.jsonld | 194 +- .../api.raml.flattened.jsonld | 136 +- .../api.raml.expanded.jsonld | 240 +- .../api.raml.flattened.jsonld | 144 +- .../default-types/api.raml.expanded.jsonld | 150 +- .../default-types/api.raml.flattened.jsonld | 148 +- .../api.raml.expanded.jsonld | 26 +- .../api.raml.flattened.jsonld | 20 +- .../empty_union/api.raml.expanded.jsonld | 38 +- .../empty_union/api.raml.flattened.jsonld | 36 +- .../raml10/endpoints/api.raml.expanded.jsonld | 60 +- .../endpoints/api.raml.flattened.jsonld | 34 +- .../enum-inheritance/api.raml.expanded.jsonld | 98 +- .../api.raml.flattened.jsonld | 76 +- .../raml10/enums/api.raml.expanded.jsonld | 120 +- .../raml10/enums/api.raml.flattened.jsonld | 80 +- .../api.raml.expanded.jsonld | 82 +- .../api.raml.flattened.jsonld | 56 +- .../raml10/examples/api.raml.expanded.jsonld | 280 +- .../raml10/examples/api.raml.flattened.jsonld | 188 +- .../api.raml.expanded.jsonld | 78 +- .../api.raml.flattened.jsonld | 56 +- .../extensions/api.raml.expanded.jsonld | 286 +- .../extensions/api.raml.flattened.jsonld | 216 +- .../raml10/externals/api.raml.expanded.jsonld | 154 +- .../externals/api.raml.flattened.jsonld | 132 +- .../api.raml.expanded.jsonld | 80 +- .../api.raml.flattened.jsonld | 70 +- .../file_types/api.raml.expanded.jsonld | 30 +- .../file_types/api.raml.flattened.jsonld | 20 +- .../api.raml.expanded.jsonld | 90 +- .../api.raml.flattened.jsonld | 60 +- .../api.raml.expanded.jsonld | 210 +- .../api.raml.flattened.jsonld | 180 +- .../api.raml.expanded.jsonld | 60 +- .../api.raml.flattened.jsonld | 40 +- .../fragment_usage/api.raml.expanded.jsonld | 30 +- .../fragment_usage/api.raml.flattened.jsonld | 20 +- .../full-example/api.raml.expanded.jsonld | 298 +- .../full-example/api.raml.flattened.jsonld | 208 +- .../api.raml.expanded.jsonld | 26 +- .../api.raml.flattened.jsonld | 20 +- .../include-repeated/api.raml.expanded.jsonld | 52 +- .../api.raml.flattened.jsonld | 40 +- .../api.raml.expanded.jsonld | 392 +-- .../api.raml.flattened.jsonld | 300 +- .../int_uri_param/api.raml.expanded.jsonld | 244 +- .../int_uri_param/api.raml.flattened.jsonld | 162 +- .../jukebox-api/api.raml.expanded.jsonld | 176 +- .../jukebox-api/api.raml.flattened.jsonld | 92 +- .../raml10/konst1/api.raml.expanded.jsonld | 82 +- .../raml10/konst1/api.raml.flattened.jsonld | 60 +- .../api.raml.expanded.jsonld | 82 +- .../api.raml.flattened.jsonld | 60 +- .../api.raml.expanded.jsonld | 134 +- .../api.raml.flattened.jsonld | 100 +- .../raml10/libraries/api.raml.expanded.jsonld | 82 +- .../libraries/api.raml.flattened.jsonld | 56 +- .../api.raml.expanded.jsonld | 86 +- .../api.raml.flattened.jsonld | 60 +- .../raml10/matrix-id/api.raml.expanded.jsonld | 56 +- .../matrix-id/api.raml.flattened.jsonld | 40 +- .../raml10/matrix/api.raml.expanded.jsonld | 112 +- .../raml10/matrix/api.raml.flattened.jsonld | 76 +- .../missing_example/api.raml.expanded.jsonld | 142 +- .../missing_example/api.raml.flattened.jsonld | 92 +- .../api.raml.expanded.jsonld | 224 +- .../api.raml.flattened.jsonld | 144 +- .../api.raml.expanded.jsonld | 162 +- .../api.raml.flattened.jsonld | 96 +- .../api.raml.expanded.jsonld | 268 +- .../api.raml.flattened.jsonld | 192 +- .../named-example/api.raml.expanded.jsonld | 82 +- .../named-example/api.raml.flattened.jsonld | 56 +- .../null-secured-by/api.raml.expanded.jsonld | 12 +- .../null-secured-by/api.raml.flattened.jsonld | 16 +- .../numeric-facets/api.raml.expanded.jsonld | 102 +- .../numeric-facets/api.raml.flattened.jsonld | 74 +- .../api.raml.expanded.jsonld | 30 +- .../api.raml.flattened.jsonld | 20 +- .../api.raml.expanded.jsonld | 26 +- .../api.raml.flattened.jsonld | 20 +- .../raml10/overlay/api.raml.expanded.jsonld | 286 +- .../raml10/overlay/api.raml.flattened.jsonld | 216 +- .../parameters/api.raml.expanded.jsonld | 138 +- .../parameters/api.raml.flattened.jsonld | 100 +- .../raml10/payloads/api.raml.expanded.jsonld | 106 +- .../raml10/payloads/api.raml.flattened.jsonld | 82 +- .../query-string/api.raml.expanded.jsonld | 244 +- .../query-string/api.raml.flattened.jsonld | 182 +- .../raml-security/api.raml.expanded.jsonld | 60 +- .../raml-security/api.raml.flattened.jsonld | 20 +- .../api.raml.expanded.jsonld | 82 +- .../api.raml.flattened.jsonld | 56 +- .../api.raml.expanded.jsonld | 142 +- .../api.raml.flattened.jsonld | 80 +- .../api.raml.expanded.jsonld | 26 +- .../api.raml.flattened.jsonld | 20 +- .../api.raml.expanded.jsonld | 112 +- .../api.raml.flattened.jsonld | 80 +- .../sapi-customer/api.raml.expanded.jsonld | 214 +- .../sapi-customer/api.raml.flattened.jsonld | 160 +- .../secured-by/api.raml.expanded.jsonld | 460 +-- .../secured-by/api.raml.flattened.jsonld | 192 +- .../api.raml.expanded.jsonld | 236 +- .../api.raml.flattened.jsonld | 162 +- .../raml10/security/api.raml.expanded.jsonld | 206 +- .../raml10/security/api.raml.flattened.jsonld | 128 +- .../api.raml.expanded.jsonld | 94 +- .../api.raml.flattened.jsonld | 74 +- .../api.raml.expanded.jsonld | 30 +- .../api.raml.flattened.jsonld | 20 +- .../api.raml.expanded.jsonld | 270 +- .../api.raml.flattened.jsonld | 100 +- .../api.raml.expanded.jsonld | 174 +- .../api.raml.flattened.jsonld | 130 +- .../trait-fragment/api.raml.expanded.jsonld | 26 +- .../trait-fragment/api.raml.flattened.jsonld | 20 +- .../api.raml.expanded.jsonld | 60 +- .../api.raml.flattened.jsonld | 20 +- .../api.raml.expanded.jsonld | 210 +- .../api.raml.flattened.jsonld | 80 +- .../api.raml.expanded.jsonld | 90 +- .../api.raml.flattened.jsonld | 60 +- .../type-closed-true/api.raml.expanded.jsonld | 56 +- .../api.raml.flattened.jsonld | 40 +- .../api.raml.expanded.jsonld | 232 +- .../api.raml.flattened.jsonld | 170 +- .../type-facets/api.raml.expanded.jsonld | 220 +- .../type-facets/api.raml.flattened.jsonld | 76 +- .../api.raml.expanded.jsonld | 218 +- .../api.raml.flattened.jsonld | 148 +- .../types-dependency/api.raml.expanded.jsonld | 338 +-- .../api.raml.flattened.jsonld | 228 +- .../types-facet/api.raml.expanded.jsonld | 146 +- .../types-facet/api.raml.flattened.jsonld | 96 +- .../raml10/types/api.raml.expanded.jsonld | 310 +- .../raml10/types/api.raml.flattened.jsonld | 234 +- .../types_problems2/api.raml.expanded.jsonld | 100 +- .../types_problems2/api.raml.flattened.jsonld | 104 +- .../unresolved-shape/api.raml.expanded.jsonld | 108 +- .../api.raml.flattened.jsonld | 80 +- .../users_accounts/api.raml.expanded.jsonld | 262 +- .../users_accounts/api.raml.flattened.jsonld | 230 +- .../with_references/api.raml.expanded.jsonld | 376 +-- .../with_references/api.raml.flattened.jsonld | 254 +- .../declared-responses.json.expanded.jsonld | 26 +- .../declared-responses.json.flattened.jsonld | 20 +- .../upanddown/endpoints.json.expanded.jsonld | 12 +- .../upanddown/endpoints.json.flattened.jsonld | 16 +- .../enums/enums.raml.expanded.jsonld | 198 +- .../enums/enums.raml.flattened.jsonld | 136 +- .../upanddown/examples.json.expanded.jsonld | 310 +- .../upanddown/examples.json.flattened.jsonld | 208 +- .../upanddown/externals.json.expanded.jsonld | 222 +- .../upanddown/externals.json.flattened.jsonld | 168 +- .../test/resources/upanddown/file-type.json | 86 +- .../form-data-params.expanded.jsonld | 60 +- .../form-data-params.flattened.jsonld | 36 +- .../formDataParameters.expanded.jsonld | 82 +- .../formDataParameters.flattened.jsonld | 56 +- ...rmdata-parameters-multiple.expanded.jsonld | 72 +- ...mdata-parameters-multiple.flattened.jsonld | 52 +- .../full-example.json.expanded.jsonld | 322 +- .../full-example.json.flattened.jsonld | 212 +- .../grpc/google/any.proto.expanded.jsonld | 12 +- .../grpc/google/any.proto.flattened.jsonld | 16 +- .../grpc/google/api.proto.expanded.jsonld | 168 +- .../grpc/google/api.proto.flattened.jsonld | 208 +- .../google/duration.proto.expanded.jsonld | 12 +- .../google/duration.proto.flattened.jsonld | 16 +- .../grpc/google/empty.proto.expanded.jsonld | 12 +- .../grpc/google/empty.proto.flattened.jsonld | 16 +- .../google/field_mask.proto.expanded.jsonld | 12 +- .../google/field_mask.proto.flattened.jsonld | 16 +- .../source_context.proto.expanded.jsonld | 12 +- .../source_context.proto.flattened.jsonld | 16 +- .../grpc/google/struct.proto.expanded.jsonld | 48 +- .../grpc/google/struct.proto.flattened.jsonld | 64 +- .../google/timestamp.proto.expanded.jsonld | 12 +- .../google/timestamp.proto.flattened.jsonld | 16 +- .../grpc/google/type.proto.expanded.jsonld | 120 +- .../grpc/google/type.proto.flattened.jsonld | 160 +- .../google/wrappers.proto.expanded.jsonld | 108 +- .../google/wrappers.proto.flattened.jsonld | 144 +- .../upanddown/grpc/simple.expanded.jsonld | 108 +- .../upanddown/grpc/simple.flattened.jsonld | 144 +- .../api.resolved.expanded.jsonld | 62 +- .../api.resolved.flattened.jsonld | 52 +- ...parameter-payload-examples.expanded.jsonld | 18 +- ...arameter-payload-examples.flattened.jsonld | 18 +- ...d-to-operations-resolution.expanded.jsonld | 78 +- ...-to-operations-resolution.flattened.jsonld | 60 +- ...oward_definitions.resolved.expanded.jsonld | 12 +- ...ward_definitions.resolved.flattened.jsonld | 16 +- .../oas_response_declaration.expanded.jsonld | 12 +- .../oas_response_declaration.flattened.jsonld | 16 +- ...ponse_declaration.resolved.expanded.jsonld | 12 +- ...onse_declaration.resolved.flattened.jsonld | 16 +- .../orphan_extensions.expanded.jsonld | 78 +- .../orphan_extensions.flattened.jsonld | 84 +- .../upanddown/parameters.json.expanded.jsonld | 138 +- .../parameters.json.flattened.jsonld | 100 +- .../petstore/petstore.expanded.jsonld | 158 +- .../petstore/petstore.flattened.jsonld | 128 +- .../query-string.json.expanded.jsonld | 258 +- .../query-string.json.flattened.jsonld | 184 +- .../schemas-lexical-info.expanded.jsonld | 56 +- .../schemas-lexical-info.flattened.jsonld | 64 +- .../upanddown/raml10/annotations/api.jsonld | 30 +- .../raml10/array-override/api.jsonld | 100 +- .../api.expanded.jsonld | 98 +- .../api.flattened.jsonld | 76 +- .../api.expanded.jsonld | 54 +- .../api.flattened.jsonld | 48 +- .../api.expanded.jsonld | 54 +- .../api.flattened.jsonld | 48 +- .../api.expanded.jsonld | 114 +- .../api.flattened.jsonld | 104 +- ...aml-default-schema-version.expanded.jsonld | 108 +- ...ml-default-schema-version.flattened.jsonld | 80 +- .../raml-reference-draft-7.expanded.jsonld | 112 +- .../raml-reference-draft-7.flattened.jsonld | 80 +- ...-json-schema-in-type-facet.expanded.jsonld | 86 +- ...json-schema-in-type-facet.flattened.jsonld | 60 +- .../union-combinatorial/api.expanded.jsonld | 302 +- .../union-combinatorial/api.flattened.jsonld | 230 +- .../triple-unions.resolved.expanded.jsonld | 72 +- .../triple-unions.resolved.flattened.jsonld | 36 +- ...ity-with-query-string.json.expanded.jsonld | 250 +- ...ty-with-query-string.json.flattened.jsonld | 164 +- .../upanddown/security.json.expanded.jsonld | 180 +- .../upanddown/security.json.flattened.jsonld | 108 +- .../shapes-with-items.expanded.jsonld | 98 +- .../shapes-with-items.flattened.jsonld | 76 +- ...mple_example_type.resolved.expanded.jsonld | 28 +- ...ple_example_type.resolved.flattened.jsonld | 28 +- ...traits-resource-types.json.expanded.jsonld | 210 +- ...raits-resource-types.json.flattened.jsonld | 80 +- .../type-facets.json.expanded.jsonld | 112 +- .../type-facets.json.flattened.jsonld | 76 +- .../types-dependency.json.expanded.jsonld | 410 +-- .../types-dependency.json.flattened.jsonld | 284 +- .../types-facet.json.expanded.jsonld | 120 +- .../types-facet.json.flattened.jsonld | 80 +- .../union_arrays.resolved.expanded.jsonld | 54 +- .../union_arrays.resolved.flattened.jsonld | 30 +- .../with_references_resolved.expanded.jsonld | 182 +- .../with_references_resolved.flattened.jsonld | 116 +- .../api-with-xml-examples/api.expanded.jsonld | 24 +- .../api.flattened.jsonld | 32 +- .../async20/asyncApi-2.1-all.expanded.jsonld | 164 +- .../async20/asyncApi-2.1-all.flattened.jsonld | 120 +- .../async20/asyncApi-2.2-all.expanded.jsonld | 242 +- .../async20/asyncApi-2.2-all.flattened.jsonld | 180 +- .../async20/asyncApi-2.3-all.expanded.jsonld | 242 +- .../async20/asyncApi-2.3-all.flattened.jsonld | 180 +- .../async20/asyncApi-2.4-all.expanded.jsonld | 384 +-- .../async20/asyncApi-2.4-all.flattened.jsonld | 240 +- .../async20/asyncApi-2.5-all.expanded.jsonld | 414 +-- .../async20/asyncApi-2.5-all.flattened.jsonld | 260 +- .../async20/asyncApi-2.6-all.expanded.jsonld | 414 +-- .../async20/asyncApi-2.6-all.flattened.jsonld | 260 +- .../channel-parameters.expanded.jsonld | 52 +- .../channel-parameters.flattened.jsonld | 40 +- .../async-components.expanded.jsonld | 702 ++--- .../async-components.flattened.jsonld | 520 ++-- .../components/message-traits.expanded.jsonld | 56 +- .../message-traits.flattened.jsonld | 40 +- .../operation-traits.expanded.jsonld | 30 +- .../operation-traits.flattened.jsonld | 20 +- .../async20/draft-7-schemas.expanded.jsonld | 494 +-- .../async20/draft-7-schemas.flattened.jsonld | 344 +-- .../draft-7/references.expanded.jsonld | 168 +- .../draft-7/references.flattened.jsonld | 120 +- ...ty-binding-and-annotations.expanded.jsonld | 74 +- ...y-binding-and-annotations.flattened.jsonld | 84 +- .../http-message-binding.expanded.jsonld | 52 +- .../http-message-binding.flattened.jsonld | 40 +- .../http-operation-binding.expanded.jsonld | 52 +- .../http-operation-binding.flattened.jsonld | 40 +- .../kafka-message-binding.expanded.jsonld | 30 +- .../kafka-message-binding.flattened.jsonld | 20 +- .../kafka-operation-binding.expanded.jsonld | 60 +- .../kafka-operation-binding.flattened.jsonld | 40 +- .../async20/message-obj.expanded.jsonld | 104 +- .../async20/message-obj.flattened.jsonld | 76 +- .../mqtt-message-binding.expanded.jsonld | 90 +- .../mqtt-message-binding.flattened.jsonld | 60 +- .../async20/publish-subscribe.expanded.jsonld | 52 +- .../publish-subscribe.flattened.jsonld | 36 +- .../chained-include.expanded.jsonld | 24 +- .../chained-include.flattened.jsonld | 24 +- .../include-root-payload.expanded.jsonld | 6 +- .../include-root-payload.flattened.jsonld | 6 +- ...data-type-fragment-invalid.expanded.jsonld | 6 +- ...ata-type-fragment-invalid.flattened.jsonld | 6 +- .../ref-type-in-library.expanded.jsonld | 54 +- .../ref-type-in-library.flattened.jsonld | 36 +- .../async20/rpc-server.expanded.jsonld | 168 +- .../async20/rpc-server.flattened.jsonld | 120 +- .../async20/security-schemes.expanded.jsonld | 632 ++-- .../async20/security-schemes.flattened.jsonld | 224 +- ...external-ref-message-trait.expanded.jsonld | 36 +- ...xternal-ref-message-trait.flattened.jsonld | 36 +- ...ternal-ref-operation-trait.expanded.jsonld | 18 +- ...ernal-ref-operation-trait.flattened.jsonld | 18 +- .../ws-channel-binding.expanded.jsonld | 104 +- .../ws-channel-binding.flattened.jsonld | 76 +- ...-generated-schema-name-oas.expanded.jsonld | 98 +- ...generated-schema-name-oas.flattened.jsonld | 92 +- ...d-schema-name-with-default.expanded.jsonld | 24 +- ...-schema-name-with-default.flattened.jsonld | 24 +- ...auto-generated-schema-name.expanded.jsonld | 248 +- ...uto-generated-schema-name.flattened.jsonld | 224 +- .../body-link-name.expanded.jsonld | 24 +- .../body-link-name.flattened.jsonld | 24 +- .../dup-name-example-tracking.expanded.jsonld | 44 +- ...dup-name-example-tracking.flattened.jsonld | 44 +- .../dialect-fragment/api.expanded.jsonld | 30 +- .../dialect-fragment/api.flattened.jsonld | 20 +- .../api.resolved.expanded.jsonld | 110 +- .../api.resolved.flattened.jsonld | 80 +- .../vocabulary-fragment/api.expanded.jsonld | 30 +- .../vocabulary-fragment/api.flattened.jsonld | 20 +- ...healthcare_reduced_v1.raml.resolved.jsonld | 150 +- ...healthcare_reduced_v2.raml.resolved.jsonld | 76 +- .../from-declaration/api.expanded.jsonld | 36 +- .../from-declaration/api.flattened.jsonld | 30 +- .../with-library/api.expanded.jsonld | 36 +- .../with-library/api.flattened.jsonld | 30 +- .../api.expanded.jsonld | 84 +- .../api.flattened.jsonld | 48 +- .../api.expanded.jsonld | 36 +- .../api.flattened.jsonld | 30 +- .../japanese/cycle/oas30api.expanded.jsonld | 380 +-- .../japanese/cycle/oas30api.flattened.jsonld | 256 +- .../japanese/cycle/oasapi.expanded.jsonld | 276 +- .../japanese/cycle/oasapi.flattened.jsonld | 188 +- .../japanese/cycle/ramlapi.expanded.jsonld | 390 +-- .../japanese/cycle/ramlapi.flattened.jsonld | 296 +- .../japanese/resolve/oas30api.expanded.jsonld | 582 ++-- .../resolve/oas30api.flattened.jsonld | 316 +- .../japanese/resolve/oasapi.expanded.jsonld | 450 +-- .../japanese/resolve/oasapi.flattened.jsonld | 280 +- .../japanese/resolve/ramlapi.expanded.jsonld | 604 ++-- .../japanese/resolve/ramlapi.flattened.jsonld | 318 +- .../result.expanded.jsonld | 96 +- .../result.flattened.jsonld | 72 +- ...w-source-maps-compact-uris.expanded.jsonld | 26 +- ...-source-maps-compact-uris.flattened.jsonld | 26 +- .../parsed-result.expanded.jsonld | 6 +- .../validations/links/api.expanded.jsonld | 20 +- .../validations/links/api.flattened.jsonld | 20 +- .../validations/nil-type.raml.resolved.jsonld | 30 +- ...with-security-requirements.expanded.jsonld | 150 +- ...ith-security-requirements.flattened.jsonld | 40 +- .../extension-in-components.jsonld | 18 +- .../spec-extensions/extension-in-flow.jsonld | 12 +- .../spec-extensions/extension-in-flows.jsonld | 18 +- .../spec-extensions/extension-in-info.jsonld | 12 +- .../extension-in-server.jsonld | 6 +- .../extension-in-xml-object.jsonld | 12 +- .../optional-scalar-value.expanded.jsonld | 6 +- .../optional-scalar-value.flattened.jsonld | 6 +- .../raml/any-cant-override/case1/api.jsonld | 96 +- .../raml/any-cant-override/case2/api.jsonld | 84 +- ...ion-inheritance-properties.expanded.jsonld | 118 +- ...on-inheritance-properties.flattened.jsonld | 72 +- .../result.expanded.jsonld | 48 +- .../result.flattened.jsonld | 30 +- .../api.expanded.jsonld | 36 +- .../api.flattened.jsonld | 36 +- ...root-mediatype-propagation.expanded.jsonld | 22 +- ...oot-mediatype-propagation.flattened.jsonld | 22 +- .../rt-parameters.raml.resolved.jsonld | 52 +- .../validations/simple-recursion.jsonld | 36 +- ...tracked-from-resource-type.expanded.jsonld | 24 +- ...racked-from-resource-type.flattened.jsonld | 18 +- .../tracked-oas-examples.expanded.jsonld | 70 +- .../tracked-oas-examples.flattened.jsonld | 70 +- .../tracked-oas-param-body.expanded.jsonld | 42 +- .../tracked-oas-param-body.flattened.jsonld | 42 +- .../tracked-to-linked.expanded.jsonld | 50 +- .../tracked-to-linked.flattened.jsonld | 50 +- .../union-type-array.expanded.jsonld | 116 +- .../union-type-array.flattened.jsonld | 46 +- .../union-type-containg-array.expanded.jsonld | 12 +- ...union-type-containg-array.flattened.jsonld | 12 +- 775 files changed, 45018 insertions(+), 45025 deletions(-) diff --git a/amf-cli/shared/src/test/resources/jsonschema/cycled/api-2019.raml.jsonld b/amf-cli/shared/src/test/resources/jsonschema/cycled/api-2019.raml.jsonld index ea73570072..b0297698bc 100644 --- a/amf-cli/shared/src/test/resources/jsonschema/cycled/api-2019.raml.jsonld +++ b/amf-cli/shared/src/test/resources/jsonschema/cycled/api-2019.raml.jsonld @@ -491,6 +491,11 @@ "@id": "#/references/0/declares/shape/Person/source-map/synthesized-field/element_0" } ], + "sourcemaps:declared-element": [ + { + "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0" + } + ], "sourcemaps:lexical": [ { "@id": "#/references/0/declares/shape/Person/source-map/lexical/element_2" @@ -501,11 +506,6 @@ { "@id": "#/references/0/declares/shape/Person/source-map/lexical/element_1" } - ], - "sourcemaps:declared-element": [ - { - "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -617,6 +617,11 @@ "sourcemaps:element": "shacl:closed", "sourcemaps:value": "true" }, + { + "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api-2019.raml#/references/0/declares/shape/Person", + "sourcemaps:value": "" + }, { "@id": "#/references/0/declares/shape/Person/source-map/lexical/element_2", "sourcemaps:element": "shacl:property", @@ -632,21 +637,11 @@ "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api-2019.raml#/references/0/declares/shape/Person", "sourcemaps:value": "[(5,4)-(14,5)]" }, - { - "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api-2019.raml#/references/0/declares/shape/Person", - "sourcemaps:value": "" - }, { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map", "@type": [ "sourcemaps:SourceMap" ], - "sourcemaps:type-property-lexical-info": [ - { - "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "sourcemaps:lexical": [ { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1" @@ -654,6 +649,11 @@ { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "sourcemaps:type-property-lexical-info": [ + { + "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -671,11 +671,6 @@ "@type": [ "sourcemaps:SourceMap" ], - "sourcemaps:type-property-lexical-info": [ - { - "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" - } - ], "sourcemaps:lexical": [ { "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_1" @@ -683,6 +678,11 @@ { "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_0" } + ], + "sourcemaps:type-property-lexical-info": [ + { + "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -695,11 +695,6 @@ "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api-2019.raml#/references/0/declares/shape/Person/property/property/age", "sourcemaps:value": "[(10,8)-(12,9)]" }, - { - "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api-2019.raml#/references/0/declares/shape/Person/property/property/name/scalar/name", - "sourcemaps:value": "[(8,10)-(8,16)]" - }, { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api-2019.raml#/references/0/declares/shape/Person/property/property/name/scalar/name", @@ -711,9 +706,9 @@ "sourcemaps:value": "[(8,10)-(8,26)]" }, { - "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api-2019.raml#/references/0/declares/shape/Person/property/property/age/scalar/age", - "sourcemaps:value": "[(11,10)-(11,16)]" + "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api-2019.raml#/references/0/declares/shape/Person/property/property/name/scalar/name", + "sourcemaps:value": "[(8,10)-(8,16)]" }, { "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_1", @@ -724,6 +719,11 @@ "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_0", "sourcemaps:element": "shacl:datatype", "sourcemaps:value": "[(11,10)-(11,27)]" + }, + { + "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api-2019.raml#/references/0/declares/shape/Person/property/property/age/scalar/age", + "sourcemaps:value": "[(11,10)-(11,16)]" } ], "@context": { diff --git a/amf-cli/shared/src/test/resources/jsonschema/cycled/api.raml.jsonld b/amf-cli/shared/src/test/resources/jsonschema/cycled/api.raml.jsonld index e3667d476f..e714d6ec62 100644 --- a/amf-cli/shared/src/test/resources/jsonschema/cycled/api.raml.jsonld +++ b/amf-cli/shared/src/test/resources/jsonschema/cycled/api.raml.jsonld @@ -491,6 +491,11 @@ "@id": "#/references/0/declares/shape/Person/source-map/synthesized-field/element_0" } ], + "sourcemaps:declared-element": [ + { + "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0" + } + ], "sourcemaps:lexical": [ { "@id": "#/references/0/declares/shape/Person/source-map/lexical/element_2" @@ -501,11 +506,6 @@ { "@id": "#/references/0/declares/shape/Person/source-map/lexical/element_1" } - ], - "sourcemaps:declared-element": [ - { - "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -617,6 +617,11 @@ "sourcemaps:element": "shacl:closed", "sourcemaps:value": "true" }, + { + "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api.raml#/references/0/declares/shape/Person", + "sourcemaps:value": "" + }, { "@id": "#/references/0/declares/shape/Person/source-map/lexical/element_2", "sourcemaps:element": "shacl:property", @@ -632,21 +637,11 @@ "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api.raml#/references/0/declares/shape/Person", "sourcemaps:value": "[(5,4)-(14,5)]" }, - { - "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api.raml#/references/0/declares/shape/Person", - "sourcemaps:value": "" - }, { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map", "@type": [ "sourcemaps:SourceMap" ], - "sourcemaps:type-property-lexical-info": [ - { - "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "sourcemaps:lexical": [ { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1" @@ -654,6 +649,11 @@ { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "sourcemaps:type-property-lexical-info": [ + { + "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -671,11 +671,6 @@ "@type": [ "sourcemaps:SourceMap" ], - "sourcemaps:type-property-lexical-info": [ - { - "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" - } - ], "sourcemaps:lexical": [ { "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_1" @@ -683,6 +678,11 @@ { "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_0" } + ], + "sourcemaps:type-property-lexical-info": [ + { + "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -695,11 +695,6 @@ "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api.raml#/references/0/declares/shape/Person/property/property/age", "sourcemaps:value": "[(10,8)-(12,9)]" }, - { - "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api.raml#/references/0/declares/shape/Person/property/property/name/scalar/name", - "sourcemaps:value": "[(8,10)-(8,16)]" - }, { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api.raml#/references/0/declares/shape/Person/property/property/name/scalar/name", @@ -711,9 +706,9 @@ "sourcemaps:value": "[(8,10)-(8,26)]" }, { - "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api.raml#/references/0/declares/shape/Person/property/property/age/scalar/age", - "sourcemaps:value": "[(11,10)-(11,16)]" + "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api.raml#/references/0/declares/shape/Person/property/property/name/scalar/name", + "sourcemaps:value": "[(8,10)-(8,16)]" }, { "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_1", @@ -724,6 +719,11 @@ "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_0", "sourcemaps:element": "shacl:datatype", "sourcemaps:value": "[(11,10)-(11,27)]" + }, + { + "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/api.raml#/references/0/declares/shape/Person/property/property/age/scalar/age", + "sourcemaps:value": "[(11,10)-(11,16)]" } ], "@context": { diff --git a/amf-cli/shared/src/test/resources/jsonschema/cycled/oas20-2019.yaml.jsonld b/amf-cli/shared/src/test/resources/jsonschema/cycled/oas20-2019.yaml.jsonld index d7a2b2df24..3252b7e49a 100644 --- a/amf-cli/shared/src/test/resources/jsonschema/cycled/oas20-2019.yaml.jsonld +++ b/amf-cli/shared/src/test/resources/jsonschema/cycled/oas20-2019.yaml.jsonld @@ -492,6 +492,11 @@ "@id": "#/references/0/declares/shape/Person/source-map/synthesized-field/element_0" } ], + "sourcemaps:declared-element": [ + { + "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0" + } + ], "sourcemaps:lexical": [ { "@id": "#/references/0/declares/shape/Person/source-map/lexical/element_2" @@ -502,11 +507,6 @@ { "@id": "#/references/0/declares/shape/Person/source-map/lexical/element_1" } - ], - "sourcemaps:declared-element": [ - { - "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -618,6 +618,11 @@ "sourcemaps:element": "shacl:closed", "sourcemaps:value": "true" }, + { + "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20-2019.yaml#/references/0/declares/shape/Person", + "sourcemaps:value": "" + }, { "@id": "#/references/0/declares/shape/Person/source-map/lexical/element_2", "sourcemaps:element": "shacl:property", @@ -633,21 +638,11 @@ "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20-2019.yaml#/references/0/declares/shape/Person", "sourcemaps:value": "[(5,4)-(14,5)]" }, - { - "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20-2019.yaml#/references/0/declares/shape/Person", - "sourcemaps:value": "" - }, { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map", "@type": [ "sourcemaps:SourceMap" ], - "sourcemaps:type-property-lexical-info": [ - { - "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "sourcemaps:lexical": [ { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1" @@ -655,6 +650,11 @@ { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "sourcemaps:type-property-lexical-info": [ + { + "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -672,11 +672,6 @@ "@type": [ "sourcemaps:SourceMap" ], - "sourcemaps:type-property-lexical-info": [ - { - "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" - } - ], "sourcemaps:lexical": [ { "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_1" @@ -684,6 +679,11 @@ { "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_0" } + ], + "sourcemaps:type-property-lexical-info": [ + { + "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -696,11 +696,6 @@ "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20-2019.yaml#/references/0/declares/shape/Person/property/property/age", "sourcemaps:value": "[(10,8)-(12,9)]" }, - { - "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20-2019.yaml#/references/0/declares/shape/Person/property/property/name/scalar/name", - "sourcemaps:value": "[(8,10)-(8,16)]" - }, { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20-2019.yaml#/references/0/declares/shape/Person/property/property/name/scalar/name", @@ -712,9 +707,9 @@ "sourcemaps:value": "[(8,10)-(8,26)]" }, { - "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20-2019.yaml#/references/0/declares/shape/Person/property/property/age/scalar/age", - "sourcemaps:value": "[(11,10)-(11,16)]" + "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20-2019.yaml#/references/0/declares/shape/Person/property/property/name/scalar/name", + "sourcemaps:value": "[(8,10)-(8,16)]" }, { "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_1", @@ -725,6 +720,11 @@ "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_0", "sourcemaps:element": "shacl:datatype", "sourcemaps:value": "[(11,10)-(11,27)]" + }, + { + "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20-2019.yaml#/references/0/declares/shape/Person/property/property/age/scalar/age", + "sourcemaps:value": "[(11,10)-(11,16)]" } ], "@context": { diff --git a/amf-cli/shared/src/test/resources/jsonschema/cycled/oas20.yaml.jsonld b/amf-cli/shared/src/test/resources/jsonschema/cycled/oas20.yaml.jsonld index 0da6929b79..df4e6442ce 100644 --- a/amf-cli/shared/src/test/resources/jsonschema/cycled/oas20.yaml.jsonld +++ b/amf-cli/shared/src/test/resources/jsonschema/cycled/oas20.yaml.jsonld @@ -492,6 +492,11 @@ "@id": "#/references/0/declares/shape/Person/source-map/synthesized-field/element_0" } ], + "sourcemaps:declared-element": [ + { + "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0" + } + ], "sourcemaps:lexical": [ { "@id": "#/references/0/declares/shape/Person/source-map/lexical/element_2" @@ -502,11 +507,6 @@ { "@id": "#/references/0/declares/shape/Person/source-map/lexical/element_1" } - ], - "sourcemaps:declared-element": [ - { - "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -618,6 +618,11 @@ "sourcemaps:element": "shacl:closed", "sourcemaps:value": "true" }, + { + "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20.yaml#/references/0/declares/shape/Person", + "sourcemaps:value": "" + }, { "@id": "#/references/0/declares/shape/Person/source-map/lexical/element_2", "sourcemaps:element": "shacl:property", @@ -633,21 +638,11 @@ "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20.yaml#/references/0/declares/shape/Person", "sourcemaps:value": "[(5,4)-(14,5)]" }, - { - "@id": "#/references/0/declares/shape/Person/source-map/declared-element/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20.yaml#/references/0/declares/shape/Person", - "sourcemaps:value": "" - }, { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map", "@type": [ "sourcemaps:SourceMap" ], - "sourcemaps:type-property-lexical-info": [ - { - "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "sourcemaps:lexical": [ { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1" @@ -655,6 +650,11 @@ { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "sourcemaps:type-property-lexical-info": [ + { + "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -672,11 +672,6 @@ "@type": [ "sourcemaps:SourceMap" ], - "sourcemaps:type-property-lexical-info": [ - { - "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" - } - ], "sourcemaps:lexical": [ { "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_1" @@ -684,6 +679,11 @@ { "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_0" } + ], + "sourcemaps:type-property-lexical-info": [ + { + "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -696,11 +696,6 @@ "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20.yaml#/references/0/declares/shape/Person/property/property/age", "sourcemaps:value": "[(10,8)-(12,9)]" }, - { - "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20.yaml#/references/0/declares/shape/Person/property/property/name/scalar/name", - "sourcemaps:value": "[(8,10)-(8,16)]" - }, { "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20.yaml#/references/0/declares/shape/Person/property/property/name/scalar/name", @@ -712,9 +707,9 @@ "sourcemaps:value": "[(8,10)-(8,26)]" }, { - "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20.yaml#/references/0/declares/shape/Person/property/property/age/scalar/age", - "sourcemaps:value": "[(11,10)-(11,16)]" + "@id": "#/references/0/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20.yaml#/references/0/declares/shape/Person/property/property/name/scalar/name", + "sourcemaps:value": "[(8,10)-(8,16)]" }, { "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_1", @@ -725,6 +720,11 @@ "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_0", "sourcemaps:element": "shacl:datatype", "sourcemaps:value": "[(11,10)-(11,27)]" + }, + { + "@id": "#/references/0/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/apis/oas20.yaml#/references/0/declares/shape/Person/property/property/age/scalar/age", + "sourcemaps:value": "[(11,10)-(11,16)]" } ], "@context": { diff --git a/amf-cli/shared/src/test/resources/jsonschema/cycled/schema-base.json.jsonld b/amf-cli/shared/src/test/resources/jsonschema/cycled/schema-base.json.jsonld index e9de650535..eb0437096b 100644 --- a/amf-cli/shared/src/test/resources/jsonschema/cycled/schema-base.json.jsonld +++ b/amf-cli/shared/src/test/resources/jsonschema/cycled/schema-base.json.jsonld @@ -117,6 +117,11 @@ "@id": "#/shape/schema/source-map/synthesized-field/element_0" } ], + "sourcemaps:type-property-lexical-info": [ + { + "@id": "#/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "sourcemaps:lexical": [ { "@id": "#/shape/schema/source-map/lexical/element_1" @@ -124,11 +129,6 @@ { "@id": "#/shape/schema/source-map/lexical/element_0" } - ], - "sourcemaps:type-property-lexical-info": [ - { - "@id": "#/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -240,6 +240,11 @@ "sourcemaps:element": "shacl:closed", "sourcemaps:value": "true" }, + { + "@id": "#/shape/schema/source-map/type-property-lexical-info/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/schemas/schema-base.json#/shape/schema", + "sourcemaps:value": "[(3,2)-(3,8)]" + }, { "@id": "#/shape/schema/source-map/lexical/element_1", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/schemas/schema-base.json#/shape/schema", @@ -250,21 +255,11 @@ "sourcemaps:element": "shacl:property", "sourcemaps:value": "[(4,2)-(14,3)]" }, - { - "@id": "#/shape/schema/source-map/type-property-lexical-info/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/schemas/schema-base.json#/shape/schema", - "sourcemaps:value": "[(3,2)-(3,8)]" - }, { "@id": "#/shape/schema/property/property/street_address/scalar/street_address/source-map", "@type": [ "sourcemaps:SourceMap" ], - "sourcemaps:type-property-lexical-info": [ - { - "@id": "#/shape/schema/property/property/street_address/scalar/street_address/source-map/type-property-lexical-info/element_0" - } - ], "sourcemaps:lexical": [ { "@id": "#/shape/schema/property/property/street_address/scalar/street_address/source-map/lexical/element_1" @@ -272,6 +267,11 @@ { "@id": "#/shape/schema/property/property/street_address/scalar/street_address/source-map/lexical/element_0" } + ], + "sourcemaps:type-property-lexical-info": [ + { + "@id": "#/shape/schema/property/property/street_address/scalar/street_address/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -289,11 +289,6 @@ "@type": [ "sourcemaps:SourceMap" ], - "sourcemaps:type-property-lexical-info": [ - { - "@id": "#/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0" - } - ], "sourcemaps:lexical": [ { "@id": "#/shape/schema/property/property/city/scalar/city/source-map/lexical/element_1" @@ -301,6 +296,11 @@ { "@id": "#/shape/schema/property/property/city/scalar/city/source-map/lexical/element_0" } + ], + "sourcemaps:type-property-lexical-info": [ + { + "@id": "#/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -339,11 +339,6 @@ "sourcemaps:element": "shacl:minCount", "sourcemaps:value": "[(18,4)-(18,11)]" }, - { - "@id": "#/shape/schema/property/property/street_address/scalar/street_address/source-map/type-property-lexical-info/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/schemas/schema-base.json#/shape/schema/property/property/street_address/scalar/street_address", - "sourcemaps:value": "[(6,6)-(6,12)]" - }, { "@id": "#/shape/schema/property/property/street_address/scalar/street_address/source-map/lexical/element_1", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/schemas/schema-base.json#/shape/schema/property/property/street_address/scalar/street_address", @@ -355,9 +350,9 @@ "sourcemaps:value": "[(6,6)-(6,22)]" }, { - "@id": "#/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/schemas/schema-base.json#/shape/schema/property/property/city/scalar/city", - "sourcemaps:value": "[(9,6)-(9,12)]" + "@id": "#/shape/schema/property/property/street_address/scalar/street_address/source-map/type-property-lexical-info/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/schemas/schema-base.json#/shape/schema/property/property/street_address/scalar/street_address", + "sourcemaps:value": "[(6,6)-(6,12)]" }, { "@id": "#/shape/schema/property/property/city/scalar/city/source-map/lexical/element_1", @@ -369,6 +364,11 @@ "sourcemaps:element": "shacl:datatype", "sourcemaps:value": "[(9,6)-(9,22)]" }, + { + "@id": "#/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/schemas/schema-base.json#/shape/schema/property/property/city/scalar/city", + "sourcemaps:value": "[(9,6)-(9,12)]" + }, { "@id": "#/shape/schema/property/property/state/any/default-any/source-map/synthesized-field/element_0", "sourcemaps:element": "doc:link-target", @@ -535,14 +535,14 @@ "@id": "#/references/0/shape/schema/source-map/synthesized-field/element_0" } ], - "sourcemaps:lexical": [ + "sourcemaps:type-property-lexical-info": [ { - "@id": "#/references/0/shape/schema/source-map/lexical/element_0" + "@id": "#/references/0/shape/schema/source-map/type-property-lexical-info/element_0" } ], - "sourcemaps:type-property-lexical-info": [ + "sourcemaps:lexical": [ { - "@id": "#/references/0/shape/schema/source-map/type-property-lexical-info/element_0" + "@id": "#/references/0/shape/schema/source-map/lexical/element_0" } ] }, @@ -561,11 +561,6 @@ "@type": [ "sourcemaps:SourceMap" ], - "sourcemaps:declared-element": [ - { - "@id": "#/references/0/declares/any/state/source-map/declared-element/element_0" - } - ], "sourcemaps:lexical": [ { "@id": "#/references/0/declares/any/state/source-map/lexical/element_2" @@ -576,6 +571,11 @@ { "@id": "#/references/0/declares/any/state/source-map/lexical/element_1" } + ], + "sourcemaps:declared-element": [ + { + "@id": "#/references/0/declares/any/state/source-map/declared-element/element_0" + } ] }, { @@ -604,14 +604,14 @@ "sourcemaps:value": "true" }, { - "@id": "#/references/0/shape/schema/source-map/lexical/element_0", + "@id": "#/references/0/shape/schema/source-map/type-property-lexical-info/element_0", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/schemas/schema-base.json#/references/0/shape/schema", - "sourcemaps:value": "[(1,0)-(12,1)]" + "sourcemaps:value": "[(3,2)-(3,8)]" }, { - "@id": "#/references/0/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "#/references/0/shape/schema/source-map/lexical/element_0", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/schemas/schema-base.json#/references/0/shape/schema", - "sourcemaps:value": "[(3,2)-(3,8)]" + "sourcemaps:value": "[(1,0)-(12,1)]" }, { "@id": "#/references/0/declares/any/state/in/scalar_1", @@ -653,11 +653,6 @@ } ] }, - { - "@id": "#/references/0/declares/any/state/source-map/declared-element/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/schemas/schema-base.json#/references/0/declares/any/state", - "sourcemaps:value": "" - }, { "@id": "#/references/0/declares/any/state/source-map/lexical/element_2", "sourcemaps:element": "shacl:name", @@ -673,6 +668,11 @@ "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/schemas/schema-base.json#/references/0/declares/any/state", "sourcemaps:value": "[(5,4)-(10,5)]" }, + { + "@id": "#/references/0/declares/any/state/source-map/declared-element/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/jsonschema/schemas/schema-base.json#/references/0/declares/any/state", + "sourcemaps:value": "" + }, { "@id": "#/references/0/declares/any/state/in/scalar_1/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.expanded.jsonld b/amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.expanded.jsonld index c80aeac6b9..eb77f2f689 100644 --- a/amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.expanded.jsonld @@ -173,21 +173,6 @@ "@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/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray" - } - ], - "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/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray/source-map/lexical/element_3", @@ -242,6 +227,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray/source-map/type-property-lexical-info/element_0", @@ -323,9 +323,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node" @@ -333,14 +333,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,10)-(9,18)]" + "@value": "Person" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node" @@ -348,7 +348,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "Person" + "@value": "[(9,10)-(9,18)]" } ] } @@ -373,21 +373,6 @@ "@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/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression" - } - ], - "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/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/source-map/lexical/element_2", @@ -429,6 +414,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/source-map/type-property-lexical-info/element_0", @@ -635,6 +635,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person" + } + ], + "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/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person/source-map/lexical/element_2", @@ -675,21 +690,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.flattened.jsonld b/amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.flattened.jsonld index 071e128385..504c4762da 100644 --- a/amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.flattened.jsonld @@ -163,11 +163,6 @@ "@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/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray/source-map/lexical/element_3" @@ -182,6 +177,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray/source-map/type-property-lexical-info/element_0" @@ -214,11 +214,6 @@ "@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/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/source-map/lexical/element_2" @@ -230,6 +225,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/source-map/type-property-lexical-info/element_0" @@ -270,6 +270,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person/source-map/lexical/element_2" @@ -280,11 +285,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -303,11 +303,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", @@ -328,6 +323,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(8,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray", @@ -346,22 +346,17 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node/source-map/type-expression/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node/source-map/lexical/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", @@ -377,6 +372,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression", "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(11,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression", @@ -430,6 +430,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -445,11 +450,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person", "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(13,18)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myArray/shape/items/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -471,14 +471,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,10)-(9,18)]" + "http://a.ml/vocabularies/document-source-maps#value": "Person" }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/array/myTypeExpression/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "Person" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,10)-(9,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/base-type-array.raml#/declares/shape/Person/property/property/name/scalar/name/source-map", diff --git a/amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.expanded.jsonld b/amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.expanded.jsonld index 3cc8eacfca..d3217b0b0a 100644 --- a/amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.expanded.jsonld @@ -187,9 +187,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items" @@ -197,14 +197,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "Person[]" + "@value": "[(6,4)-(7,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items" @@ -212,7 +212,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,4)-(7,0)]" + "@value": "Person[]" } ] } @@ -237,21 +237,6 @@ "@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/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray" - } - ], - "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/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/source-map/lexical/element_3", @@ -306,6 +291,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/source-map/type-property-lexical-info/element_0", @@ -423,9 +423,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array" @@ -433,14 +433,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "Person[]" + "@value": "[(9,10)-(9,20)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array" @@ -448,7 +448,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,10)-(9,20)]" + "@value": "Person[]" } ] } @@ -473,21 +473,6 @@ "@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/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression" - } - ], - "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/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/source-map/lexical/element_2", @@ -529,6 +514,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/source-map/type-property-lexical-info/element_0", @@ -735,6 +735,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person" + } + ], + "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/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person/source-map/lexical/element_2", @@ -775,21 +790,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.flattened.jsonld b/amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.flattened.jsonld index 29c38c1022..ead0071643 100644 --- a/amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.flattened.jsonld @@ -162,11 +162,6 @@ "@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/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/source-map/lexical/element_3" @@ -181,6 +176,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/source-map/type-property-lexical-info/element_0" @@ -210,11 +210,6 @@ "@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/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/source-map/lexical/element_2" @@ -226,6 +221,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/source-map/type-property-lexical-info/element_0" @@ -266,6 +266,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person/source-map/lexical/element_2" @@ -276,11 +281,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -309,22 +309,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", @@ -345,6 +340,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(8,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray", @@ -376,22 +376,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", @@ -407,6 +402,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression", "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(11,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression", @@ -460,6 +460,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -475,11 +480,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person", "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(13,18)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items/shape/default-node/source-map", "@type": [ @@ -500,14 +500,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items", - "http://a.ml/vocabularies/document-source-maps#value": "Person[]" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(7,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myArray/array/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(7,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "Person[]" }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array/shape/default-node/source-map", @@ -529,14 +529,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array", - "http://a.ml/vocabularies/document-source-maps#value": "Person[]" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,10)-(9,20)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/array/myTypeExpression/array/default-array", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,10)-(9,20)]" + "http://a.ml/vocabularies/document-source-maps#value": "Person[]" }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/matrix-type-array.raml#/declares/shape/Person/property/property/name/scalar/name/source-map", diff --git a/amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.expanded.jsonld b/amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.expanded.jsonld index 47fa77fae2..afba9f15a3 100644 --- a/amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.expanded.jsonld @@ -256,9 +256,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array" @@ -266,14 +266,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "Person[]" + "@value": "[(5,4)-(6,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array" @@ -281,7 +281,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,4)-(6,0)]" + "@value": "Person[]" } ] } @@ -296,21 +296,6 @@ "@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/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression" - } - ], - "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/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/source-map/lexical/element_4", @@ -378,6 +363,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/source-map/type-property-lexical-info/element_0", @@ -584,6 +584,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person" + } + ], + "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/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person/source-map/lexical/element_2", @@ -624,21 +639,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -831,6 +831,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson" + } + ], + "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/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson/source-map/lexical/element_2", @@ -871,21 +886,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.flattened.jsonld b/amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.flattened.jsonld index eb1e309ad3..a97365f410 100644 --- a/amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.flattened.jsonld @@ -188,11 +188,6 @@ "@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/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/source-map/lexical/element_4" @@ -210,6 +205,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/source-map/lexical/element_3" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/source-map/type-property-lexical-info/element_0" @@ -250,6 +250,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person/source-map/lexical/element_2" @@ -260,11 +265,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -301,6 +301,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson/source-map/lexical/element_2" @@ -311,11 +316,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson/source-map/declared-element/element_0" - } ] }, { @@ -360,22 +360,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -401,6 +396,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(7,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression", @@ -454,6 +454,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -469,11 +474,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person", "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(11,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson/property/property/anotherName/scalar/anotherName", "@type": [ @@ -522,6 +522,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -537,11 +542,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson", "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(13,25)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/AnotherPerson", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/shape/items/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -572,14 +572,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array", - "http://a.ml/vocabularies/document-source-maps#value": "Person[]" + "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(6,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/array/myTypeExpression/inherits/array/default-array", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(6,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "Person[]" }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/type-expression-with-inheritance.raml#/declares/shape/Person/property/property/name/scalar/name/source-map", diff --git a/amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.expanded.jsonld b/amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.expanded.jsonld index 848ad08f49..47a08c1aad 100644 --- a/amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.expanded.jsonld @@ -231,9 +231,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items" @@ -241,14 +241,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "Person | AnotherPerson" + "@value": "[(6,4)-(7,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items" @@ -256,7 +256,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,4)-(7,0)]" + "@value": "Person | AnotherPerson" } ] } @@ -281,21 +281,6 @@ "@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/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray" - } - ], - "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/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/source-map/lexical/element_3", @@ -350,6 +335,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/source-map/type-property-lexical-info/element_0", @@ -556,9 +556,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array" @@ -566,14 +566,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "(Person | AnotherPerson)[]" + "@value": "[(9,4)-(10,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array" @@ -581,7 +581,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,4)-(10,0)]" + "@value": "(Person | AnotherPerson)[]" } ] } @@ -596,21 +596,6 @@ "@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/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression" - } - ], - "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/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/source-map/lexical/element_3", @@ -665,6 +650,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/source-map/type-property-lexical-info/element_0", @@ -871,6 +871,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person" + } + ], + "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/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person/source-map/lexical/element_2", @@ -911,21 +926,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1118,6 +1118,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson" + } + ], + "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/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson/source-map/lexical/element_2", @@ -1158,21 +1173,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.flattened.jsonld b/amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.flattened.jsonld index 5e1fbc3d95..bf32ce90ac 100644 --- a/amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.flattened.jsonld @@ -192,11 +192,6 @@ "@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/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/source-map/lexical/element_3" @@ -211,6 +206,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/source-map/type-property-lexical-info/element_0" @@ -240,11 +240,6 @@ "@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/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/source-map/lexical/element_3" @@ -259,6 +254,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/source-map/type-property-lexical-info/element_0" @@ -299,6 +299,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person/source-map/lexical/element_2" @@ -309,11 +314,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -350,6 +350,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson/source-map/lexical/element_2" @@ -360,11 +365,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson/source-map/declared-element/element_0" - } ] }, { @@ -414,22 +414,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", @@ -450,6 +445,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(8,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray", @@ -483,22 +483,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -519,6 +514,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression", "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(11,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression", @@ -572,6 +572,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -587,11 +592,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person", "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson/property/property/anotherName/scalar/anotherName", "@type": [ @@ -640,6 +640,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -655,11 +660,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson", "http://a.ml/vocabularies/document-source-maps#value": "[(14,2)-(16,25)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/AnotherPerson", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items/anyOf/shape/default-node/source-map", "@type": [ @@ -693,14 +693,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items", - "http://a.ml/vocabularies/document-source-maps#value": "Person | AnotherPerson" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(7,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myArray/union/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(7,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "Person | AnotherPerson" }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array/union/default-union/anyOf/shape/default-node", @@ -756,14 +756,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array", - "http://a.ml/vocabularies/document-source-maps#value": "(Person | AnotherPerson)[]" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(10,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/array/myTypeExpression/inherits/array/default-array", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(10,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "(Person | AnotherPerson)[]" }, { "@id": "file://amf-cli/shared/src/test/resources/parser/array-type-expressions/union-type-array.raml#/declares/shape/Person/property/property/name/scalar/name/source-map", diff --git a/amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.expanded.jsonld b/amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.expanded.jsonld index b05341ec53..906105bd11 100644 --- a/amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.expanded.jsonld @@ -108,21 +108,6 @@ "@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/parser/union-expressions/child-declaration-links.raml#/declares/scalar/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/A" - } - ], - "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/parser/union-expressions/child-declaration-links.raml#/declares/scalar/A/source-map/lexical/element_2", @@ -163,6 +148,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/A" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -192,21 +192,6 @@ "@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/parser/union-expressions/child-declaration-links.raml#/declares/scalar/B/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/B" - } - ], - "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/parser/union-expressions/child-declaration-links.raml#/declares/scalar/B/source-map/lexical/element_2", @@ -247,6 +232,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/B/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/B" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -389,9 +389,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C" @@ -399,35 +399,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(7,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(7,0)]" + "@value": "[(6,2)-(6,3)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,3)]" + "@value": "" } ] } @@ -588,9 +588,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D" @@ -598,35 +598,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(7,2)-(7,10)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(7,10)]" + "@value": "[(7,2)-(7,3)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(7,3)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.flattened.jsonld b/amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.flattened.jsonld index 3c8a7107e4..2c4834c83a 100644 --- a/amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.flattened.jsonld @@ -172,11 +172,6 @@ "@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/parser/union-expressions/child-declaration-links.raml#/declares/scalar/A/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/A/source-map/lexical/element_2" @@ -187,6 +182,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/A/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/A/source-map/declared-element/element_0" + } ] }, { @@ -194,11 +194,6 @@ "@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/parser/union-expressions/child-declaration-links.raml#/declares/scalar/B/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/B/source-map/lexical/element_2" @@ -209,6 +204,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/B/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/B/source-map/declared-element/element_0" + } ] }, { @@ -258,11 +258,6 @@ "@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/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/lexical/element_1" @@ -271,6 +266,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-expression": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/type-expression/element_0" @@ -324,11 +324,6 @@ "@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/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/lexical/element_1" @@ -337,17 +332,17 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-expression": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/A", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/A/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -364,8 +359,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(5,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/B/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/B", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/A", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -383,6 +378,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/B", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(6,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/B/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/scalar/B", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/anyOf/scalar/default-scalar/source-map", "@type": [ @@ -415,11 +415,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C", @@ -430,6 +425,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/C", @@ -467,11 +467,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D", @@ -482,6 +477,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,3)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/child-declaration-links.raml#/declares/union/D", diff --git a/amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.expanded.jsonld b/amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.expanded.jsonld index 15ae0f28f8..38ac70c31c 100644 --- a/amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.expanded.jsonld @@ -108,21 +108,6 @@ "@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/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A" - } - ], - "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/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A/source-map/lexical/element_2", @@ -163,6 +148,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -265,9 +265,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B" @@ -275,35 +275,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,1)-(6,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,1)-(6,0)]" + "@value": "[(5,1)-(5,2)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,1)-(5,2)]" + "@value": "" } ] } @@ -464,9 +464,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion" @@ -474,35 +474,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,1)-(6,19)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,1)-(6,19)]" + "@value": "[(6,1)-(6,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,1)-(6,12)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.flattened.jsonld b/amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.flattened.jsonld index 0dff162840..3256b95fcb 100644 --- a/amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.flattened.jsonld @@ -148,11 +148,6 @@ "@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/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A/source-map/lexical/element_2" @@ -163,6 +158,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A/source-map/declared-element/element_0" + } ] }, { @@ -210,11 +210,6 @@ "@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/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/lexical/element_1" @@ -223,6 +218,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-expression": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/type-expression/element_0" @@ -276,11 +276,6 @@ "@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/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/lexical/element_1" @@ -289,17 +284,17 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-expression": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -315,6 +310,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A", "http://a.ml/vocabularies/document-source-maps#value": "[(4,1)-(5,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/scalar/A", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/anyOf/scalar/default-scalar/source-map", "@type": [ @@ -337,11 +337,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B", @@ -352,6 +347,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(5,1)-(5,2)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/B", @@ -389,11 +389,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion", @@ -404,6 +399,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,1)-(6,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-expressions/union-right-declaration.raml#/declares/union/tripleUnion", diff --git a/amf-cli/shared/src/test/resources/parser/union-with-lib/api.expanded.jsonld b/amf-cli/shared/src/test/resources/parser/union-with-lib/api.expanded.jsonld index 1d31242c8b..febdfd2022 100644 --- a/amf-cli/shared/src/test/resources/parser/union-with-lib/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/parser/union-with-lib/api.expanded.jsonld @@ -138,21 +138,6 @@ "@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/parser/union-with-lib/api.raml#/references/0/declares/scalar/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/scalar/A" - } - ], - "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/parser/union-with-lib/api.raml#/references/0/declares/scalar/A/source-map/lexical/element_2", @@ -193,6 +178,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/scalar/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/scalar/A" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -295,9 +295,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B" @@ -305,35 +305,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(4,2)-(4,20)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(4,20)]" + "@value": "[(4,2)-(4,3)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(4,3)]" + "@value": "" } ] } @@ -559,9 +559,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion" @@ -569,35 +569,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,1)-(6,27)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,1)-(6,27)]" + "@value": "[(6,1)-(6,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,1)-(6,12)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/parser/union-with-lib/api.flattened.jsonld b/amf-cli/shared/src/test/resources/parser/union-with-lib/api.flattened.jsonld index f86ad2f8c3..b30b487601 100644 --- a/amf-cli/shared/src/test/resources/parser/union-with-lib/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/parser/union-with-lib/api.flattened.jsonld @@ -253,11 +253,6 @@ "@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/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/lexical/element_1" @@ -266,6 +261,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-expression": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/type-expression/element_0" @@ -282,11 +282,6 @@ "@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/parser/union-with-lib/api.raml#/references/0/declares/scalar/A/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/scalar/A/source-map/lexical/element_2" @@ -297,6 +292,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/scalar/A/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/scalar/A/source-map/declared-element/element_0" + } ] }, { @@ -344,11 +344,6 @@ "@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/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/lexical/element_1" @@ -357,6 +352,11 @@ "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-expression": [ { "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/type-expression/element_0" @@ -405,11 +405,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion", @@ -421,14 +416,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(6,1)-(6,12)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion", - "http://a.ml/vocabularies/document-source-maps#value": "lib.A | lib.B" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/scalar/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/scalar/A", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion/source-map/type-expression/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/declares/union/tripleUnion", + "http://a.ml/vocabularies/document-source-maps#value": "lib.A | lib.B" }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/scalar/A/source-map/lexical/element_2", @@ -445,6 +440,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/scalar/A", "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(4,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/scalar/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/scalar/A", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/anyOf/scalar/default-scalar/source-map", "@type": [ @@ -467,11 +467,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B", @@ -482,6 +477,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,3)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/parser/union-with-lib/api.raml#/references/0/declares/union/B", diff --git a/amf-cli/shared/src/test/resources/poc/inheritance-item.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/inheritance-item.resolved.jsonld index 0159a966ee..d6db2b2618 100644 --- a/amf-cli/shared/src/test/resources/poc/inheritance-item.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/inheritance-item.resolved.jsonld @@ -155,6 +155,11 @@ "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/source-map/lexical/element_1" @@ -162,11 +167,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/source-map/declared-element/element_0" - } ] }, { @@ -203,22 +203,19 @@ "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -226,9 +223,12 @@ "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/resolved-link-target/element_0" + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/lexical/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/lexical/element_0" } ] }, @@ -283,6 +283,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1", @@ -293,11 +298,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,4)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/property/property/Content/scalar/Content", "@type": [ @@ -346,25 +346,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items/property/property/item_property/any/item_property/inherits/shape/default-node" - }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2", "http://a.ml/vocabularies/document-source-maps#value": "[(16,4)-(16,8)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(19,20)]" + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items/property/property/item_property/any/item_property/inherits/shape/default-node" }, { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(15,4)]" + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2" }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/declared-element/element_0", @@ -372,9 +367,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/resolved-link-target/element_0", + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2" + "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(19,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(15,4)]" }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items", @@ -403,14 +403,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/source-map/inherited-shapes/element_0" + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/source-map/inherited-shapes/element_0" } ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ @@ -444,11 +444,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/property/property/Content/scalar/Content/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/property/property/Content/scalar/Content/source-map/lexical/element_1" @@ -456,6 +451,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/property/property/Content/scalar/Content/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/property/property/Content/scalar/Content/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -512,37 +512,32 @@ "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items/source-map/inherited-shapes/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items/source-map/inherited-shapes/element_0" + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/source-map/inherited-shapes/element_0", + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/inherits/array/default-array" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(15,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/source-map/inherited-shapes/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(15,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/inherits/array/default-array" }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1", "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(10,12)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/property/property/Content/scalar/Content/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/property/property/Content/scalar/Content", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/property/property/Content/scalar/Content/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/property/property/Content/scalar/Content", @@ -553,6 +548,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/property/property/Content/scalar/Content/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T2/property/property/Content/scalar/Content", + "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items/property/property/item_property/source-map", "@type": [ @@ -581,14 +581,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items/source-map/inherited-shapes/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(15,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/inherits/array/default-array/shape/default-node" }, { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items/source-map/inherited-shapes/element_0", + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/inherits/array/default-array/shape/default-node" + "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(15,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-item.raml#/declares/shape/T1/property/property/t1prop1/array/t1prop1/shape/items/property/property/item_property/source-map/synthesized-field/element_1", diff --git a/amf-cli/shared/src/test/resources/poc/inheritance-nested-object.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/inheritance-nested-object.resolved.jsonld index 83e652c52b..bcbde0dc77 100644 --- a/amf-cli/shared/src/test/resources/poc/inheritance-nested-object.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/inheritance-nested-object.resolved.jsonld @@ -202,6 +202,16 @@ "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/source-map/type-property-lexical-info/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/source-map/inherited-shapes/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/source-map/declared-element/element_0" @@ -214,16 +224,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/source-map/type-property-lexical-info/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/source-map/inherited-shapes/element_0" - } ] }, { @@ -236,22 +236,19 @@ "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -259,9 +256,12 @@ "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/resolved-link-target/element_0" + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/lexical/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/lexical/element_0" } ] }, @@ -299,22 +299,19 @@ "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -322,9 +319,12 @@ "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/resolved-link-target/element_0" + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/lexical/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/lexical/element_0" } ] }, @@ -384,6 +384,11 @@ "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/source-map/inheritance-provenance/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/source-map/lexical/element_1" @@ -391,11 +396,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/source-map/inheritance-provenance/element_0" - } ] }, { @@ -403,6 +403,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/source-map/inherited-shapes/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2" + }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1", @@ -418,40 +428,25 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,4)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/source-map/inherited-shapes/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2" - }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/inherits/shape/default-node" - }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2", "http://a.ml/vocabularies/document-source-maps#value": "[(12,4)-(12,8)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(16,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/inherits/shape/default-node" }, { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(11,4)]" + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2" }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/declared-element/element_0", @@ -459,9 +454,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/resolved-link-target/element_0", + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2" + "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(16,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(11,4)]" }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/property/property/t3prop1/scalar/t3prop1", @@ -511,25 +511,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/property/property/t1prop1/any/t1prop1/inherits/shape/default-node" - }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3", "http://a.ml/vocabularies/document-source-maps#value": "[(17,4)-(17,8)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(20,20)]" + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/property/property/t1prop1/any/t1prop1/inherits/shape/default-node" }, { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(16,4)]" + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3" }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/declared-element/element_0", @@ -537,9 +532,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/resolved-link-target/element_0", + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3" + "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(20,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(16,4)]" }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T1/property/property/t1prop1/source-map/synthesized-field/element_1", @@ -566,11 +566,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/scalar/t2prop1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/scalar/t2prop1/source-map/lexical/element_1" @@ -578,6 +573,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/scalar/t2prop1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/scalar/t2prop1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -590,6 +590,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/source-map/inheritance-provenance/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2" + }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1", @@ -600,21 +605,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(14,14)-(16,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/source-map/inheritance-provenance/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2" - }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/property/property/t3prop1/scalar/t3prop1/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/property/property/t3prop1/scalar/t3prop1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/property/property/t3prop1/scalar/t3prop1/source-map/lexical/element_1" @@ -622,6 +617,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/property/property/t3prop1/scalar/t3prop1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/property/property/t3prop1/scalar/t3prop1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -644,11 +644,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(19,14)-(20,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/scalar/t2prop1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/scalar/t2prop1", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(15,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/scalar/t2prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/scalar/t2prop1", @@ -660,9 +655,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(16,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/property/property/t3prop1/scalar/t3prop1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/property/property/t3prop1/scalar/t3prop1", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(20,12)]" + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/scalar/t2prop1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T2/property/property/t2prop1/scalar/t2prop1", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(15,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/property/property/t3prop1/scalar/t3prop1/source-map/lexical/element_1", @@ -673,6 +668,11 @@ "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/property/property/t3prop1/scalar/t3prop1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(20,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/property/property/t3prop1/scalar/t3prop1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/poc/inheritance-nested-object.raml#/declares/shape/T3/property/property/t3prop1/scalar/t3prop1", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(20,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/poc/recursion-in-inherited-property.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-in-inherited-property.resolved.jsonld index ae608cddb8..83463d1d41 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-in-inherited-property.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-in-inherited-property.resolved.jsonld @@ -298,6 +298,16 @@ "@id": "amf://id#16/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#16/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#16/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#16/source-map/resolved-link/element_0" @@ -310,16 +320,6 @@ { "@id": "amf://id#16/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#16/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#16/source-map/resolved-link-target/element_0" - } ] }, { @@ -417,6 +417,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#16/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#16/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#36" + }, { "@id": "amf://id#16/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", @@ -432,16 +442,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,13)]" }, - { - "@id": "amf://id#16/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#16/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#36" - }, { "@id": "amf://id#19", "@type": [ @@ -478,14 +478,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#18/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#18/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#18/source-map/lexical/element_0" + "@id": "amf://id#18/source-map/type-property-lexical-info/element_0" } ] }, @@ -702,26 +702,26 @@ "@id": "amf://id#19/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ { - "@id": "amf://id#19/source-map/lexical/element_0" + "@id": "amf://id#19/source-map/inherited-shapes/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#19/source-map/inherited-shapes/element_0" + "@id": "amf://id#19/source-map/lexical/element_0" } ] }, { - "@id": "amf://id#18/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#18/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#18", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(18,0)]" }, { - "@id": "amf://id#18/source-map/lexical/element_0", + "@id": "amf://id#18/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#18", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(18,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" }, { "@id": "amf://id#29", @@ -827,6 +827,11 @@ "@id": "amf://id#20/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ + { + "@id": "amf://id#20/source-map/inheritance-provenance/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#20/source-map/lexical/element_1" @@ -834,11 +839,6 @@ { "@id": "amf://id#20/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ - { - "@id": "amf://id#20/source-map/inheritance-provenance/element_0" - } ] }, { @@ -876,6 +876,11 @@ "@id": "amf://id#2/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ + { + "@id": "amf://id#2/source-map/inheritance-provenance/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#2/source-map/lexical/element_1" @@ -883,11 +888,6 @@ { "@id": "amf://id#2/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ - { - "@id": "amf://id#2/source-map/inheritance-provenance/element_0" - } ] }, { @@ -988,14 +988,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,14)]" }, { - "@id": "amf://id#19/source-map/lexical/element_0", + "@id": "amf://id#19/source-map/inherited-shapes/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#19", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(18,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#22" }, { - "@id": "amf://id#19/source-map/inherited-shapes/element_0", + "@id": "amf://id#19/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#19", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#22" + "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(18,0)]" }, { "@id": "amf://id#30", @@ -1103,6 +1103,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#20/source-map/inheritance-provenance/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#20", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#22" + }, { "@id": "amf://id#20/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#20", @@ -1113,11 +1118,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(21,26)-(21,32)]" }, - { - "@id": "amf://id#20/source-map/inheritance-provenance/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#20", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#22" - }, { "@id": "amf://id#4", "@type": [ @@ -1152,6 +1152,16 @@ "@id": "amf://id#3/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#3/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#3/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#3/source-map/resolved-link/element_0" @@ -1164,16 +1174,6 @@ { "@id": "amf://id#3/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#3/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#3/source-map/resolved-link-target/element_0" - } ] }, { @@ -1186,6 +1186,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#2/source-map/inheritance-provenance/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", @@ -1196,21 +1201,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(29,17)-(32,0)]" }, - { - "@id": "amf://id#2/source-map/inheritance-provenance/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#24/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#24/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#24/source-map/lexical/element_1" @@ -1218,6 +1213,11 @@ { "@id": "amf://id#24/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#24/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1274,34 +1274,34 @@ "@id": "amf://id#5/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#5/source-map/resolved-link-target/element_0" + "@id": "amf://id#5/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#5/source-map/declared-element/element_0" + "@id": "amf://id#5/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ { - "@id": "amf://id#5/source-map/lexical/element_0" + "@id": "amf://id#5/source-map/inherited-shapes/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#5/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#5/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#5/source-map/resolved-link/element_0" + "@id": "amf://id#5/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#5/source-map/inherited-shapes/element_0" + "@id": "amf://id#5/source-map/lexical/element_0" } ] }, @@ -1464,34 +1464,29 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#3/source-map/resolved-link/element_0", + "@id": "amf://id#3/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#3/source-map/lexical/element_1", + "@id": "amf://id#3/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "[(32,2)-(38,0)]" - }, - { - "@id": "amf://id#3/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(32,2)-(32,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" }, { - "@id": "amf://id#3/source-map/declared-element/element_0", + "@id": "amf://id#3/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#9" }, { - "@id": "amf://id#3/source-map/resolved-link-target/element_0", + "@id": "amf://id#3/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#9" + "http://a.ml/vocabularies/document-source-maps#value": "[(32,2)-(38,0)]" }, { - "@id": "amf://id#24/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#24", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,14)-(16,18)]" + "@id": "amf://id#3/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(32,2)-(32,11)]" }, { "@id": "amf://id#24/source-map/lexical/element_1", @@ -1503,6 +1498,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(16,14)-(18,0)]" }, + { + "@id": "amf://id#24/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#24", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,14)-(16,18)]" + }, { "@id": "amf://id#7", "@type": [ @@ -1537,6 +1537,11 @@ "@id": "amf://id#6/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ + { + "@id": "amf://id#6/source-map/inheritance-provenance/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#6/source-map/lexical/element_1" @@ -1544,11 +1549,6 @@ { "@id": "amf://id#6/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ - { - "@id": "amf://id#6/source-map/inheritance-provenance/element_0" - } ] }, { @@ -1557,34 +1557,34 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#5/source-map/resolved-link-target/element_0", + "@id": "amf://id#5/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#11" + "http://a.ml/vocabularies/document-source-maps#value": "[(24,4)-(24,8)]" }, { - "@id": "amf://id#5/source-map/declared-element/element_0", + "@id": "amf://id#5/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#12" }, { - "@id": "amf://id#5/source-map/lexical/element_0", + "@id": "amf://id#5/source-map/inherited-shapes/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "[(23,2)-(26,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { - "@id": "amf://id#5/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#5/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,4)-(24,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#10" }, { - "@id": "amf://id#5/source-map/resolved-link/element_0", + "@id": "amf://id#5/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#12" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#5/source-map/inherited-shapes/element_0", + "@id": "amf://id#5/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + "http://a.ml/vocabularies/document-source-maps#value": "[(23,2)-(26,0)]" }, { "@id": "amf://id#30/source-map/synthesized-field/element_1", @@ -1689,24 +1689,24 @@ "@id": "amf://id#7/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#7/source-map/resolved-link/element_0" + "@id": "amf://id#7/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#7/source-map/lexical/element_0" + "@id": "amf://id#7/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#7/source-map/declared-element/element_0" + "@id": "amf://id#7/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#7/source-map/resolved-link-target/element_0" + "@id": "amf://id#7/source-map/lexical/element_0" } ] }, @@ -1720,6 +1720,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#6/source-map/inheritance-provenance/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#6/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", @@ -1730,11 +1735,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(29,17)-(32,0)]" }, - { - "@id": "amf://id#6/source-map/inheritance-provenance/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#32/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1771,24 +1771,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#7/source-map/resolved-link/element_0", + "@id": "amf://id#7/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#7/source-map/lexical/element_0", + "@id": "amf://id#7/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "[(32,2)-(38,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" }, { - "@id": "amf://id#7/source-map/declared-element/element_0", + "@id": "amf://id#7/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#9" }, { - "@id": "amf://id#7/source-map/resolved-link-target/element_0", + "@id": "amf://id#7/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#9" + "http://a.ml/vocabularies/document-source-maps#value": "[(32,2)-(38,0)]" }, { "@id": "amf://id", @@ -1880,22 +1880,19 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "amf://id#1/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/lexical/element_1" - }, + "@id": "amf://id#1/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_0" + "@id": "amf://id#1/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -1903,9 +1900,12 @@ "@id": "amf://id#1/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" + "@id": "amf://id#1/source-map/lexical/element_1" + }, + { + "@id": "amf://id#1/source-map/lexical/element_0" } ] }, @@ -1919,37 +1919,37 @@ "@id": "amf://id#22/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#22/source-map/resolved-link-target/element_0" + "@id": "amf://id#22/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#22/source-map/declared-element/element_0" + "@id": "amf://id#22/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ - { - "@id": "amf://id#22/source-map/lexical/element_1" - }, + "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ { - "@id": "amf://id#22/source-map/lexical/element_0" + "@id": "amf://id#22/source-map/inherited-shapes/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#22/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#22/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#22/source-map/resolved-link/element_0" + "@id": "amf://id#22/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#22/source-map/inherited-shapes/element_0" + "@id": "amf://id#22/source-map/lexical/element_1" + }, + { + "@id": "amf://id#22/source-map/lexical/element_0" } ] }, @@ -1958,15 +1958,25 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,4)-(27,8)]" + }, { "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", "http://a.ml/vocabularies/document-source-maps#value": "amf://id#15" }, { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,4)-(27,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#13" + }, + { + "@id": "amf://id#1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "amf://id#1/source-map/lexical/element_1", @@ -1979,24 +1989,29 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(26,2)-(26,9)]" }, { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "amf://id#22/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#14" + "@id": "amf://id#22/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#22", + "http://a.ml/vocabularies/document-source-maps#value": "[(19,4)-(19,8)]" }, { - "@id": "amf://id#22/source-map/synthesized-field/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "@id": "amf://id#22/source-map/resolved-link/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#22", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#38" + }, + { + "@id": "amf://id#22/source-map/inherited-shapes/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#22", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { "@id": "amf://id#22/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#22", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#38" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#37" }, { "@id": "amf://id#22/source-map/declared-element/element_0", @@ -2012,21 +2027,6 @@ "@id": "amf://id#22/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(18,17)]" - }, - { - "@id": "amf://id#22/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#22", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,4)-(19,8)]" - }, - { - "@id": "amf://id#22/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#22", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#37" - }, - { - "@id": "amf://id#22/source-map/inherited-shapes/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#22", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" } ] } diff --git a/amf-cli/shared/src/test/resources/poc/recursion-inheritance-cycle.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-inheritance-cycle.resolved.jsonld index 60ffb8728c..c6208ca5d6 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-inheritance-cycle.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-inheritance-cycle.resolved.jsonld @@ -97,9 +97,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" + "@id": "amf://id#1/source-map/lexical/element_1" + }, + { + "@id": "amf://id#1/source-map/lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -107,22 +110,19 @@ "@id": "amf://id#1/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ - { - "@id": "amf://id#1/source-map/lexical/element_1" - }, + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_0" + "@id": "amf://id#1/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#1/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#1/source-map/resolved-link/element_0" + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" } ] }, @@ -131,9 +131,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#3/source-map/resolved-link-target/element_0" + "@id": "amf://id#3/source-map/lexical/element_1" + }, + { + "@id": "amf://id#3/source-map/lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -141,22 +144,19 @@ "@id": "amf://id#3/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ - { - "@id": "amf://id#3/source-map/lexical/element_1" - }, + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#3/source-map/lexical/element_0" + "@id": "amf://id#3/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#3/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#3/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#3/source-map/resolved-link/element_0" + "@id": "amf://id#3/source-map/type-property-lexical-info/element_0" } ] }, @@ -165,9 +165,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#5/source-map/resolved-link-target/element_0" + "@id": "amf://id#5/source-map/lexical/element_1" + }, + { + "@id": "amf://id#5/source-map/lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -175,22 +178,19 @@ "@id": "amf://id#5/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ - { - "@id": "amf://id#5/source-map/lexical/element_1" - }, + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#5/source-map/lexical/element_0" + "@id": "amf://id#5/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#5/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#5/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#5/source-map/resolved-link/element_0" + "@id": "amf://id#5/source-map/type-property-lexical-info/element_0" } ] }, @@ -199,16 +199,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id", "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(9,13)]" }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", @@ -220,24 +210,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,3)]" }, { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#1/source-map/resolved-link/element_0", + "@id": "amf://id#1/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#2" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { - "@id": "amf://id#3/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#3" + "@id": "amf://id#1/source-map/resolved-link/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#2" }, { - "@id": "amf://id#3/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" }, { "@id": "amf://id#3/source-map/lexical/element_1", @@ -250,24 +240,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" }, { - "@id": "amf://id#3/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#3/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#3/source-map/resolved-link/element_0", + "@id": "amf://id#3/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#4" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#3" }, { - "@id": "amf://id#5/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" + "@id": "amf://id#3/source-map/resolved-link/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#4" }, { - "@id": "amf://id#5/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "amf://id#3/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" }, { "@id": "amf://id#5/source-map/lexical/element_1", @@ -280,14 +270,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(8,3)]" }, { - "@id": "amf://id#5/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#5/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(9,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#5/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" }, { "@id": "amf://id#5/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" + }, + { + "@id": "amf://id#5/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(9,8)]" } ] } diff --git a/amf-cli/shared/src/test/resources/poc/recursion-invalid-mandatory-property.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-invalid-mandatory-property.resolved.jsonld index da61daedb8..cd6be6e855 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-invalid-mandatory-property.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-invalid-mandatory-property.resolved.jsonld @@ -183,6 +183,16 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#1/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#1/source-map/resolved-link/element_0" @@ -195,16 +205,6 @@ { "@id": "amf://id#1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" - } ] }, { @@ -265,37 +265,37 @@ "@id": "amf://id#5/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#5/source-map/resolved-link-target/element_0" + "@id": "amf://id#5/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#5/source-map/declared-element/element_0" + "@id": "amf://id#5/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ - { - "@id": "amf://id#5/source-map/lexical/element_1" - }, + "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ { - "@id": "amf://id#5/source-map/lexical/element_0" + "@id": "amf://id#5/source-map/inherited-shapes/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#5/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#5/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#5/source-map/resolved-link/element_0" + "@id": "amf://id#5/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#5/source-map/inherited-shapes/element_0" + "@id": "amf://id#5/source-map/lexical/element_1" + }, + { + "@id": "amf://id#5/source-map/lexical/element_0" } ] }, @@ -333,6 +333,11 @@ "@id": "amf://id#2/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ + { + "@id": "amf://id#2/source-map/inheritance-provenance/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#2/source-map/lexical/element_1" @@ -340,11 +345,6 @@ { "@id": "amf://id#2/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ - { - "@id": "amf://id#2/source-map/inheritance-provenance/element_0" - } ] }, { @@ -360,6 +360,11 @@ "@id": "amf://id#4/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ + { + "@id": "amf://id#4/source-map/inheritance-provenance/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#4/source-map/lexical/element_1" @@ -367,11 +372,6 @@ { "@id": "amf://id#4/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ - { - "@id": "amf://id#4/source-map/inheritance-provenance/element_0" - } ] }, { @@ -379,6 +379,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", @@ -394,16 +404,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,3)]" }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#7", "@type": [ @@ -438,6 +438,11 @@ "@id": "amf://id#6/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ + { + "@id": "amf://id#6/source-map/inheritance-provenance/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#6/source-map/lexical/element_1" @@ -445,11 +450,6 @@ { "@id": "amf://id#6/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ - { - "@id": "amf://id#6/source-map/inheritance-provenance/element_0" - } ] }, { @@ -500,6 +500,21 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#5/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(10,8)]" + }, + { + "@id": "amf://id#5/source-map/resolved-link/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" + }, + { + "@id": "amf://id#5/source-map/inherited-shapes/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#5/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", @@ -520,21 +535,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,3)]" }, - { - "@id": "amf://id#5/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(10,8)]" - }, - { - "@id": "amf://id#5/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" - }, - { - "@id": "amf://id#5/source-map/inherited-shapes/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#3/source-map", "@type": [ @@ -559,6 +559,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#2/source-map/inheritance-provenance/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", @@ -569,11 +574,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(7,10)-(7,16)]" }, - { - "@id": "amf://id#2/source-map/inheritance-provenance/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#4/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#path", @@ -584,6 +584,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#4/source-map/inheritance-provenance/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#4/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", @@ -594,11 +599,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(8,11)-(8,12)]" }, - { - "@id": "amf://id#4/source-map/inheritance-provenance/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#7/source-map", "@type": [ @@ -609,34 +609,34 @@ "@id": "amf://id#7/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#7/source-map/resolved-link-target/element_0" + "@id": "amf://id#7/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#7/source-map/declared-element/element_0" + "@id": "amf://id#7/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ { - "@id": "amf://id#7/source-map/lexical/element_0" + "@id": "amf://id#7/source-map/inherited-shapes/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#7/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#7/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#7/source-map/resolved-link/element_0" + "@id": "amf://id#7/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#7/source-map/inherited-shapes/element_0" + "@id": "amf://id#7/source-map/lexical/element_0" } ] }, @@ -650,6 +650,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#6/source-map/inheritance-provenance/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#6/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", @@ -660,11 +665,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(8,11)-(8,12)]" }, - { - "@id": "amf://id#6/source-map/inheritance-provenance/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#10/source-map", "@type": [ @@ -715,34 +715,34 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#7/source-map/resolved-link-target/element_0", + "@id": "amf://id#7/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" + "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(10,8)]" }, { - "@id": "amf://id#7/source-map/declared-element/element_0", + "@id": "amf://id#7/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" }, { - "@id": "amf://id#7/source-map/lexical/element_0", + "@id": "amf://id#7/source-map/inherited-shapes/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(12,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { - "@id": "amf://id#7/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#7/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(10,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" }, { - "@id": "amf://id#7/source-map/resolved-link/element_0", + "@id": "amf://id#7/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#7/source-map/inherited-shapes/element_0", + "@id": "amf://id#7/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(12,16)]" }, { "@id": "amf://id#10/source-map/lexical/element_1", diff --git a/amf-cli/shared/src/test/resources/poc/recursion-invalid-mandatory-type.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-invalid-mandatory-type.resolved.jsonld index 88c56c5584..094ddeb9b1 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-invalid-mandatory-type.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-invalid-mandatory-type.resolved.jsonld @@ -150,6 +150,16 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#1/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#1/source-map/resolved-link/element_0" @@ -162,16 +172,6 @@ { "@id": "amf://id#1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" - } ] }, { @@ -208,6 +208,16 @@ "@id": "amf://id#3/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#3/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#3/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#3/source-map/resolved-link/element_0" @@ -220,16 +230,6 @@ { "@id": "amf://id#3/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#3/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#3/source-map/resolved-link-target/element_0" - } ] }, { @@ -259,6 +259,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", @@ -274,16 +284,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#5", "@type": [ @@ -332,6 +332,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#3/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#3/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#3" + }, { "@id": "amf://id#3/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", @@ -347,16 +357,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,3)]" }, - { - "@id": "amf://id#3/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#3/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#3" - }, { "@id": "amf://id#2/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#path", @@ -387,24 +387,24 @@ "@id": "amf://id#5/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#5/source-map/resolved-link/element_0" + "@id": "amf://id#5/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#5/source-map/lexical/element_0" + "@id": "amf://id#5/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#5/source-map/declared-element/element_0" + "@id": "amf://id#5/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#5/source-map/resolved-link-target/element_0" + "@id": "amf://id#5/source-map/lexical/element_0" } ] }, @@ -434,24 +434,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#5/source-map/resolved-link/element_0", + "@id": "amf://id#5/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#5/source-map/lexical/element_0", + "@id": "amf://id#5/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(9,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { - "@id": "amf://id#5/source-map/declared-element/element_0", + "@id": "amf://id#5/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" }, { - "@id": "amf://id#5/source-map/resolved-link-target/element_0", + "@id": "amf://id#5/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(9,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/poc/recursion-invalid-minitems-no-zero.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-invalid-minitems-no-zero.resolved.jsonld index 9c793bfe2b..6fc4913885 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-invalid-minitems-no-zero.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-invalid-minitems-no-zero.resolved.jsonld @@ -91,16 +91,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#1/source-map/lexical/element_2" @@ -112,15 +102,25 @@ "@id": "amf://id#1/source-map/lexical/element_1" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#1/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#1/source-map/resolved-link/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -157,22 +157,19 @@ "@id": "amf://id#2/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "amf://id#2/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "amf://id#2/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#2/source-map/lexical/element_1" - }, + "@id": "amf://id#2/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#2/source-map/lexical/element_0" + "@id": "amf://id#2/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -180,9 +177,12 @@ "@id": "amf://id#2/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#2/source-map/resolved-link-target/element_0" + "@id": "amf://id#2/source-map/lexical/element_1" + }, + { + "@id": "amf://id#2/source-map/lexical/element_0" } ] }, @@ -191,16 +191,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id", "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(11,10)]" }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "amf://id#1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", @@ -217,15 +207,25 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(8,0)]" }, { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" }, + { + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" + }, { "@id": "amf://id#4", "@type": [ @@ -274,25 +274,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "amf://id#2/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" - }, { "@id": "amf://id#2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(9,8)]" }, { - "@id": "amf://id#2/source-map/lexical/element_1", + "@id": "amf://id#2/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(11,10)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" }, { - "@id": "amf://id#2/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(8,3)]" + "@id": "amf://id#2/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#2" }, { "@id": "amf://id#2/source-map/declared-element/element_0", @@ -300,9 +295,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#2/source-map/resolved-link-target/element_0", + "@id": "amf://id#2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#2" + "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(11,10)]" + }, + { + "@id": "amf://id#2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(8,3)]" }, { "@id": "amf://id#4/source-map", @@ -314,19 +314,19 @@ "@id": "amf://id#4/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#4/source-map/resolved-link/element_0" + "@id": "amf://id#4/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#4/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#4/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#4/source-map/lexical/element_0" + "@id": "amf://id#4/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -334,9 +334,9 @@ "@id": "amf://id#4/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#4/source-map/resolved-link-target/element_0" + "@id": "amf://id#4/source-map/lexical/element_0" } ] }, @@ -366,19 +366,19 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#4/source-map/resolved-link/element_0", + "@id": "amf://id#4/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" + "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" }, { - "@id": "amf://id#4/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#4/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" }, { - "@id": "amf://id#4/source-map/lexical/element_0", + "@id": "amf://id#4/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(8,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { "@id": "amf://id#4/source-map/declared-element/element_0", @@ -386,9 +386,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#4/source-map/resolved-link-target/element_0", + "@id": "amf://id#4/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(8,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/poc/recursion-invalid-optional-property-complex.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-invalid-optional-property-complex.resolved.jsonld index 803c3825a8..a65758e7dd 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-invalid-optional-property-complex.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-invalid-optional-property-complex.resolved.jsonld @@ -175,6 +175,11 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#1/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#1/source-map/lexical/element_1" @@ -182,11 +187,6 @@ { "@id": "amf://id#1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } ] }, { @@ -223,6 +223,16 @@ "@id": "amf://id#3/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#3/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#3/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#3/source-map/resolved-link/element_0" @@ -235,16 +245,6 @@ { "@id": "amf://id#3/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#3/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#3/source-map/resolved-link-target/element_0" - } ] }, { @@ -281,6 +281,16 @@ "@id": "amf://id#5/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#5/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#5/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#5/source-map/resolved-link/element_0" @@ -293,16 +303,6 @@ { "@id": "amf://id#5/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#5/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#5/source-map/resolved-link-target/element_0" - } ] }, { @@ -332,6 +332,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", @@ -342,11 +347,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,3)]" }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "amf://id#4/source-map", "@type": [ @@ -374,6 +374,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#3/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#3/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#3" + }, { "@id": "amf://id#3/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", @@ -389,16 +399,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(8,3)]" }, - { - "@id": "amf://id#3/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#3/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#3" - }, { "@id": "amf://id#7", "@type": [ @@ -447,6 +447,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#5/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#5/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" + }, { "@id": "amf://id#5/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", @@ -462,16 +472,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(11,3)]" }, - { - "@id": "amf://id#5/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#5/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" - }, { "@id": "amf://id#2/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#path", @@ -522,24 +522,24 @@ "@id": "amf://id#7/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#7/source-map/resolved-link/element_0" + "@id": "amf://id#7/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#7/source-map/lexical/element_0" + "@id": "amf://id#7/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#7/source-map/declared-element/element_0" + "@id": "amf://id#7/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#7/source-map/resolved-link-target/element_0" + "@id": "amf://id#7/source-map/lexical/element_0" } ] }, @@ -569,24 +569,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#7/source-map/resolved-link/element_0", + "@id": "amf://id#7/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#9" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#7/source-map/lexical/element_0", + "@id": "amf://id#7/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(11,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#3" }, { - "@id": "amf://id#7/source-map/declared-element/element_0", + "@id": "amf://id#7/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#9" }, { - "@id": "amf://id#7/source-map/resolved-link-target/element_0", + "@id": "amf://id#7/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#3" + "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(11,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/poc/recursion-invalid-union-nested.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-invalid-union-nested.resolved.jsonld index 90309666bf..35e2f5c65b 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-invalid-union-nested.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-invalid-union-nested.resolved.jsonld @@ -150,6 +150,16 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#1/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#1/source-map/resolved-link/element_0" @@ -162,16 +172,6 @@ { "@id": "amf://id#1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" - } ] }, { @@ -208,6 +208,16 @@ "@id": "amf://id#7/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#7/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#7/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#7/source-map/resolved-link/element_0" @@ -220,16 +230,6 @@ { "@id": "amf://id#7/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#7/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#7/source-map/resolved-link-target/element_0" - } ] }, { @@ -283,6 +283,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", @@ -298,16 +308,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#9", "@type": [ @@ -359,6 +359,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#7/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#7/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" + }, { "@id": "amf://id#7/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", @@ -374,16 +384,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,3)]" }, - { - "@id": "amf://id#7/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#7/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" - }, { "@id": "amf://id#4", "@type": [ @@ -498,24 +498,24 @@ "@id": "amf://id#4/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#4/source-map/resolved-link/element_0" + "@id": "amf://id#4/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#4/source-map/lexical/element_0" + "@id": "amf://id#4/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#4/source-map/declared-element/element_0" + "@id": "amf://id#4/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#4/source-map/resolved-link-target/element_0" + "@id": "amf://id#4/source-map/lexical/element_0" } ] }, @@ -534,24 +534,24 @@ "@id": "amf://id#10/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#10/source-map/resolved-link/element_0" + "@id": "amf://id#10/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#10/source-map/lexical/element_0" + "@id": "amf://id#10/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#10/source-map/declared-element/element_0" + "@id": "amf://id#10/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#10/source-map/resolved-link-target/element_0" + "@id": "amf://id#10/source-map/lexical/element_0" } ] }, @@ -566,24 +566,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#4/source-map/resolved-link/element_0", + "@id": "amf://id#4/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#4/source-map/lexical/element_0", + "@id": "amf://id#4/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(9,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { - "@id": "amf://id#4/source-map/declared-element/element_0", + "@id": "amf://id#4/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" }, { - "@id": "amf://id#4/source-map/resolved-link-target/element_0", + "@id": "amf://id#4/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(9,0)]" }, { "@id": "amf://id#10/source-map/synthesized-field/element_0", @@ -591,24 +591,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#10/source-map/resolved-link/element_0", + "@id": "amf://id#10/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#10", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#12" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#10/source-map/lexical/element_0", + "@id": "amf://id#10/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#10", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(13,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" }, { - "@id": "amf://id#10/source-map/declared-element/element_0", + "@id": "amf://id#10/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#10", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#12" }, { - "@id": "amf://id#10/source-map/resolved-link-target/element_0", + "@id": "amf://id#10/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#10", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(13,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/poc/recursion-invalid-union.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-invalid-union.resolved.jsonld index 932b65e336..f3e7423ab2 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-invalid-union.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-invalid-union.resolved.jsonld @@ -150,6 +150,16 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#1/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#1/source-map/resolved-link/element_0" @@ -162,16 +172,6 @@ { "@id": "amf://id#1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" - } ] }, { @@ -208,6 +208,16 @@ "@id": "amf://id#6/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#6/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#6/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#6/source-map/resolved-link/element_0" @@ -220,16 +230,6 @@ { "@id": "amf://id#6/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#6/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#6/source-map/resolved-link-target/element_0" - } ] }, { @@ -283,6 +283,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", @@ -298,16 +308,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#8", "@type": [ @@ -356,6 +356,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#6/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#6/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" + }, { "@id": "amf://id#6/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", @@ -371,16 +381,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,3)]" }, - { - "@id": "amf://id#6/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#6/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" - }, { "@id": "amf://id#4", "@type": [ @@ -443,24 +443,24 @@ "@id": "amf://id#8/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#8/source-map/resolved-link/element_0" + "@id": "amf://id#8/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#8/source-map/lexical/element_0" + "@id": "amf://id#8/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#8/source-map/declared-element/element_0" + "@id": "amf://id#8/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#8/source-map/resolved-link-target/element_0" + "@id": "amf://id#8/source-map/lexical/element_0" } ] }, @@ -494,24 +494,24 @@ "@id": "amf://id#4/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#4/source-map/resolved-link/element_0" + "@id": "amf://id#4/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#4/source-map/lexical/element_0" + "@id": "amf://id#4/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#4/source-map/declared-element/element_0" + "@id": "amf://id#4/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#4/source-map/resolved-link-target/element_0" + "@id": "amf://id#4/source-map/lexical/element_0" } ] }, @@ -526,24 +526,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#8/source-map/resolved-link/element_0", + "@id": "amf://id#8/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#10" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#8/source-map/lexical/element_0", + "@id": "amf://id#8/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(13,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" }, { - "@id": "amf://id#8/source-map/declared-element/element_0", + "@id": "amf://id#8/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#10" }, { - "@id": "amf://id#8/source-map/resolved-link-target/element_0", + "@id": "amf://id#8/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(13,0)]" }, { "@id": "amf://id#4/source-map/synthesized-field/element_0", @@ -551,24 +551,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#4/source-map/resolved-link/element_0", + "@id": "amf://id#4/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#4/source-map/lexical/element_0", + "@id": "amf://id#4/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(9,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { - "@id": "amf://id#4/source-map/declared-element/element_0", + "@id": "amf://id#4/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" }, { - "@id": "amf://id#4/source-map/resolved-link-target/element_0", + "@id": "amf://id#4/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(9,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/poc/recursion-valid-additionalproperties.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-valid-additionalproperties.resolved.jsonld index 17bd9b8b2d..9570f386ba 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-valid-additionalproperties.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-valid-additionalproperties.resolved.jsonld @@ -170,22 +170,19 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "amf://id#1/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/lexical/element_1" - }, + "@id": "amf://id#1/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_0" + "@id": "amf://id#1/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -193,9 +190,12 @@ "@id": "amf://id#1/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" + "@id": "amf://id#1/source-map/lexical/element_1" + }, + { + "@id": "amf://id#1/source-map/lexical/element_0" } ] }, @@ -230,22 +230,19 @@ "@id": "amf://id#3/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "amf://id#3/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "amf://id#3/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#3/source-map/lexical/element_1" - }, + "@id": "amf://id#3/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#3/source-map/lexical/element_0" + "@id": "amf://id#3/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -253,9 +250,12 @@ "@id": "amf://id#3/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#3/source-map/resolved-link-target/element_0" + "@id": "amf://id#3/source-map/lexical/element_1" + }, + { + "@id": "amf://id#3/source-map/lexical/element_0" } ] }, @@ -285,25 +285,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#recursive", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "amf://id#1/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" - }, { "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(8,8)]" }, { - "@id": "amf://id#1/source-map/lexical/element_1", + "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(12,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" }, { - "@id": "amf://id#1/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,3)]" + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { "@id": "amf://id#1/source-map/declared-element/element_0", @@ -311,9 +306,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(12,0)]" + }, + { + "@id": "amf://id#1/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,3)]" }, { "@id": "amf://id#4/source-map", @@ -325,19 +325,19 @@ "@id": "amf://id#4/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#4/source-map/resolved-link/element_0" + "@id": "amf://id#4/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#4/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#4/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#4/source-map/lexical/element_0" + "@id": "amf://id#4/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -345,9 +345,9 @@ "@id": "amf://id#4/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#4/source-map/resolved-link-target/element_0" + "@id": "amf://id#4/source-map/lexical/element_0" } ] }, @@ -356,25 +356,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "amf://id#3/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" - }, { "@id": "amf://id#3/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(13,8)]" }, { - "@id": "amf://id#3/source-map/lexical/element_1", + "@id": "amf://id#3/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,2)-(15,29)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" }, { - "@id": "amf://id#3/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,2)-(12,3)]" + "@id": "amf://id#3/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#3" }, { "@id": "amf://id#3/source-map/declared-element/element_0", @@ -382,9 +377,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#3/source-map/resolved-link-target/element_0", + "@id": "amf://id#3/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#3" + "http://a.ml/vocabularies/document-source-maps#value": "[(12,2)-(15,29)]" + }, + { + "@id": "amf://id#3/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,2)-(12,3)]" }, { "@id": "amf://id#2/source-map/synthesized-field/element_0", @@ -402,19 +402,19 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#4/source-map/resolved-link/element_0", + "@id": "amf://id#4/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" + "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(8,8)]" }, { - "@id": "amf://id#4/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#4/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(8,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" }, { - "@id": "amf://id#4/source-map/lexical/element_0", + "@id": "amf://id#4/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(12,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { "@id": "amf://id#4/source-map/declared-element/element_0", @@ -422,9 +422,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#4/source-map/resolved-link-target/element_0", + "@id": "amf://id#4/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(12,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/poc/recursion-valid-minitems-zero.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-valid-minitems-zero.resolved.jsonld index af592bdbdd..7463cfb853 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-valid-minitems-zero.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-valid-minitems-zero.resolved.jsonld @@ -94,16 +94,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#1/source-map/lexical/element_2" @@ -115,15 +105,25 @@ "@id": "amf://id#1/source-map/lexical/element_1" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#1/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#1/source-map/resolved-link/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -184,22 +184,19 @@ "@id": "amf://id#2/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "amf://id#2/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "amf://id#2/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#2/source-map/lexical/element_1" - }, + "@id": "amf://id#2/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#2/source-map/lexical/element_0" + "@id": "amf://id#2/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -207,9 +204,12 @@ "@id": "amf://id#2/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#2/source-map/resolved-link-target/element_0" + "@id": "amf://id#2/source-map/lexical/element_1" + }, + { + "@id": "amf://id#2/source-map/lexical/element_0" } ] }, @@ -218,16 +218,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id", "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(12,15)]" }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "amf://id#1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", @@ -244,15 +234,25 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(8,0)]" }, { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" }, + { + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" + }, { "@id": "amf://id#4", "@type": [ @@ -344,25 +344,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "amf://id#2/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" - }, { "@id": "amf://id#2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(9,8)]" }, { - "@id": "amf://id#2/source-map/lexical/element_1", + "@id": "amf://id#2/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(12,15)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" }, { - "@id": "amf://id#2/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(8,3)]" + "@id": "amf://id#2/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#2" }, { "@id": "amf://id#2/source-map/declared-element/element_0", @@ -370,9 +365,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#2/source-map/resolved-link-target/element_0", + "@id": "amf://id#2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#2" + "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(12,15)]" + }, + { + "@id": "amf://id#2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(8,3)]" }, { "@id": "amf://id#4/source-map", @@ -384,19 +384,19 @@ "@id": "amf://id#4/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#4/source-map/resolved-link/element_0" + "@id": "amf://id#4/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#4/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#4/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#4/source-map/lexical/element_0" + "@id": "amf://id#4/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -404,9 +404,9 @@ "@id": "amf://id#4/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#4/source-map/resolved-link-target/element_0" + "@id": "amf://id#4/source-map/lexical/element_0" } ] }, @@ -470,19 +470,19 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#4/source-map/resolved-link/element_0", + "@id": "amf://id#4/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" + "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" }, { - "@id": "amf://id#4/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#4/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" }, { - "@id": "amf://id#4/source-map/lexical/element_0", + "@id": "amf://id#4/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(8,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { "@id": "amf://id#4/source-map/declared-element/element_0", @@ -490,9 +490,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#4/source-map/resolved-link-target/element_0", + "@id": "amf://id#4/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(8,0)]" }, { "@id": "amf://id#7/source-map/lexical/element_1", diff --git a/amf-cli/shared/src/test/resources/poc/recursion-valid-optional-property.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-valid-optional-property.resolved.jsonld index 2bd3e87581..c227eaa33c 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-valid-optional-property.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-valid-optional-property.resolved.jsonld @@ -183,6 +183,16 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#1/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#1/source-map/resolved-link/element_0" @@ -195,16 +205,6 @@ { "@id": "amf://id#1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" - } ] }, { @@ -265,37 +265,37 @@ "@id": "amf://id#5/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#5/source-map/resolved-link-target/element_0" + "@id": "amf://id#5/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#5/source-map/declared-element/element_0" + "@id": "amf://id#5/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ - { - "@id": "amf://id#5/source-map/lexical/element_1" - }, + "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ { - "@id": "amf://id#5/source-map/lexical/element_0" + "@id": "amf://id#5/source-map/inherited-shapes/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#5/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#5/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#5/source-map/resolved-link/element_0" + "@id": "amf://id#5/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#5/source-map/inherited-shapes/element_0" + "@id": "amf://id#5/source-map/lexical/element_1" + }, + { + "@id": "amf://id#5/source-map/lexical/element_0" } ] }, @@ -333,6 +333,11 @@ "@id": "amf://id#2/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ + { + "@id": "amf://id#2/source-map/inheritance-provenance/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#2/source-map/lexical/element_1" @@ -340,11 +345,6 @@ { "@id": "amf://id#2/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ - { - "@id": "amf://id#2/source-map/inheritance-provenance/element_0" - } ] }, { @@ -360,6 +360,11 @@ "@id": "amf://id#4/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ + { + "@id": "amf://id#4/source-map/inheritance-provenance/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#4/source-map/lexical/element_1" @@ -367,11 +372,6 @@ { "@id": "amf://id#4/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ - { - "@id": "amf://id#4/source-map/inheritance-provenance/element_0" - } ] }, { @@ -379,6 +379,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", @@ -394,16 +404,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,3)]" }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#7", "@type": [ @@ -438,6 +438,11 @@ "@id": "amf://id#6/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ + { + "@id": "amf://id#6/source-map/inheritance-provenance/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#6/source-map/lexical/element_1" @@ -445,11 +450,6 @@ { "@id": "amf://id#6/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#inheritance-provenance": [ - { - "@id": "amf://id#6/source-map/inheritance-provenance/element_0" - } ] }, { @@ -500,6 +500,21 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#5/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(10,8)]" + }, + { + "@id": "amf://id#5/source-map/resolved-link/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" + }, + { + "@id": "amf://id#5/source-map/inherited-shapes/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#5/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", @@ -520,21 +535,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,3)]" }, - { - "@id": "amf://id#5/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(10,8)]" - }, - { - "@id": "amf://id#5/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" - }, - { - "@id": "amf://id#5/source-map/inherited-shapes/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#3/source-map", "@type": [ @@ -559,6 +559,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#2/source-map/inheritance-provenance/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", @@ -569,11 +574,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(7,10)-(7,16)]" }, - { - "@id": "amf://id#2/source-map/inheritance-provenance/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#2", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#4/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#path", @@ -584,6 +584,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#4/source-map/inheritance-provenance/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#4/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", @@ -594,11 +599,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(8,12)-(8,13)]" }, - { - "@id": "amf://id#4/source-map/inheritance-provenance/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#7/source-map", "@type": [ @@ -609,34 +609,34 @@ "@id": "amf://id#7/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#7/source-map/resolved-link-target/element_0" + "@id": "amf://id#7/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#7/source-map/declared-element/element_0" + "@id": "amf://id#7/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ { - "@id": "amf://id#7/source-map/lexical/element_0" + "@id": "amf://id#7/source-map/inherited-shapes/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#7/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#7/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#7/source-map/resolved-link/element_0" + "@id": "amf://id#7/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#7/source-map/inherited-shapes/element_0" + "@id": "amf://id#7/source-map/lexical/element_0" } ] }, @@ -650,6 +650,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#6/source-map/inheritance-provenance/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#6/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", @@ -660,11 +665,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(8,12)-(8,13)]" }, - { - "@id": "amf://id#6/source-map/inheritance-provenance/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#10/source-map", "@type": [ @@ -715,34 +715,34 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#7/source-map/resolved-link-target/element_0", + "@id": "amf://id#7/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" + "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(10,8)]" }, { - "@id": "amf://id#7/source-map/declared-element/element_0", + "@id": "amf://id#7/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" }, { - "@id": "amf://id#7/source-map/lexical/element_0", + "@id": "amf://id#7/source-map/inherited-shapes/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(12,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { - "@id": "amf://id#7/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#7/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(10,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" }, { - "@id": "amf://id#7/source-map/resolved-link/element_0", + "@id": "amf://id#7/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#7/source-map/inherited-shapes/element_0", + "@id": "amf://id#7/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(12,16)]" }, { "@id": "amf://id#10/source-map/lexical/element_1", diff --git a/amf-cli/shared/src/test/resources/poc/recursion-valid-optional-type.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-valid-optional-type.resolved.jsonld index 8435b9a1ac..29ee8a1cfc 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-valid-optional-type.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-valid-optional-type.resolved.jsonld @@ -150,6 +150,16 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#1/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#1/source-map/resolved-link/element_0" @@ -162,16 +172,6 @@ { "@id": "amf://id#1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" - } ] }, { @@ -208,6 +208,16 @@ "@id": "amf://id#4/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#4/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#4/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#4/source-map/resolved-link/element_0" @@ -220,16 +230,6 @@ { "@id": "amf://id#4/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#4/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#4/source-map/resolved-link-target/element_0" - } ] }, { @@ -283,6 +283,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", @@ -298,16 +308,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#6", "@type": [ @@ -356,6 +356,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#4/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#4/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#4" + }, { "@id": "amf://id#4/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", @@ -371,16 +381,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,3)]" }, - { - "@id": "amf://id#4/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#4/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#4" - }, { "@id": "amf://id#9", "@type": [ @@ -405,14 +405,14 @@ "@id": "amf://id#3/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#3/source-map/virtual-element/element_0" + "@id": "amf://id#3/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "amf://id#3/source-map/lexical/element_0" + "@id": "amf://id#3/source-map/virtual-element/element_0" } ] }, @@ -446,24 +446,24 @@ "@id": "amf://id#6/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#6/source-map/resolved-link/element_0" + "@id": "amf://id#6/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#6/source-map/lexical/element_0" + "@id": "amf://id#6/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#6/source-map/declared-element/element_0" + "@id": "amf://id#6/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#6/source-map/resolved-link-target/element_0" + "@id": "amf://id#6/source-map/lexical/element_0" } ] }, @@ -504,14 +504,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#3/source-map/virtual-element/element_0", + "@id": "amf://id#3/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(8,7)]" }, { - "@id": "amf://id#3/source-map/lexical/element_0", + "@id": "amf://id#3/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(8,7)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "amf://id#6/source-map/synthesized-field/element_0", @@ -519,24 +519,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#6/source-map/resolved-link/element_0", + "@id": "amf://id#6/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#6/source-map/lexical/element_0", + "@id": "amf://id#6/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(9,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { - "@id": "amf://id#6/source-map/declared-element/element_0", + "@id": "amf://id#6/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" }, { - "@id": "amf://id#6/source-map/resolved-link-target/element_0", + "@id": "amf://id#6/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(9,0)]" }, { "@id": "amf://id#9/source-map/virtual-element/element_0", diff --git a/amf-cli/shared/src/test/resources/poc/recursion-valid-union-nested-exit-at-first.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-valid-union-nested-exit-at-first.resolved.jsonld index c555e36a32..d8c20e3496 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-valid-union-nested-exit-at-first.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-valid-union-nested-exit-at-first.resolved.jsonld @@ -175,6 +175,16 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#1/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#1/source-map/resolved-link/element_0" @@ -187,16 +197,6 @@ { "@id": "amf://id#1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" - } ] }, { @@ -233,6 +233,16 @@ "@id": "amf://id#4/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#4/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#4/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#4/source-map/resolved-link/element_0" @@ -245,16 +255,6 @@ { "@id": "amf://id#4/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#4/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#4/source-map/resolved-link-target/element_0" - } ] }, { @@ -291,22 +291,19 @@ "@id": "amf://id#12/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "amf://id#12/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "amf://id#12/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#12/source-map/lexical/element_1" - }, + "@id": "amf://id#12/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#12/source-map/lexical/element_0" + "@id": "amf://id#12/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -314,9 +311,12 @@ "@id": "amf://id#12/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#12/source-map/resolved-link-target/element_0" + "@id": "amf://id#12/source-map/lexical/element_1" + }, + { + "@id": "amf://id#12/source-map/lexical/element_0" } ] }, @@ -371,6 +371,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", @@ -386,16 +396,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#6", "@type": [ @@ -447,6 +447,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#4/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#4/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#4" + }, { "@id": "amf://id#4/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", @@ -462,16 +472,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(10,2)-(10,3)]" }, - { - "@id": "amf://id#4/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#4/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#4" - }, { "@id": "amf://id#14", "@type": [ @@ -520,25 +520,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "amf://id#12/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#15" - }, { "@id": "amf://id#12/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", "http://a.ml/vocabularies/document-source-maps#value": "[(16,4)-(16,8)]" }, { - "@id": "amf://id#12/source-map/lexical/element_1", + "@id": "amf://id#12/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(18,18)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#15" }, { - "@id": "amf://id#12/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(15,3)]" + "@id": "amf://id#12/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#12" }, { "@id": "amf://id#12/source-map/declared-element/element_0", @@ -546,9 +541,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#12/source-map/resolved-link-target/element_0", + "@id": "amf://id#12/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#12" + "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(18,18)]" + }, + { + "@id": "amf://id#12/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(15,3)]" }, { "@id": "amf://id#3/source-map", @@ -703,24 +703,24 @@ "@id": "amf://id#7/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#7/source-map/resolved-link/element_0" + "@id": "amf://id#7/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#7/source-map/lexical/element_0" + "@id": "amf://id#7/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#7/source-map/declared-element/element_0" + "@id": "amf://id#7/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#7/source-map/resolved-link-target/element_0" + "@id": "amf://id#7/source-map/lexical/element_0" } ] }, @@ -734,24 +734,24 @@ "@id": "amf://id#9/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#9/source-map/resolved-link/element_0" + "@id": "amf://id#9/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#9/source-map/lexical/element_0" + "@id": "amf://id#9/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#9/source-map/declared-element/element_0" + "@id": "amf://id#9/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#9/source-map/resolved-link-target/element_0" + "@id": "amf://id#9/source-map/lexical/element_0" } ] }, @@ -776,24 +776,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#7/source-map/resolved-link/element_0", + "@id": "amf://id#7/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#7/source-map/lexical/element_0", + "@id": "amf://id#7/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(10,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { - "@id": "amf://id#7/source-map/declared-element/element_0", + "@id": "amf://id#7/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" }, { - "@id": "amf://id#7/source-map/resolved-link-target/element_0", + "@id": "amf://id#7/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(10,0)]" }, { "@id": "amf://id#9/source-map/synthesized-field/element_0", @@ -801,24 +801,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#9/source-map/resolved-link/element_0", + "@id": "amf://id#9/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#9", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#11" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#9/source-map/lexical/element_0", + "@id": "amf://id#9/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#9", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,2)-(15,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#4" }, { - "@id": "amf://id#9/source-map/declared-element/element_0", + "@id": "amf://id#9/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#9", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#11" }, { - "@id": "amf://id#9/source-map/resolved-link-target/element_0", + "@id": "amf://id#9/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#9", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#4" + "http://a.ml/vocabularies/document-source-maps#value": "[(10,2)-(15,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/poc/recursion-valid-union-nested-exit-at-second.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-valid-union-nested-exit-at-second.resolved.jsonld index 4a6e68b739..e7d2f63caf 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-valid-union-nested-exit-at-second.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-valid-union-nested-exit-at-second.resolved.jsonld @@ -200,6 +200,16 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#1/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#1/source-map/resolved-link/element_0" @@ -212,16 +222,6 @@ { "@id": "amf://id#1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" - } ] }, { @@ -258,6 +258,16 @@ "@id": "amf://id#4/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#4/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#4/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#4/source-map/resolved-link/element_0" @@ -270,16 +280,6 @@ { "@id": "amf://id#4/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#4/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#4/source-map/resolved-link-target/element_0" - } ] }, { @@ -316,22 +316,19 @@ "@id": "amf://id#7/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "amf://id#7/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "amf://id#7/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#7/source-map/lexical/element_1" - }, + "@id": "amf://id#7/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#7/source-map/lexical/element_0" + "@id": "amf://id#7/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -339,9 +336,12 @@ "@id": "amf://id#7/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#7/source-map/resolved-link-target/element_0" + "@id": "amf://id#7/source-map/lexical/element_1" + }, + { + "@id": "amf://id#7/source-map/lexical/element_0" } ] }, @@ -379,22 +379,19 @@ "@id": "amf://id#11/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "amf://id#11/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "amf://id#11/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#11/source-map/lexical/element_1" - }, + "@id": "amf://id#11/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#11/source-map/lexical/element_0" + "@id": "amf://id#11/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -402,9 +399,12 @@ "@id": "amf://id#11/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#11/source-map/resolved-link-target/element_0" + "@id": "amf://id#11/source-map/lexical/element_1" + }, + { + "@id": "amf://id#11/source-map/lexical/element_0" } ] }, @@ -459,6 +459,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", @@ -474,16 +484,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#6", "@type": [ @@ -535,6 +535,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#4/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#4/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#4" + }, { "@id": "amf://id#4/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", @@ -550,16 +560,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(11,3)]" }, - { - "@id": "amf://id#4/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#4/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#4" - }, { "@id": "amf://id#9", "@type": [ @@ -608,25 +608,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "amf://id#7/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#10" - }, { "@id": "amf://id#7/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", "http://a.ml/vocabularies/document-source-maps#value": "[(17,4)-(17,8)]" }, { - "@id": "amf://id#7/source-map/lexical/element_1", + "@id": "amf://id#7/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(20,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#10" }, { - "@id": "amf://id#7/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(16,3)]" + "@id": "amf://id#7/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" }, { "@id": "amf://id#7/source-map/declared-element/element_0", @@ -634,9 +629,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#7/source-map/resolved-link-target/element_0", + "@id": "amf://id#7/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" + "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(20,0)]" + }, + { + "@id": "amf://id#7/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(16,3)]" }, { "@id": "amf://id#13", @@ -686,25 +686,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "amf://id#11/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#11", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#14" - }, { "@id": "amf://id#11/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#11", "http://a.ml/vocabularies/document-source-maps#value": "[(21,4)-(21,8)]" }, { - "@id": "amf://id#11/source-map/lexical/element_1", + "@id": "amf://id#11/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#11", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,2)-(25,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#14" }, { - "@id": "amf://id#11/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,2)-(20,3)]" + "@id": "amf://id#11/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#11", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#11" }, { "@id": "amf://id#11/source-map/declared-element/element_0", @@ -712,9 +707,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#11/source-map/resolved-link-target/element_0", + "@id": "amf://id#11/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#11", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#11" + "http://a.ml/vocabularies/document-source-maps#value": "[(20,2)-(25,0)]" + }, + { + "@id": "amf://id#11/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,2)-(20,3)]" }, { "@id": "amf://id#16", @@ -877,24 +877,24 @@ "@id": "amf://id#16/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#16/source-map/resolved-link/element_0" + "@id": "amf://id#16/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#16/source-map/lexical/element_0" + "@id": "amf://id#16/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#16/source-map/declared-element/element_0" + "@id": "amf://id#16/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#16/source-map/resolved-link-target/element_0" + "@id": "amf://id#16/source-map/lexical/element_0" } ] }, @@ -934,24 +934,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#16/source-map/resolved-link/element_0", + "@id": "amf://id#16/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#17" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#16/source-map/lexical/element_0", + "@id": "amf://id#16/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(11,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { - "@id": "amf://id#16/source-map/declared-element/element_0", + "@id": "amf://id#16/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#17" }, { - "@id": "amf://id#16/source-map/resolved-link-target/element_0", + "@id": "amf://id#16/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(11,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/poc/recursion-valid-union.resolved.jsonld b/amf-cli/shared/src/test/resources/poc/recursion-valid-union.resolved.jsonld index d5db0e3fc5..17eed18ad4 100644 --- a/amf-cli/shared/src/test/resources/poc/recursion-valid-union.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/poc/recursion-valid-union.resolved.jsonld @@ -150,6 +150,16 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#1/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#1/source-map/resolved-link/element_0" @@ -162,16 +172,6 @@ { "@id": "amf://id#1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" - } ] }, { @@ -208,6 +208,16 @@ "@id": "amf://id#6/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#6/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#6/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#6/source-map/resolved-link/element_0" @@ -220,16 +230,6 @@ { "@id": "amf://id#6/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#6/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#6/source-map/resolved-link-target/element_0" - } ] }, { @@ -283,6 +283,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + }, { "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", @@ -298,16 +308,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" - }, { "@id": "amf://id#8", "@type": [ @@ -356,6 +356,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#6/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#6/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" + }, { "@id": "amf://id#6/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", @@ -371,16 +381,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(10,2)-(10,3)]" }, - { - "@id": "amf://id#6/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#6/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" - }, { "@id": "amf://id#4", "@type": [ @@ -477,24 +477,24 @@ "@id": "amf://id#4/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#4/source-map/resolved-link/element_0" + "@id": "amf://id#4/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#4/source-map/lexical/element_0" + "@id": "amf://id#4/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#4/source-map/declared-element/element_0" + "@id": "amf://id#4/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#4/source-map/resolved-link-target/element_0" + "@id": "amf://id#4/source-map/lexical/element_0" } ] }, @@ -519,24 +519,24 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#4/source-map/resolved-link/element_0", + "@id": "amf://id#4/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#4/source-map/lexical/element_0", + "@id": "amf://id#4/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(10,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" }, { - "@id": "amf://id#4/source-map/declared-element/element_0", + "@id": "amf://id#4/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#5" }, { - "@id": "amf://id#4/source-map/resolved-link-target/element_0", + "@id": "amf://id#4/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#1" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(10,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/event-api/api.expanded.jsonld b/amf-cli/shared/src/test/resources/production/event-api/api.expanded.jsonld index 6398468506..a04bd8bbc2 100644 --- a/amf-cli/shared/src/test/resources/production/event-api/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/event-api/api.expanded.jsonld @@ -132,11 +132,11 @@ "default-node": { "#48": "" }, - "virtual-element": { - "#48": "true" - }, "lexical": { "#48": "[(34,3)-(34,7)]" + }, + "virtual-element": { + "#48": "true" } } } @@ -773,19 +773,19 @@ } ], "smaps": { - "resolved-link-target": { - "#17": "amf://id#34" - }, - "declared-element": { - "#17": "" - }, "lexical": { "doc:dataNode": "[(18,4)-(33,0)]", "#17": "[(17,2)-(33,0)]", "core:name": "[(17,2)-(17,14)]" }, "resolved-link": { + "#17": "amf://id#34" + }, + "resolved-link-target": { "#17": "amf://id#33" + }, + "declared-element": { + "#17": "" } } } @@ -799,12 +799,12 @@ } ], "smaps": { - "parent-end-point": { - "#38": "amf://id#37" - }, "lexical": { "apiContract:path": "[(34,2)-(34,7)]", "#38": "[(34,2)-(35,22)]" + }, + "parent-end-point": { + "#38": "amf://id#37" } } } @@ -1170,11 +1170,11 @@ } ], "smaps": { - "type-property-lexical-info": { - "#7": "[(11,8)-(11,12)]" - }, "lexical": { "#7": "[(10,6)-(16,0)]" + }, + "type-property-lexical-info": { + "#7": "[(11,8)-(11,12)]" } } } @@ -1215,6 +1215,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#13" + }, "resolved-link": { "#1": "amf://id#16" }, @@ -1222,12 +1228,6 @@ "core:name": "[(6,4)-(7,0)]", "#1": "[(5,2)-(16,0)]", "shacl:name": "[(5,2)-(5,7)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#14" } } }, @@ -1636,19 +1636,19 @@ } ], "smaps": { - "resolved-link-target": { - "#17": "amf://id#34" - }, - "declared-element": { - "#17": "" - }, "lexical": { "doc:dataNode": "[(18,4)-(33,0)]", "#17": "[(17,2)-(33,0)]", "core:name": "[(17,2)-(17,14)]" }, "resolved-link": { + "#17": "amf://id#34" + }, + "resolved-link-target": { "#17": "amf://id#33" + }, + "declared-element": { + "#17": "" } } } diff --git a/amf-cli/shared/src/test/resources/production/event-api/api.flattened.jsonld b/amf-cli/shared/src/test/resources/production/event-api/api.flattened.jsonld index 5756907300..b6ca0802b7 100644 --- a/amf-cli/shared/src/test/resources/production/event-api/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/event-api/api.flattened.jsonld @@ -65,12 +65,12 @@ } ], "smaps": { - "parent-end-point": { - "#38": "amf://id#37" - }, "lexical": { "apiContract:path": "[(34,2)-(34,7)]", "#38": "[(34,2)-(35,22)]" + }, + "parent-end-point": { + "#38": "amf://id#37" } } }, @@ -215,19 +215,19 @@ "@id": "#18" }, "smaps": { - "resolved-link-target": { - "#17": "amf://id#34" - }, - "declared-element": { - "#17": "" - }, "lexical": { "doc:dataNode": "[(18,4)-(33,0)]", "#17": "[(17,2)-(33,0)]", "core:name": "[(17,2)-(17,14)]" }, "resolved-link": { + "#17": "amf://id#34" + }, + "resolved-link-target": { "#17": "amf://id#33" + }, + "declared-element": { + "#17": "" } } }, @@ -254,11 +254,11 @@ "default-node": { "#48": "" }, - "virtual-element": { - "#48": "true" - }, "lexical": { "#48": "[(34,3)-(34,7)]" + }, + "virtual-element": { + "#48": "true" } } }, @@ -377,6 +377,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#13" + }, "resolved-link": { "#1": "amf://id#16" }, @@ -384,12 +390,6 @@ "core:name": "[(6,4)-(7,0)]", "#1": "[(5,2)-(16,0)]", "shacl:name": "[(5,2)-(5,7)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#14" } } }, @@ -588,11 +588,11 @@ }, "shacl:name": "details?", "smaps": { - "type-property-lexical-info": { - "#7": "[(11,8)-(11,12)]" - }, "lexical": { "#7": "[(10,6)-(16,0)]" + }, + "type-property-lexical-info": { + "#7": "[(11,8)-(11,12)]" } } }, diff --git a/amf-cli/shared/src/test/resources/production/example-in-union.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/example-in-union.raml.expanded.jsonld index 9c726f522a..8c6b5b4afd 100644 --- a/amf-cli/shared/src/test/resources/production/example-in-union.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/example-in-union.raml.expanded.jsonld @@ -178,9 +178,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version" @@ -188,14 +188,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,38)-(4,47)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version" @@ -203,7 +203,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(4,38)-(4,47)]" } ] } @@ -674,21 +674,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(10,8)-(10,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema/source-map/lexical/element_2", @@ -729,6 +714,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(10,8)-(10,12)]" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/production/example-in-union.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/example-in-union.raml.flattened.jsonld index 09acf873b3..2ac4f9b70e 100644 --- a/amf-cli/shared/src/test/resources/production/example-in-union.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/example-in-union.raml.flattened.jsonld @@ -291,14 +291,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/virtual-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/lexical/element_0" } ] }, @@ -365,14 +365,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version", - "http://a.ml/vocabularies/document-source-maps#value": "[(4,38)-(4,47)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(4,38)-(4,47)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema/inherits/union/default-union/anyOf/scalar/default-scalar", @@ -455,11 +455,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema/source-map/lexical/element_2" @@ -470,6 +465,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -597,11 +597,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(10,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -617,6 +612,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(9,14)-(14,27)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(10,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema/inherits/union/default-union/anyOf/scalar/default-scalar/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/example-in-union.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/header/parameter/header/x-union/union/schema/inherits/union/default-union/anyOf/scalar/default-scalar", diff --git a/amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml.resolved.expanded.jsonld index 5f71ae2de9..3a5209fcb7 100644 --- a/amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml.resolved.expanded.jsonld @@ -201,21 +201,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(193,8)-(193,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema/source-map/lexical/element_2", @@ -256,6 +241,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(193,8)-(193,12)]" + } + ] + } ] } ] @@ -552,21 +552,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(329,8)-(329,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5", @@ -646,6 +631,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(329,8)-(329,12)]" + } + ] + } ] } ] @@ -779,21 +779,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(337,8)-(337,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2", @@ -834,6 +819,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(337,8)-(337,12)]" + } + ] + } ] } ] @@ -967,21 +967,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(342,8)-(342,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2", @@ -1022,6 +1007,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(342,8)-(342,12)]" + } + ] + } ] } ] @@ -1155,21 +1155,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(347,8)-(347,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2", @@ -1210,6 +1195,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(347,8)-(347,12)]" + } + ] + } ] } ] @@ -1424,21 +1424,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(352,8)-(352,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4", @@ -1505,6 +1490,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(352,8)-(352,12)]" + } + ] + } ] } ] @@ -1638,21 +1638,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(358,8)-(358,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2", @@ -1693,6 +1678,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(358,8)-(358,12)]" + } + ] + } ] } ] @@ -1826,21 +1826,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(363,8)-(363,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2", @@ -1881,6 +1866,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(363,8)-(363,12)]" + } + ] + } ] } ] @@ -2020,21 +2020,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(309,8)-(309,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/lexical/element_1", @@ -2062,7 +2047,22 @@ } ] } - ] + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(309,8)-(309,12)]" + } + ] + } + ] } ] } @@ -2215,21 +2215,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(297,12)-(297,16)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/lexical/element_2", @@ -2270,6 +2255,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(297,12)-(297,16)]" + } + ] + } ] } ] @@ -2394,21 +2394,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(301,12)-(301,16)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError/source-map/lexical/element_2", @@ -2449,6 +2434,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(301,12)-(301,16)]" + } + ] + } ] } ] @@ -2568,9 +2568,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType" @@ -2578,35 +2578,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(304,12)-(304,16)]" + "@value": "[(303,10)-(306,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(303,10)-(306,0)]" + "@value": "[(304,12)-(305,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(304,12)-(305,0)]" + "@value": "[(304,12)-(304,16)]" } ] } @@ -2717,9 +2717,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo" @@ -2727,14 +2727,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(293,6)-(308,0)]" + "@value": "[(306,8)-(306,12)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo" @@ -2742,7 +2742,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(306,8)-(306,12)]" + "@value": "[(293,6)-(308,0)]" } ] } @@ -2865,9 +2865,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id" @@ -2875,35 +2875,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(287,8)-(287,12)]" + "@value": "[(286,6)-(289,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(286,6)-(289,0)]" + "@value": "[(287,8)-(288,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(287,8)-(288,0)]" + "@value": "[(287,8)-(287,12)]" } ] } @@ -3026,9 +3026,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus" @@ -3036,35 +3036,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(312,8)-(312,12)]" + "@value": "[(311,6)-(314,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(311,6)-(314,0)]" + "@value": "[(312,8)-(313,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(312,8)-(313,0)]" + "@value": "[(312,8)-(312,12)]" } ] } @@ -3268,21 +3268,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(291,8)-(291,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind/source-map/lexical/element_3", @@ -3336,6 +3321,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(291,8)-(291,12)]" + } + ] + } ] } ] @@ -3527,9 +3527,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -3537,14 +3537,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(181,6)-(184,0)]" + "@value": "[(182,8)-(182,12)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -3552,7 +3552,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(182,8)-(182,12)]" + "@value": "[(181,6)-(184,0)]" } ] } @@ -4003,21 +4003,6 @@ "@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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2" - } - ], - "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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/lexical/element_4", @@ -4084,6 +4069,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -4674,21 +4674,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/prettyPrint/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(352,8)-(352,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4", @@ -4755,9 +4740,24 @@ } ] } - ] - } - ] + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/prettyPrint/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(352,8)-(352,12)]" + } + ] + } + ] + } + ] } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -4888,21 +4888,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/quotaUser/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(358,8)-(358,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2", @@ -4943,6 +4928,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/quotaUser/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(358,8)-(358,12)]" + } + ] + } ] } ] @@ -5076,21 +5076,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/key/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(342,8)-(342,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2", @@ -5131,6 +5116,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/key/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(342,8)-(342,12)]" + } + ] + } ] } ] @@ -5264,21 +5264,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/userIp/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(363,8)-(363,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2", @@ -5319,6 +5304,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/userIp/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(363,8)-(363,12)]" + } + ] + } ] } ] @@ -5452,21 +5452,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(347,8)-(347,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2", @@ -5507,6 +5492,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(347,8)-(347,12)]" + } + ] + } ] } ] @@ -5803,21 +5803,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(329,8)-(329,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5", @@ -5897,6 +5882,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(329,8)-(329,12)]" + } + ] + } ] } ] @@ -6030,21 +6030,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/fields/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(337,8)-(337,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2", @@ -6085,6 +6070,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/fields/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(337,8)-(337,12)]" + } + ] + } ] } ] @@ -6220,21 +6220,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(122,8)-(122,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/lexical/element_2", @@ -6275,6 +6260,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(122,8)-(122,12)]" + } + ] + } ] } ] @@ -6432,21 +6432,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(318,8)-(318,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel/source-map/lexical/element_2", @@ -6487,19 +6472,34 @@ } ] } - ] - } - ] - } - ], - "http://www.w3.org/ns/shacl#minCount": [ - { - "@value": 0 - } - ], - "http://www.w3.org/ns/shacl#name": [ - { - "@value": "classLabel" + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(318,8)-(318,12)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#minCount": [ + { + "@value": 0 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "classLabel" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -6666,9 +6666,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance" @@ -6676,35 +6676,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(323,8)-(323,12)]" + "@value": "[(320,6)-(325,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(320,6)-(325,0)]" + "@value": "[(321,8)-(322,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(321,8)-(322,0)]" + "@value": "[(323,8)-(323,12)]" } ] } @@ -6899,9 +6899,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema" @@ -6909,14 +6909,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(127,8)-(130,0)]" + "@value": "[(128,10)-(128,14)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema" @@ -6924,7 +6924,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(128,10)-(128,14)]" + "@value": "[(127,8)-(130,0)]" } ] } @@ -7362,21 +7362,6 @@ "@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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2" - } - ], - "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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/lexical/element_4", @@ -7443,6 +7428,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -7965,21 +7965,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/prettyPrint/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(352,8)-(352,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4", @@ -8046,6 +8031,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/prettyPrint/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(352,8)-(352,12)]" + } + ] + } ] } ] @@ -8179,21 +8179,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/quotaUser/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(358,8)-(358,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2", @@ -8234,6 +8219,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/quotaUser/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(358,8)-(358,12)]" + } + ] + } ] } ] @@ -8367,21 +8367,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/key/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(342,8)-(342,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2", @@ -8422,6 +8407,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/key/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(342,8)-(342,12)]" + } + ] + } ] } ] @@ -8555,21 +8555,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/userIp/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(363,8)-(363,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2", @@ -8610,6 +8595,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/userIp/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(363,8)-(363,12)]" + } + ] + } ] } ] @@ -8743,21 +8743,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(347,8)-(347,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2", @@ -8798,6 +8783,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(347,8)-(347,12)]" + } + ] + } ] } ] @@ -9094,32 +9094,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#in" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(329,8)-(329,12)]" - } - ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "http://www.w3.org/ns/shacl#in" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(332,8)-(333,16)]" + "@value": "[(332,8)-(333,16)]" } ] }, @@ -9188,6 +9173,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(329,8)-(329,12)]" + } + ] + } ] } ] @@ -9321,21 +9321,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(337,8)-(337,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2", @@ -9376,6 +9361,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(337,8)-(337,12)]" + } + ] + } ] } ] @@ -9511,21 +9511,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(122,8)-(122,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/lexical/element_2", @@ -9566,6 +9551,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(122,8)-(122,12)]" + } + ] + } ] } ] @@ -10039,21 +10039,6 @@ "@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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2" - } - ], - "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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/lexical/element_4", @@ -10120,6 +10105,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -10642,21 +10642,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/prettyPrint/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(352,8)-(352,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4", @@ -10723,6 +10708,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/prettyPrint/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(352,8)-(352,12)]" + } + ] + } ] } ] @@ -10856,21 +10856,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/quotaUser/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(358,8)-(358,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2", @@ -10911,6 +10896,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/quotaUser/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(358,8)-(358,12)]" + } + ] + } ] } ] @@ -11044,21 +11044,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/key/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(342,8)-(342,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2", @@ -11099,6 +11084,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/key/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(342,8)-(342,12)]" + } + ] + } ] } ] @@ -11232,21 +11232,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/userIp/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(363,8)-(363,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2", @@ -11287,6 +11272,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/userIp/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(363,8)-(363,12)]" + } + ] + } ] } ] @@ -11420,21 +11420,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(347,8)-(347,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2", @@ -11475,9 +11460,24 @@ } ] } - ] - } - ] + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(347,8)-(347,12)]" + } + ] + } + ] + } + ] } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -11771,21 +11771,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(329,8)-(329,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5", @@ -11865,6 +11850,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(329,8)-(329,12)]" + } + ] + } ] } ] @@ -11998,21 +11998,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(337,8)-(337,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2", @@ -12053,6 +12038,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(337,8)-(337,12)]" + } + ] + } ] } ] @@ -12188,21 +12188,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(122,8)-(122,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/lexical/element_2", @@ -12243,6 +12228,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(122,8)-(122,12)]" + } + ] + } ] } ] @@ -12643,21 +12643,6 @@ "@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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2" - } - ], - "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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/lexical/element_4", @@ -12724,6 +12709,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -13077,21 +13077,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/source-map/lexical/element_2", @@ -13132,6 +13117,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining" + } + ] + } ] } ] @@ -13329,21 +13329,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(352,8)-(352,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4", @@ -13410,6 +13395,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(352,8)-(352,12)]" + } + ] + } ] } ] @@ -13543,21 +13543,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(358,8)-(358,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2", @@ -13598,6 +13583,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(358,8)-(358,12)]" + } + ] + } ] } ] @@ -13731,21 +13731,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(342,8)-(342,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2", @@ -13786,19 +13771,34 @@ } ] } - ] - } - ] - } - ], - "http://a.ml/vocabularies/document-source-maps#sources": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/source-map", - "@type": [ - "http://a.ml/vocabularies/document-source-maps#SourceMap" - ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ - { + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(342,8)-(342,12)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { @@ -13919,21 +13919,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(363,8)-(363,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2", @@ -13974,6 +13959,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(363,8)-(363,12)]" + } + ] + } ] } ] @@ -14107,21 +14107,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(347,8)-(347,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2", @@ -14162,6 +14147,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(347,8)-(347,12)]" + } + ] + } ] } ] @@ -14458,21 +14458,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(329,8)-(329,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5", @@ -14552,6 +14537,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(329,8)-(329,12)]" + } + ] + } ] } ] @@ -14685,21 +14685,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(337,8)-(337,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2", @@ -14740,6 +14725,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(337,8)-(337,12)]" + } + ] + } ] } ] @@ -14875,21 +14875,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(122,8)-(122,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema/source-map/lexical/element_2", @@ -14930,6 +14915,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(122,8)-(122,12)]" + } + ] + } ] } ] @@ -14969,6 +14969,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data" + } + ], + "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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/source-map/lexical/element_3", @@ -15022,21 +15037,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "true" - } - ] - } ] } ] @@ -15194,9 +15194,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance" @@ -15204,14 +15204,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(248,12)-(248,16)]" + "@value": "[(246,10)-(250,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance" @@ -15219,7 +15219,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(246,10)-(250,0)]" + "@value": "[(248,12)-(248,16)]" } ] } @@ -15330,9 +15330,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input" @@ -15340,14 +15340,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(244,6)-(252,0)]" + "@value": "[(250,8)-(250,12)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input" @@ -15355,7 +15355,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(250,8)-(250,12)]" + "@value": "[(244,6)-(252,0)]" } ] } @@ -15550,9 +15550,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -15560,14 +15560,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(97,10)-(100,0)]" + "@value": "[(98,12)-(98,16)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -15575,7 +15575,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(98,12)-(98,16)]" + "@value": "[(97,10)-(100,0)]" } ] } @@ -16013,35 +16013,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(86,4)-(87,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/lexical/element_4", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "http://a.ml/vocabularies/core#description" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(86,4)-(87,0)]" - } - ] - }, + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ @@ -16094,6 +16079,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -16324,21 +16324,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/source-map/lexical/element_2", @@ -16379,6 +16364,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D" + } + ] + } ] } ] @@ -16471,21 +16471,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D/source-map/lexical/element_2", @@ -16526,6 +16511,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels" + } + ] + } ] } ] @@ -16723,21 +16723,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(352,8)-(352,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4", @@ -16804,6 +16789,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(352,8)-(352,12)]" + } + ] + } ] } ] @@ -16937,21 +16937,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(358,8)-(358,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2", @@ -16992,6 +16977,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(358,8)-(358,12)]" + } + ] + } ] } ] @@ -17125,21 +17125,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(342,8)-(342,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2", @@ -17180,6 +17165,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(342,8)-(342,12)]" + } + ] + } ] } ] @@ -17313,21 +17313,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(363,8)-(363,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2", @@ -17368,6 +17353,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(363,8)-(363,12)]" + } + ] + } ] } ] @@ -17501,21 +17501,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(347,8)-(347,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2", @@ -17556,6 +17541,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(347,8)-(347,12)]" + } + ] + } ] } ] @@ -17852,21 +17852,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(329,8)-(329,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5", @@ -17946,9 +17931,24 @@ } ] } - ] - } - ] + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(329,8)-(329,12)]" + } + ] + } + ] + } + ] } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -18079,21 +18079,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(337,8)-(337,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2", @@ -18134,6 +18119,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(337,8)-(337,12)]" + } + ] + } ] } ] @@ -18315,9 +18315,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName" @@ -18325,14 +18325,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(210,3)-(210,20)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName" @@ -18340,7 +18340,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(210,3)-(210,20)]" + "@value": "" } ] } @@ -18516,9 +18516,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance" @@ -18526,14 +18526,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(248,12)-(248,16)]" + "@value": "[(246,10)-(250,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance" @@ -18541,7 +18541,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(246,10)-(250,0)]" + "@value": "[(248,12)-(248,16)]" } ] } @@ -18652,9 +18652,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input" @@ -18662,14 +18662,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(244,6)-(252,0)]" + "@value": "[(250,8)-(250,12)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input" @@ -18677,7 +18677,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(250,8)-(250,12)]" + "@value": "[(244,6)-(252,0)]" } ] } @@ -18872,9 +18872,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -18882,14 +18882,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(218,10)-(221,0)]" + "@value": "[(219,12)-(219,16)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -18897,7 +18897,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(219,12)-(219,16)]" + "@value": "[(218,10)-(221,0)]" } ] } @@ -19335,21 +19335,6 @@ "@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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2" - } - ], - "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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/lexical/element_4", @@ -19416,6 +19401,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -19769,21 +19769,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/source-map/lexical/element_2", @@ -19824,6 +19809,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D" + } + ] + } ] } ] @@ -21847,21 +21847,6 @@ "@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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2" - } - ], - "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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/lexical/element_4", @@ -21928,6 +21913,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -21986,9 +21986,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id" @@ -21996,35 +21996,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(287,8)-(287,12)]" + "@value": "[(286,6)-(289,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(286,6)-(289,0)]" + "@value": "[(287,8)-(288,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(287,8)-(288,0)]" + "@value": "[(287,8)-(287,12)]" } ] } @@ -22228,21 +22228,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(291,8)-(291,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind/source-map/lexical/element_3", @@ -22296,6 +22281,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(291,8)-(291,12)]" + } + ] + } ] } ] @@ -22449,50 +22449,50 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(297,12)-(297,16)]" + "@value": "[(297,12)-(298,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "http://a.ml/vocabularies/shapes#format" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(297,12)-(298,0)]" + "@value": "[(296,12)-(297,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#format" + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(296,12)-(297,0)]" + "@value": "[(295,10)-(299,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy" @@ -22500,7 +22500,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(295,10)-(299,0)]" + "@value": "[(297,12)-(297,16)]" } ] } @@ -22628,21 +22628,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(301,12)-(301,16)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError/source-map/lexical/element_2", @@ -22683,6 +22668,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(301,12)-(301,16)]" + } + ] + } ] } ] @@ -22802,9 +22802,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType" @@ -22812,35 +22812,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(304,12)-(304,16)]" + "@value": "[(303,10)-(306,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(303,10)-(306,0)]" + "@value": "[(304,12)-(305,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(304,12)-(305,0)]" + "@value": "[(304,12)-(304,16)]" } ] } @@ -22951,9 +22951,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo" @@ -22961,14 +22961,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(293,6)-(308,0)]" + "@value": "[(306,8)-(306,12)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo" @@ -22976,7 +22976,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(306,8)-(306,12)]" + "@value": "[(293,6)-(308,0)]" } ] } @@ -23099,9 +23099,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink" @@ -23109,35 +23109,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(309,8)-(309,12)]" + "@value": "[(308,6)-(311,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(308,6)-(311,0)]" + "@value": "[(309,8)-(310,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(309,8)-(310,0)]" + "@value": "[(309,8)-(309,12)]" } ] } @@ -23260,9 +23260,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus" @@ -23270,35 +23270,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(312,8)-(312,12)]" + "@value": "[(311,6)-(314,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(311,6)-(314,0)]" + "@value": "[(312,8)-(313,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(312,8)-(313,0)]" + "@value": "[(312,8)-(312,12)]" } ] } @@ -23409,9 +23409,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training" @@ -23419,14 +23419,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(284,2)-(314,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training" @@ -23434,7 +23434,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(284,2)-(314,0)]" } ] } @@ -23496,9 +23496,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id" @@ -23506,35 +23506,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(255,8)-(255,12)]" + "@value": "[(254,6)-(257,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(254,6)-(257,0)]" + "@value": "[(255,8)-(256,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(255,8)-(256,0)]" + "@value": "[(255,8)-(255,12)]" } ] } @@ -23738,21 +23738,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(259,8)-(259,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind/source-map/lexical/element_3", @@ -23806,6 +23791,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(259,8)-(259,12)]" + } + ] + } ] } ] @@ -23925,9 +23925,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel" @@ -23935,35 +23935,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(262,8)-(262,12)]" + "@value": "[(261,6)-(264,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(261,6)-(264,0)]" + "@value": "[(262,8)-(263,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(262,8)-(263,0)]" + "@value": "[(262,8)-(262,12)]" } ] } @@ -24125,9 +24125,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label" @@ -24135,35 +24135,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(268,14)-(268,18)]" + "@value": "[(267,12)-(270,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(267,12)-(270,0)]" + "@value": "[(268,14)-(269,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(268,14)-(269,0)]" + "@value": "[(268,14)-(268,18)]" } ] } @@ -24291,21 +24291,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(272,14)-(272,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score/source-map/lexical/element_2", @@ -24346,6 +24331,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(272,14)-(272,18)]" + } + ] + } ] } ] @@ -24453,9 +24453,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items" @@ -24463,14 +24463,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(265,8)-(275,0)]" + "@value": "[(274,10)-(274,14)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items" @@ -24478,7 +24478,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(274,10)-(274,14)]" + "@value": "[(265,8)-(275,0)]" } ] } @@ -24498,9 +24498,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti" @@ -24508,14 +24508,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(275,8)-(275,12)]" + "@value": "[(264,6)-(277,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti" @@ -24523,7 +24523,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(264,6)-(277,0)]" + "@value": "[(275,8)-(275,12)]" } ] } @@ -24651,21 +24651,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputValue/scalar/outputValue/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputValue/scalar/outputValue" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(279,8)-(279,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputValue/scalar/outputValue/source-map/lexical/element_2", @@ -24706,6 +24691,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputValue/scalar/outputValue/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputValue/scalar/outputValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(279,8)-(279,12)]" + } + ] + } ] } ] @@ -24825,9 +24825,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink" @@ -24835,35 +24835,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(282,8)-(282,12)]" + "@value": "[(281,6)-(284,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(281,6)-(284,0)]" + "@value": "[(282,8)-(283,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(282,8)-(283,0)]" + "@value": "[(282,8)-(282,12)]" } ] } @@ -24974,9 +24974,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output" @@ -24984,14 +24984,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(252,2)-(284,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output" @@ -24999,7 +24999,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(252,2)-(284,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml.resolved.flattened.jsonld index 243a9cf9c2..fea738b180 100644 --- a/amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml.resolved.flattened.jsonld @@ -495,11 +495,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/source-map/lexical/element_2" @@ -510,6 +505,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -548,11 +548,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/source-map/lexical/element_2" @@ -563,6 +558,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/source-map/parent-end-point/element_0" + } ] }, { @@ -587,11 +587,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D/source-map/lexical/element_2" @@ -602,6 +597,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -648,11 +648,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/source-map/lexical/element_2" @@ -663,6 +658,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/source-map/parent-end-point/element_0" + } ] }, { @@ -1469,11 +1469,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -1489,6 +1484,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(89,2)-(177,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request", "@type": [ @@ -1595,11 +1595,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -1615,6 +1610,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict", "http://a.ml/vocabularies/document-source-maps#value": "[(91,4)-(118,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -1630,11 +1630,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels", "http://a.ml/vocabularies/document-source-maps#value": "[(208,0)-(241,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -1650,6 +1645,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(210,2)-(241,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request", "@type": [ @@ -1777,11 +1777,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -1797,6 +1792,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict", "http://a.ml/vocabularies/document-source-maps#value": "[(212,4)-(241,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/customDomainProperties/oas-externalDocs/object_1/url/source-map", "@type": [ @@ -6575,6 +6575,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/source-map/lexical/element_3" @@ -6588,11 +6593,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/source-map/virtual-element/element_0" - } ] }, { @@ -7100,14 +7100,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName/source-map/synthesized-field/element_2" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -7394,11 +7394,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema/source-map/lexical/element_2" @@ -7409,6 +7404,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -7463,11 +7463,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5" @@ -7487,6 +7482,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_4" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -7514,11 +7514,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2" @@ -7529,6 +7524,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -7556,11 +7556,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2" @@ -7571,6 +7566,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -7598,11 +7598,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2" @@ -7613,6 +7608,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -7660,11 +7660,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4" @@ -7681,6 +7676,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -7708,11 +7708,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2" @@ -7723,6 +7718,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -7750,11 +7750,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2" @@ -7765,6 +7760,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -7938,14 +7938,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } ] }, @@ -7964,14 +7964,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/source-map/lexical/element_0" } ] }, @@ -8006,11 +8006,6 @@ "@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/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/lexical/element_4" @@ -8027,6 +8022,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0" + } ] }, { @@ -8107,11 +8107,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4" @@ -8128,6 +8123,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8155,11 +8155,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2" @@ -8170,6 +8165,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8197,11 +8197,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2" @@ -8212,6 +8207,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8239,11 +8239,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2" @@ -8254,6 +8249,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8281,11 +8281,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2" @@ -8296,6 +8291,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8350,12 +8350,7 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5" }, @@ -8374,6 +8369,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_4" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8401,11 +8401,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2" @@ -8416,6 +8411,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8443,11 +8443,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/lexical/element_2" @@ -8458,6 +8453,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8564,14 +8564,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } ] }, @@ -8663,11 +8663,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4" @@ -8684,6 +8679,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8711,11 +8711,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2" @@ -8726,6 +8721,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8753,11 +8753,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2" @@ -8768,6 +8763,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8795,11 +8795,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2" @@ -8810,6 +8805,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8837,11 +8837,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2" @@ -8852,6 +8847,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8906,11 +8906,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5" @@ -8930,6 +8925,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_4" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8957,11 +8957,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2" @@ -8972,6 +8967,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9077,11 +9077,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4" @@ -9098,6 +9093,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9125,11 +9125,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2" @@ -9140,6 +9135,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9167,11 +9167,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2" @@ -9182,6 +9177,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9209,11 +9209,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2" @@ -9224,6 +9219,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9251,11 +9251,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2" @@ -9266,6 +9261,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9320,11 +9320,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5" @@ -9344,6 +9339,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_4" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9371,11 +9371,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2" @@ -9386,6 +9381,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9486,11 +9486,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4" @@ -9507,6 +9502,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9534,11 +9534,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2" @@ -9549,6 +9544,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9576,11 +9576,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2" @@ -9591,6 +9586,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9618,11 +9618,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2" @@ -9633,6 +9628,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9660,11 +9660,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2" @@ -9675,6 +9670,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9729,11 +9729,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5" @@ -9753,6 +9748,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_4" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9780,11 +9780,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2" @@ -9795,6 +9790,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -9822,11 +9822,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema/source-map/lexical/element_2" @@ -9837,9 +9832,14 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema/source-map/lexical/element_1" } - ] - }, - { + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0" + } + ] + }, + { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "true" @@ -9849,6 +9849,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", @@ -9869,11 +9874,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data", "http://a.ml/vocabularies/document-source-maps#value": "[(119,6)-(123,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input", "@type": [ @@ -9929,14 +9929,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } ] }, @@ -10099,14 +10099,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/source-map/lexical/element_0" } ] }, @@ -10178,11 +10178,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4" @@ -10199,6 +10194,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10226,11 +10226,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2" @@ -10241,6 +10236,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10268,11 +10268,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2" @@ -10283,6 +10278,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10310,11 +10310,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2" @@ -10325,6 +10320,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10352,11 +10352,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2" @@ -10367,6 +10362,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10421,11 +10421,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5" @@ -10445,6 +10440,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_4" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10472,11 +10472,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2" @@ -10487,6 +10482,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10530,14 +10530,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(210,3)-(210,20)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName", - "http://a.ml/vocabularies/document-source-maps#value": "[(210,3)-(210,20)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/parameter/parameter/path/hostedModelName/source-map/virtual-element/element_0", @@ -10575,14 +10575,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } ] }, @@ -10649,11 +10649,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/customDomainProperties/oas-tags/array_1/member/scalar_2", "http://a.ml/vocabularies/document-source-maps#value": "[(232,12)-(232,24)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(193,8)-(193,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -10669,6 +10664,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(191,6)-(194,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/data/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(193,8)-(193,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/scalar_1/source-map", "@type": [ @@ -10708,11 +10708,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(329,8)-(329,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#in", @@ -10744,9 +10739,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(330,8)-(330,50)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(337,8)-(337,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(329,8)-(329,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2", @@ -10764,9 +10759,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(336,6)-(338,87)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(342,8)-(342,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(337,8)-(337,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2", @@ -10784,9 +10779,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(341,6)-(343,170)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(347,8)-(347,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(342,8)-(342,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2", @@ -10803,6 +10798,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(346,6)-(348,58)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(347,8)-(347,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/scalar_1/source-map", "@type": [ @@ -10822,11 +10822,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", @@ -10853,9 +10848,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,21)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(358,8)-(358,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2", @@ -10873,9 +10868,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(357,6)-(359,212)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(363,8)-(363,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(358,8)-(358,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2", @@ -10892,6 +10887,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(362,6)-(364,122)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(363,8)-(363,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink", "@type": [ @@ -11143,14 +11143,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(181,6)-(184,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(182,8)-(182,12)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(182,8)-(182,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(181,6)-(184,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/source-map/synthesized-field/element_0", @@ -11158,14 +11158,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training", - "http://a.ml/vocabularies/document-source-maps#value": "[(284,2)-(314,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(284,2)-(314,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/settings/oauth2/flows/default-flow", @@ -11209,11 +11209,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -11239,6 +11234,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(74,2)-(74,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/settings/oauth2/flows/default-flow/scope/https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fprediction", "@type": [ @@ -11285,11 +11285,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/prettyPrint/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", @@ -11316,9 +11311,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,21)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/quotaUser/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(358,8)-(358,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/prettyPrint/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2", @@ -11336,9 +11331,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(357,6)-(359,212)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/key/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(342,8)-(342,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/quotaUser/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(358,8)-(358,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2", @@ -11356,9 +11351,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(341,6)-(343,170)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/userIp/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(363,8)-(363,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/key/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(342,8)-(342,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2", @@ -11376,9 +11371,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(362,6)-(364,122)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(347,8)-(347,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/userIp/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(363,8)-(363,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2", @@ -11395,6 +11390,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(346,6)-(348,58)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/oauth_token/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(347,8)-(347,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema/scalar_1/source-map", "@type": [ @@ -11434,11 +11434,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(329,8)-(329,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#in", @@ -11470,9 +11465,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(330,8)-(330,50)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/fields/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(337,8)-(337,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(329,8)-(329,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2", @@ -11490,11 +11485,11 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(336,6)-(338,87)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(122,8)-(122,12)]" - }, - { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/fields/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(337,8)-(337,12)]" + }, + { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(122,8)-(123,0)]" @@ -11509,6 +11504,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(119,6)-(123,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/parameter/parameter/path/data/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(122,8)-(122,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel", "@type": [ @@ -11620,14 +11620,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(127,8)-(130,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(128,10)-(128,14)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(128,10)-(128,14)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(127,8)-(130,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/security/default-requirement_1/schemes/Oauth2/settings/oauth2/flows/default-flow/scope/https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fprediction", @@ -11675,11 +11675,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/prettyPrint/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", @@ -11706,9 +11701,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,21)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/quotaUser/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(358,8)-(358,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/prettyPrint/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2", @@ -11726,9 +11721,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(357,6)-(359,212)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/key/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(342,8)-(342,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/quotaUser/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(358,8)-(358,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2", @@ -11746,9 +11741,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(341,6)-(343,170)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/userIp/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(363,8)-(363,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/key/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(342,8)-(342,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2", @@ -11766,9 +11761,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(362,6)-(364,122)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(347,8)-(347,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/userIp/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(363,8)-(363,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2", @@ -11785,6 +11780,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(346,6)-(348,58)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/oauth_token/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(347,8)-(347,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema/scalar_1/source-map", "@type": [ @@ -11824,11 +11824,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(329,8)-(329,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#in", @@ -11860,9 +11855,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(330,8)-(330,50)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(337,8)-(337,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(329,8)-(329,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2", @@ -11879,6 +11874,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(336,6)-(338,87)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/fields/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(337,8)-(337,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/security/default-requirement_1/schemes/Oauth2/settings/oauth2/flows/default-flow/scope/https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fprediction", "@type": [ @@ -11925,11 +11925,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/prettyPrint/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", @@ -11956,9 +11951,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,21)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/quotaUser/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(358,8)-(358,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/prettyPrint/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2", @@ -11976,9 +11971,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(357,6)-(359,212)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/key/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(342,8)-(342,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/quotaUser/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(358,8)-(358,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2", @@ -11996,9 +11991,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(341,6)-(343,170)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/userIp/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(363,8)-(363,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/key/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(342,8)-(342,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2", @@ -12016,9 +12011,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(362,6)-(364,122)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(347,8)-(347,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/userIp/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(363,8)-(363,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2", @@ -12035,6 +12030,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(346,6)-(348,58)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/oauth_token/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(347,8)-(347,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema/scalar_1/source-map", "@type": [ @@ -12074,11 +12074,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(329,8)-(329,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#in", @@ -12110,9 +12105,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(330,8)-(330,50)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(337,8)-(337,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/alt/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(329,8)-(329,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2", @@ -12129,6 +12124,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(336,6)-(338,87)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/expects/request/parameter/parameter/query/fields/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(337,8)-(337,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/delete/security/default-requirement_1/schemes/Oauth2/settings/oauth2/flows/default-flow/scope/https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fprediction", "@type": [ @@ -12175,11 +12175,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", @@ -12206,9 +12201,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,21)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(358,8)-(358,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2", @@ -12226,9 +12221,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(357,6)-(359,212)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(342,8)-(342,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(358,8)-(358,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2", @@ -12246,9 +12241,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(341,6)-(343,170)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(363,8)-(363,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(342,8)-(342,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2", @@ -12266,9 +12261,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(362,6)-(364,122)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(347,8)-(347,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(363,8)-(363,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2", @@ -12285,6 +12280,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(346,6)-(348,58)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(347,8)-(347,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/scalar_1/source-map", "@type": [ @@ -12324,11 +12324,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(329,8)-(329,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#in", @@ -12360,9 +12355,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(330,8)-(330,50)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(337,8)-(337,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(329,8)-(329,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2", @@ -12380,9 +12375,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(336,6)-(338,87)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(122,8)-(122,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(337,8)-(337,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema/source-map/lexical/element_2", @@ -12399,6 +12394,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(119,6)-(123,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/parameter/parameter/path/data/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(122,8)-(122,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input", "@type": [ @@ -12468,14 +12468,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(97,10)-(100,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(98,12)-(98,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(98,12)-(98,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(97,10)-(100,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id", @@ -12744,14 +12744,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output", - "http://a.ml/vocabularies/document-source-maps#value": "[(252,2)-(284,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(252,2)-(284,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/settings/oauth2/flows/default-flow/scope/https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fprediction", @@ -12799,11 +12799,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", @@ -12830,9 +12825,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,21)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(358,8)-(358,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/prettyPrint/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(352,8)-(352,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/lexical/element_2", @@ -12850,9 +12845,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(357,6)-(359,212)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(342,8)-(342,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/quotaUser/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(358,8)-(358,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/lexical/element_2", @@ -12870,9 +12865,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(341,6)-(343,170)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(363,8)-(363,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/key/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(342,8)-(342,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/lexical/element_2", @@ -12890,9 +12885,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(362,6)-(364,122)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(347,8)-(347,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/userIp/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(363,8)-(363,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/lexical/element_2", @@ -12909,6 +12904,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(346,6)-(348,58)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/oauth_token/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(347,8)-(347,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/scalar_1/source-map", "@type": [ @@ -12948,11 +12948,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(329,8)-(329,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#in", @@ -12984,9 +12979,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(330,8)-(330,50)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(337,8)-(337,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(329,8)-(329,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/lexical/element_2", @@ -13003,6 +12998,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(336,6)-(338,87)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/fields/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(337,8)-(337,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/customDomainProperties/oas-body-name/scalar_1/source-map", "@type": [ @@ -13028,14 +13028,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(218,10)-(221,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(219,12)-(219,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(219,12)-(219,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(218,10)-(221,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/settings/oauth2/flows/default-flow/scope/https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fprediction", @@ -13118,11 +13118,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/lexical/element_1" @@ -13130,9 +13125,14 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/lexical/element_0" } - ] - }, - { + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0" + } + ] + }, + { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#path", "http://a.ml/vocabularies/document-source-maps#value": "true" @@ -13234,14 +13234,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/lexical/element_0" } ] }, @@ -13270,11 +13270,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/lexical/element_1" @@ -13282,6 +13277,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -13309,11 +13309,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/lexical/element_1" @@ -13321,6 +13316,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -13368,11 +13368,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind/source-map/lexical/element_3" @@ -13386,6 +13381,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -13549,11 +13549,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel/source-map/lexical/element_2" @@ -13564,6 +13559,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -13612,11 +13612,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance/source-map/lexical/element_1" @@ -13624,6 +13619,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -13872,14 +13872,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/lexical/element_0" } ] }, @@ -13923,11 +13923,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id/source-map/lexical/element_1" @@ -13935,6 +13930,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -13982,11 +13982,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind/source-map/lexical/element_3" @@ -14000,6 +13995,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -14027,11 +14027,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel/source-map/lexical/element_1" @@ -14039,6 +14034,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -14091,14 +14091,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/source-map/type-property-lexical-info/element_0" } ] }, @@ -14127,11 +14127,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputValue/scalar/outputValue/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputValue/scalar/outputValue/source-map/lexical/element_2" @@ -14142,6 +14137,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputValue/scalar/outputValue/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputValue/scalar/outputValue/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -14169,11 +14169,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink/source-map/lexical/element_1" @@ -14181,6 +14176,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -14302,11 +14302,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/in/scalar_1", "http://a.ml/vocabularies/document-source-maps#value": "[(333,12)-(333,16)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink", - "http://a.ml/vocabularies/document-source-maps#value": "[(309,8)-(309,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink", @@ -14317,6 +14312,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(309,8)-(310,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/selfLink/scalar/selfLink", + "http://a.ml/vocabularies/document-source-maps#value": "[(309,8)-(309,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy", "@type": [ @@ -14453,20 +14453,15 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo", - "http://a.ml/vocabularies/document-source-maps#value": "[(293,6)-(308,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo", "http://a.ml/vocabularies/document-source-maps#value": "[(306,8)-(306,12)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id", - "http://a.ml/vocabularies/document-source-maps#value": "[(287,8)-(287,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo", + "http://a.ml/vocabularies/document-source-maps#value": "[(293,6)-(308,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/lexical/element_1", @@ -14479,9 +14474,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(287,8)-(288,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus", - "http://a.ml/vocabularies/document-source-maps#value": "[(312,8)-(312,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/id/scalar/id", + "http://a.ml/vocabularies/document-source-maps#value": "[(287,8)-(287,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/lexical/element_1", @@ -14493,6 +14488,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(312,8)-(313,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/trainingStatus/scalar/trainingStatus", + "http://a.ml/vocabularies/document-source-maps#value": "[(312,8)-(312,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind/scalar_1/source-map", "@type": [ @@ -14512,11 +14512,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind", - "http://a.ml/vocabularies/document-source-maps#value": "[(291,8)-(291,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", @@ -14537,6 +14532,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind", "http://a.ml/vocabularies/document-source-maps#value": "[(289,6)-(293,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/kind/scalar/kind", + "http://a.ml/vocabularies/document-source-maps#value": "[(291,8)-(291,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/scheme/Oauth2/settings/oauth2/flows/default-flow/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#accessTokenUri", @@ -14572,11 +14572,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/parameter/parameter/query/alt/scalar/schema/in/scalar_1", "http://a.ml/vocabularies/document-source-maps#value": "[(333,12)-(333,16)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel", - "http://a.ml/vocabularies/document-source-maps#value": "[(318,8)-(318,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -14592,6 +14587,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel", "http://a.ml/vocabularies/document-source-maps#value": "[(316,6)-(320,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/classLabel/scalar/classLabel", + "http://a.ml/vocabularies/document-source-maps#value": "[(318,8)-(318,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance/scalar/items/source-map", "@type": [ @@ -14608,11 +14608,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance", - "http://a.ml/vocabularies/document-source-maps#value": "[(323,8)-(323,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance", @@ -14623,6 +14618,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(321,8)-(322,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Update/property/property/csvInstance/array/csvInstance", + "http://a.ml/vocabularies/document-source-maps#value": "[(323,8)-(323,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/get/expects/request/parameter/parameter/query/alt/scalar/schema/in/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -14714,20 +14714,15 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input", - "http://a.ml/vocabularies/document-source-maps#value": "[(244,6)-(252,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input", "http://a.ml/vocabularies/document-source-maps#value": "[(250,8)-(250,12)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id", - "http://a.ml/vocabularies/document-source-maps#value": "[(255,8)-(255,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input", + "http://a.ml/vocabularies/document-source-maps#value": "[(244,6)-(252,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id/source-map/lexical/element_1", @@ -14739,6 +14734,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(255,8)-(256,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/id/scalar/id", + "http://a.ml/vocabularies/document-source-maps#value": "[(255,8)-(255,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind/scalar_1/source-map", "@type": [ @@ -14758,11 +14758,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind", - "http://a.ml/vocabularies/document-source-maps#value": "[(259,8)-(259,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", @@ -14784,9 +14779,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(257,6)-(261,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel", - "http://a.ml/vocabularies/document-source-maps#value": "[(262,8)-(262,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/kind/scalar/kind", + "http://a.ml/vocabularies/document-source-maps#value": "[(259,8)-(259,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel/source-map/lexical/element_1", @@ -14798,6 +14793,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(262,8)-(263,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputLabel/scalar/outputLabel", + "http://a.ml/vocabularies/document-source-maps#value": "[(262,8)-(262,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label", "@type": [ @@ -14856,31 +14856,26 @@ "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/source-map/lexical/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti", - "http://a.ml/vocabularies/document-source-maps#value": "[(275,8)-(275,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti", "http://a.ml/vocabularies/document-source-maps#value": "[(264,6)-(277,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputValue/scalar/outputValue/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputValue/scalar/outputValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(279,8)-(279,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti", + "http://a.ml/vocabularies/document-source-maps#value": "[(275,8)-(275,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputValue/scalar/outputValue/source-map/lexical/element_2", @@ -14898,9 +14893,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(277,6)-(281,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink", - "http://a.ml/vocabularies/document-source-maps#value": "[(282,8)-(282,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputValue/scalar/outputValue/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputValue/scalar/outputValue", + "http://a.ml/vocabularies/document-source-maps#value": "[(279,8)-(279,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink/source-map/lexical/element_1", @@ -14912,6 +14907,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(282,8)-(283,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/selfLink/scalar/selfLink", + "http://a.ml/vocabularies/document-source-maps#value": "[(282,8)-(282,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/parameter/parameter/query/alt/scalar/schema/in/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -14932,11 +14932,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/lexical/element_2" @@ -14947,6 +14942,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -14974,11 +14974,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError/source-map/lexical/element_2" @@ -14989,6 +14984,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -15016,11 +15016,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/lexical/element_1" @@ -15028,6 +15023,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -15101,14 +15101,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/type-property-lexical-info/element_0" } ] }, @@ -15239,20 +15239,15 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(265,8)-(275,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items", "http://a.ml/vocabularies/document-source-maps#value": "[(274,10)-(274,14)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy", - "http://a.ml/vocabularies/document-source-maps#value": "[(297,12)-(297,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items", + "http://a.ml/vocabularies/document-source-maps#value": "[(265,8)-(275,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/lexical/element_2", @@ -15270,9 +15265,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(295,10)-(299,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError", - "http://a.ml/vocabularies/document-source-maps#value": "[(301,12)-(301,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/classificationAccuracy/scalar/classificationAccuracy", + "http://a.ml/vocabularies/document-source-maps#value": "[(297,12)-(297,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError/source-map/lexical/element_2", @@ -15290,9 +15285,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(299,10)-(303,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType", - "http://a.ml/vocabularies/document-source-maps#value": "[(304,12)-(304,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/meanSquaredError/scalar/meanSquaredError", + "http://a.ml/vocabularies/document-source-maps#value": "[(301,12)-(301,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/lexical/element_1", @@ -15304,6 +15299,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(304,12)-(305,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Ftraining%2F%7Bdata%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Training/property/property/modelInfo/shape/modelInfo/property/property/modelType/scalar/modelType", + "http://a.ml/vocabularies/document-source-maps#value": "[(304,12)-(304,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/scalar/items/source-map", "@type": [ @@ -15321,25 +15321,20 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance", - "http://a.ml/vocabularies/document-source-maps#value": "[(248,12)-(248,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(246,10)-(250,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance", - "http://a.ml/vocabularies/document-source-maps#value": "[(246,10)-(250,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(248,12)-(248,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label/source-map/lexical/element_1" @@ -15347,6 +15342,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -15374,11 +15374,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score/source-map/lexical/element_2" @@ -15389,6 +15384,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -15421,11 +15421,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Input/property/property/input/shape/input/property/property/csvInstance/array/csvInstance/scalar/items", "http://a.ml/vocabularies/document-source-maps#value": "[(247,12)-(248,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label", - "http://a.ml/vocabularies/document-source-maps#value": "[(268,14)-(268,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label", @@ -15437,9 +15432,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(268,14)-(269,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score", - "http://a.ml/vocabularies/document-source-maps#value": "[(272,14)-(272,18)]" + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/label/scalar/label", + "http://a.ml/vocabularies/document-source-maps#value": "[(268,14)-(268,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score/source-map/lexical/element_2", @@ -15456,6 +15451,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score", "http://a.ml/vocabularies/document-source-maps#value": "[(270,12)-(274,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml#/web-api/endpoint/%2Fhostedmodels%2F%7BhostedModelName%7D%2Fpredict/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Output/property/property/outputMulti/array/outputMulti/shape/items/property/property/score/scalar/score", + "http://a.ml/vocabularies/document-source-maps#value": "[(272,14)-(272,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/googleapis.compredictionv1.2swagger.raml", "http://a.ml/vocabularies/document#declares": [ diff --git a/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml.expanded.jsonld index d6ede15963..d1db40edd5 100644 --- a/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml.expanded.jsonld @@ -267,9 +267,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema" @@ -277,35 +277,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(13,26)]" + "@value": "[(12,10)-(12,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#maxProperties" + "@value": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,10)-(13,26)]" + "@value": "[(11,8)-(13,26)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#maxProperties" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,10)-(12,14)]" + "@value": "[(13,10)-(13,26)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml.flattened.jsonld index 065b53318e..1112e968ca 100644 --- a/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml.flattened.jsonld @@ -269,6 +269,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -276,11 +281,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -336,6 +336,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(12,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", @@ -346,11 +351,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#maxProperties", "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,26)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(12,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/add-facet.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/A/property/property/c/scalar/c/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml.expanded.jsonld index 8cb644251a..01c2016e9d 100644 --- a/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml.expanded.jsonld @@ -736,9 +736,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#inline-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type/source-map/inline-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type" @@ -746,14 +746,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,0)-(3,11)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#inline-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type/source-map/inline-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type" @@ -761,7 +761,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(2,0)-(3,11)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml.flattened.jsonld index f531e7f83a..760ecde901 100644 --- a/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml.flattened.jsonld @@ -453,14 +453,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type/source-map/lexical/element_0" } ] }, @@ -523,14 +523,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(2,0)-(3,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(2,0)-(3,11)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/inherits-resolution-declares/test-ramlfragment.raml#/web-api/endpoint/%2Fb/supportedOperation/get/expects/request/payload/application%2Fjson/shape/type/property/property/a/scalar/a/source-map", diff --git a/amf-cli/shared/src/test/resources/production/knowledge-graph-reduced/api.jsonld b/amf-cli/shared/src/test/resources/production/knowledge-graph-reduced/api.jsonld index d8fc687120..dce1e27898 100644 --- a/amf-cli/shared/src/test/resources/production/knowledge-graph-reduced/api.jsonld +++ b/amf-cli/shared/src/test/resources/production/knowledge-graph-reduced/api.jsonld @@ -2337,12 +2337,12 @@ } ], "smaps": { - "auto-generated-name": { - "#10": "" - }, "lexical": { "apiContract:examples": "[(17,8)-(19,0)]", "#10": "[(16,6)-(19,0)]" + }, + "auto-generated-name": { + "#10": "" } } } @@ -2355,12 +2355,12 @@ } ], "smaps": { + "virtual-element": { + "#8": "true" + }, "lexical": { "apiContract:payload": "[(15,4)-(19,0)]", "#8": "[(15,9)-(19,0)]" - }, - "virtual-element": { - "#8": "true" } } } @@ -2418,13 +2418,13 @@ } ], "smaps": { - "auto-generated-name": { - "#85": "" - }, "lexical": { "shacl:datatype": "[(14,12)-(15,0)]", "#85": "[(13,10)-(15,0)]" }, + "auto-generated-name": { + "#85": "" + }, "type-property-lexical-info": { "#85": "[(14,12)-(14,16)]" } diff --git a/amf-cli/shared/src/test/resources/production/lib-trait-location/api.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/production/lib-trait-location/api.resolved.expanded.jsonld index 2f033bd6a3..e8f6a18de8 100644 --- a/amf-cli/shared/src/test/resources/production/lib-trait-location/api.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/lib-trait-location/api.resolved.expanded.jsonld @@ -271,19 +271,19 @@ } ], "smaps": { - "resolved-link-target": { - "#2": "amf://id#8" - }, - "declared-element": { - "#2": "" - }, "lexical": { "doc:dataNode": "[(4,4)-(6,12)]", "#2": "[(3,2)-(6,12)]", "core:name": "[(3,2)-(3,4)]" }, "resolved-link": { + "#2": "amf://id#8" + }, + "resolved-link-target": { "#2": "amf://id#7" + }, + "declared-element": { + "#2": "" } } } @@ -472,19 +472,19 @@ } ], "smaps": { - "resolved-link-target": { - "#2": "amf://id#8" - }, - "declared-element": { - "#2": "" - }, "lexical": { "doc:dataNode": "[(4,4)-(6,12)]", "#2": "[(3,2)-(6,12)]", "core:name": "[(3,2)-(3,4)]" }, "resolved-link": { + "#2": "amf://id#8" + }, + "resolved-link-target": { "#2": "amf://id#7" + }, + "declared-element": { + "#2": "" } } } diff --git a/amf-cli/shared/src/test/resources/production/lib-trait-location/api.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/production/lib-trait-location/api.resolved.flattened.jsonld index 2da965a78a..427092f14e 100644 --- a/amf-cli/shared/src/test/resources/production/lib-trait-location/api.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/lib-trait-location/api.resolved.flattened.jsonld @@ -125,19 +125,19 @@ "@id": "#3" }, "smaps": { - "resolved-link-target": { - "#2": "amf://id#8" - }, - "declared-element": { - "#2": "" - }, "lexical": { "doc:dataNode": "[(4,4)-(6,12)]", "#2": "[(3,2)-(6,12)]", "core:name": "[(3,2)-(3,4)]" }, "resolved-link": { + "#2": "amf://id#8" + }, + "resolved-link-target": { "#2": "amf://id#7" + }, + "declared-element": { + "#2": "" } } }, diff --git a/amf-cli/shared/src/test/resources/production/lib-types/lib.expanded.jsonld b/amf-cli/shared/src/test/resources/production/lib-types/lib.expanded.jsonld index b7da24da85..213d6cdb58 100644 --- a/amf-cli/shared/src/test/resources/production/lib-types/lib.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/lib-types/lib.expanded.jsonld @@ -182,20 +182,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#9": "amf://id#10" - }, "type-property-lexical-info": { "#9": "[(16,4)-(16,8)]" }, - "lexical": { - "#9": "[(15,2)-(21,0)]" + "resolved-link": { + "#9": "amf://id#10" + }, + "resolved-link-target": { + "#9": "amf://id#3" }, "declared-element": { "#9": "" }, - "resolved-link-target": { - "#9": "amf://id#3" + "lexical": { + "#9": "[(15,2)-(21,0)]" } } } @@ -239,12 +239,12 @@ "type-property-lexical-info": { "#7": "[(26,8)-(26,12)]" }, + "inherited-shapes": { + "#7": "amf://id#11" + }, "lexical": { "core:name": "[(25,8)-(26,0)]", "#7": "[(24,6)-(26,21)]" - }, - "inherited-shapes": { - "#7": "amf://id#11" } } } @@ -280,21 +280,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#5": "amf://id#12" - }, "type-property-lexical-info": { "#5": "[(22,4)-(22,8)]" }, - "lexical": { - "shacl:name": "[(21,2)-(21,12)]", - "#5": "[(21,2)-(26,21)]" + "resolved-link": { + "#5": "amf://id#12" + }, + "resolved-link-target": { + "#5": "amf://id#5" }, "declared-element": { "#5": "" }, - "resolved-link-target": { - "#5": "amf://id#5" + "lexical": { + "shacl:name": "[(21,2)-(21,12)]", + "#5": "[(21,2)-(26,21)]" } } } @@ -330,21 +330,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#10" - }, "type-property-lexical-info": { "#3": "[(16,4)-(16,8)]" }, - "lexical": { - "shacl:name": "[(15,2)-(15,8)]", - "#3": "[(15,2)-(21,0)]" + "resolved-link": { + "#3": "amf://id#10" + }, + "resolved-link-target": { + "#3": "amf://id#3" }, "declared-element": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#3" + "lexical": { + "shacl:name": "[(15,2)-(15,8)]", + "#3": "[(15,2)-(21,0)]" } } } @@ -380,21 +380,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#13" - }, "type-property-lexical-info": { "#1": "[(9,4)-(9,8)]" }, - "lexical": { - "shacl:name": "[(8,2)-(8,14)]", - "#1": "[(8,2)-(15,0)]" + "resolved-link": { + "#1": "amf://id#13" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#1" + "lexical": { + "shacl:name": "[(8,2)-(8,14)]", + "#1": "[(8,2)-(15,0)]" } } }, @@ -483,20 +483,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#9": "amf://id#10" - }, "type-property-lexical-info": { "#9": "[(16,4)-(16,8)]" }, - "lexical": { - "#9": "[(15,2)-(21,0)]" + "resolved-link": { + "#9": "amf://id#10" + }, + "resolved-link-target": { + "#9": "amf://id#3" }, "declared-element": { "#9": "" }, - "resolved-link-target": { - "#9": "amf://id#3" + "lexical": { + "#9": "[(15,2)-(21,0)]" } } } @@ -540,12 +540,12 @@ "type-property-lexical-info": { "#7": "[(26,8)-(26,12)]" }, + "inherited-shapes": { + "#7": "amf://id#11" + }, "lexical": { "core:name": "[(25,8)-(26,0)]", "#7": "[(24,6)-(26,21)]" - }, - "inherited-shapes": { - "#7": "amf://id#11" } } } @@ -581,21 +581,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#5": "amf://id#12" - }, "type-property-lexical-info": { "#5": "[(22,4)-(22,8)]" }, - "lexical": { - "shacl:name": "[(21,2)-(21,12)]", - "#5": "[(21,2)-(26,21)]" + "resolved-link": { + "#5": "amf://id#12" + }, + "resolved-link-target": { + "#5": "amf://id#5" }, "declared-element": { "#5": "" }, - "resolved-link-target": { - "#5": "amf://id#5" + "lexical": { + "shacl:name": "[(21,2)-(21,12)]", + "#5": "[(21,2)-(26,21)]" } } }, @@ -713,20 +713,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#9": "amf://id#10" - }, "type-property-lexical-info": { "#9": "[(16,4)-(16,8)]" }, - "lexical": { - "#9": "[(15,2)-(21,0)]" + "resolved-link": { + "#9": "amf://id#10" + }, + "resolved-link-target": { + "#9": "amf://id#3" }, "declared-element": { "#9": "" }, - "resolved-link-target": { - "#9": "amf://id#3" + "lexical": { + "#9": "[(15,2)-(21,0)]" } } } @@ -770,12 +770,12 @@ "type-property-lexical-info": { "#7": "[(26,8)-(26,12)]" }, + "inherited-shapes": { + "#7": "amf://id#11" + }, "lexical": { "core:name": "[(25,8)-(26,0)]", "#7": "[(24,6)-(26,21)]" - }, - "inherited-shapes": { - "#7": "amf://id#11" } } } @@ -811,21 +811,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#5": "amf://id#12" - }, "type-property-lexical-info": { "#5": "[(22,4)-(22,8)]" }, - "lexical": { - "shacl:name": "[(21,2)-(21,12)]", - "#5": "[(21,2)-(26,21)]" + "resolved-link": { + "#5": "amf://id#12" + }, + "resolved-link-target": { + "#5": "amf://id#5" }, "declared-element": { "#5": "" }, - "resolved-link-target": { - "#5": "amf://id#5" + "lexical": { + "shacl:name": "[(21,2)-(21,12)]", + "#5": "[(21,2)-(26,21)]" } } } @@ -861,21 +861,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#10" - }, "type-property-lexical-info": { "#3": "[(16,4)-(16,8)]" }, - "lexical": { - "shacl:name": "[(15,2)-(15,8)]", - "#3": "[(15,2)-(21,0)]" + "resolved-link": { + "#3": "amf://id#10" + }, + "resolved-link-target": { + "#3": "amf://id#3" }, "declared-element": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#3" + "lexical": { + "shacl:name": "[(15,2)-(15,8)]", + "#3": "[(15,2)-(21,0)]" } } }, @@ -1022,20 +1022,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#9": "amf://id#10" - }, "type-property-lexical-info": { "#9": "[(16,4)-(16,8)]" }, - "lexical": { - "#9": "[(15,2)-(21,0)]" + "resolved-link": { + "#9": "amf://id#10" + }, + "resolved-link-target": { + "#9": "amf://id#3" }, "declared-element": { "#9": "" }, - "resolved-link-target": { - "#9": "amf://id#3" + "lexical": { + "#9": "[(15,2)-(21,0)]" } } } @@ -1079,12 +1079,12 @@ "type-property-lexical-info": { "#7": "[(26,8)-(26,12)]" }, + "inherited-shapes": { + "#7": "amf://id#11" + }, "lexical": { "core:name": "[(25,8)-(26,0)]", "#7": "[(24,6)-(26,21)]" - }, - "inherited-shapes": { - "#7": "amf://id#11" } } } @@ -1120,21 +1120,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#5": "amf://id#12" - }, "type-property-lexical-info": { "#5": "[(22,4)-(22,8)]" }, - "lexical": { - "shacl:name": "[(21,2)-(21,12)]", - "#5": "[(21,2)-(26,21)]" + "resolved-link": { + "#5": "amf://id#12" + }, + "resolved-link-target": { + "#5": "amf://id#5" }, "declared-element": { "#5": "" }, - "resolved-link-target": { - "#5": "amf://id#5" + "lexical": { + "shacl:name": "[(21,2)-(21,12)]", + "#5": "[(21,2)-(26,21)]" } } } @@ -1170,21 +1170,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#10" - }, "type-property-lexical-info": { "#3": "[(16,4)-(16,8)]" }, - "lexical": { - "shacl:name": "[(15,2)-(15,8)]", - "#3": "[(15,2)-(21,0)]" + "resolved-link": { + "#3": "amf://id#10" + }, + "resolved-link-target": { + "#3": "amf://id#3" }, "declared-element": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#3" + "lexical": { + "shacl:name": "[(15,2)-(15,8)]", + "#3": "[(15,2)-(21,0)]" } } } @@ -1220,15 +1220,6 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#11": "amf://id#11" - }, - "declared-element": { - "#11": "" - }, - "lexical": { - "#11": "[(3,2)-(5,0)]" - }, "type-property-lexical-info": { "#11": "[(4,4)-(4,8)]" }, @@ -1237,6 +1228,15 @@ }, "inherited-shapes": { "#11": "amf://id#1" + }, + "resolved-link-target": { + "#11": "amf://id#11" + }, + "declared-element": { + "#11": "" + }, + "lexical": { + "#11": "[(3,2)-(5,0)]" } } }, @@ -1393,20 +1393,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#9": "amf://id#10" - }, "type-property-lexical-info": { "#9": "[(16,4)-(16,8)]" }, - "lexical": { - "#9": "[(15,2)-(21,0)]" + "resolved-link": { + "#9": "amf://id#10" + }, + "resolved-link-target": { + "#9": "amf://id#3" }, "declared-element": { "#9": "" }, - "resolved-link-target": { - "#9": "amf://id#3" + "lexical": { + "#9": "[(15,2)-(21,0)]" } } } @@ -1450,12 +1450,12 @@ "type-property-lexical-info": { "#7": "[(26,8)-(26,12)]" }, + "inherited-shapes": { + "#7": "amf://id#11" + }, "lexical": { "core:name": "[(25,8)-(26,0)]", "#7": "[(24,6)-(26,21)]" - }, - "inherited-shapes": { - "#7": "amf://id#11" } } } @@ -1491,21 +1491,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#5": "amf://id#12" - }, "type-property-lexical-info": { "#5": "[(22,4)-(22,8)]" }, - "lexical": { - "shacl:name": "[(21,2)-(21,12)]", - "#5": "[(21,2)-(26,21)]" + "resolved-link": { + "#5": "amf://id#12" + }, + "resolved-link-target": { + "#5": "amf://id#5" }, "declared-element": { "#5": "" }, - "resolved-link-target": { - "#5": "amf://id#5" + "lexical": { + "shacl:name": "[(21,2)-(21,12)]", + "#5": "[(21,2)-(26,21)]" } } } @@ -1541,21 +1541,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#10" - }, "type-property-lexical-info": { "#3": "[(16,4)-(16,8)]" }, - "lexical": { - "shacl:name": "[(15,2)-(15,8)]", - "#3": "[(15,2)-(21,0)]" + "resolved-link": { + "#3": "amf://id#10" + }, + "resolved-link-target": { + "#3": "amf://id#3" }, "declared-element": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#3" + "lexical": { + "shacl:name": "[(15,2)-(15,8)]", + "#3": "[(15,2)-(21,0)]" } } } @@ -1591,15 +1591,6 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#11": "amf://id#11" - }, - "declared-element": { - "#11": "" - }, - "lexical": { - "#11": "[(3,2)-(5,0)]" - }, "type-property-lexical-info": { "#11": "[(4,4)-(4,8)]" }, @@ -1608,6 +1599,15 @@ }, "inherited-shapes": { "#11": "amf://id#1" + }, + "resolved-link-target": { + "#11": "amf://id#11" + }, + "declared-element": { + "#11": "" + }, + "lexical": { + "#11": "[(3,2)-(5,0)]" } } } @@ -1618,13 +1618,13 @@ } ], "smaps": { - "declared-element": { - "#16": "" - }, "lexical": { "shacl:name": "[(5,2)-(5,10)]", "#16": "[(5,2)-(8,0)]" }, + "declared-element": { + "#16": "" + }, "type-property-lexical-info": { "#16": "[(6,4)-(6,8)]" } diff --git a/amf-cli/shared/src/test/resources/production/lib-types/lib.flattened.jsonld b/amf-cli/shared/src/test/resources/production/lib-types/lib.flattened.jsonld index 2a869dd0b1..5575a87a4e 100644 --- a/amf-cli/shared/src/test/resources/production/lib-types/lib.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/lib-types/lib.flattened.jsonld @@ -62,21 +62,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#13" - }, "type-property-lexical-info": { "#1": "[(9,4)-(9,8)]" }, - "lexical": { - "shacl:name": "[(8,2)-(8,14)]", - "#1": "[(8,2)-(15,0)]" + "resolved-link": { + "#1": "amf://id#13" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#1" + "lexical": { + "shacl:name": "[(8,2)-(8,14)]", + "#1": "[(8,2)-(15,0)]" } } }, @@ -100,21 +100,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#5": "amf://id#12" - }, "type-property-lexical-info": { "#5": "[(22,4)-(22,8)]" }, - "lexical": { - "shacl:name": "[(21,2)-(21,12)]", - "#5": "[(21,2)-(26,21)]" + "resolved-link": { + "#5": "amf://id#12" + }, + "resolved-link-target": { + "#5": "amf://id#5" }, "declared-element": { "#5": "" }, - "resolved-link-target": { - "#5": "amf://id#5" + "lexical": { + "shacl:name": "[(21,2)-(21,12)]", + "#5": "[(21,2)-(26,21)]" } } }, @@ -138,21 +138,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#10" - }, "type-property-lexical-info": { "#3": "[(16,4)-(16,8)]" }, - "lexical": { - "shacl:name": "[(15,2)-(15,8)]", - "#3": "[(15,2)-(21,0)]" + "resolved-link": { + "#3": "amf://id#10" + }, + "resolved-link-target": { + "#3": "amf://id#3" }, "declared-element": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#3" + "lexical": { + "shacl:name": "[(15,2)-(15,8)]", + "#3": "[(15,2)-(21,0)]" } } }, @@ -176,15 +176,6 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#11": "amf://id#11" - }, - "declared-element": { - "#11": "" - }, - "lexical": { - "#11": "[(3,2)-(5,0)]" - }, "type-property-lexical-info": { "#11": "[(4,4)-(4,8)]" }, @@ -193,6 +184,15 @@ }, "inherited-shapes": { "#11": "amf://id#1" + }, + "resolved-link-target": { + "#11": "amf://id#11" + }, + "declared-element": { + "#11": "" + }, + "lexical": { + "#11": "[(3,2)-(5,0)]" } } }, @@ -210,13 +210,13 @@ }, "shacl:name": "accounts", "smaps": { - "declared-element": { - "#16": "" - }, "lexical": { "shacl:name": "[(5,2)-(5,10)]", "#16": "[(5,2)-(8,0)]" }, + "declared-element": { + "#16": "" + }, "type-property-lexical-info": { "#16": "[(6,4)-(6,8)]" } @@ -333,12 +333,12 @@ "type-property-lexical-info": { "#7": "[(26,8)-(26,12)]" }, + "inherited-shapes": { + "#7": "amf://id#11" + }, "lexical": { "core:name": "[(25,8)-(26,0)]", "#7": "[(24,6)-(26,21)]" - }, - "inherited-shapes": { - "#7": "amf://id#11" } } }, @@ -390,20 +390,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#9": "amf://id#10" - }, "type-property-lexical-info": { "#9": "[(16,4)-(16,8)]" }, - "lexical": { - "#9": "[(15,2)-(21,0)]" + "resolved-link": { + "#9": "amf://id#10" + }, + "resolved-link-target": { + "#9": "amf://id#3" }, "declared-element": { "#9": "" }, - "resolved-link-target": { - "#9": "amf://id#3" + "lexical": { + "#9": "[(15,2)-(21,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml.resolved.expanded.jsonld index a8f0b0aa87..ed387975a4 100644 --- a/amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml.resolved.expanded.jsonld @@ -193,9 +193,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema" @@ -203,35 +203,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(10,10)-(18,35)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,10)-(18,35)]" + "@value": "[(11,12)-(18,35)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,12)-(18,35)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml.resolved.flattened.jsonld index f945a5f1b7..8a996fd30b 100644 --- a/amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml.resolved.flattened.jsonld @@ -260,11 +260,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema/source-map/lexical/element_1" @@ -272,6 +267,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema/source-map/auto-generated-name/element_0" + } ] }, { @@ -303,11 +303,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema", @@ -318,6 +313,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(11,12)-(18,35)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/microsoft_azure_blob_service.raml#/web-api/endpoint/%2F/supportedOperation/get/returns/resp/200/payload/application%2Fxml/any/schema/examples/example/Get_storage_stats%22/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#strict", 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 6ee6d650ff..fa06af82ad 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 @@ -44,9 +44,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/server/petstore.swagger.io%2Fapi/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/server/petstore.swagger.io%2Fapi/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -54,14 +54,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,2)-(18,31)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/server/petstore.swagger.io%2Fapi/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/server/petstore.swagger.io%2Fapi/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -69,7 +69,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(18,2)-(18,31)]" } ] } @@ -400,9 +400,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "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/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items/source-map/lexical/element_1", "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/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items" @@ -410,35 +410,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(10,12)]" + "@value": "[(9,4)-(11,5)]" } ] - } - ], - "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/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items/source-map/lexical/element_0", "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/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,4)-(11,5)]" + "@value": "[(10,6)-(10,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(10,22)]" + "@value": "[(10,6)-(10,12)]" } ] } @@ -468,21 +468,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/source-map/type-property-lexical-info/element_0", - "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/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(7,4)-(7,10)]" - } - ] - } - ], "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/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/source-map/lexical/element_2", @@ -523,6 +508,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/source-map/type-property-lexical-info/element_0", + "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/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(7,4)-(7,10)]" + } + ] + } ] } ] @@ -698,21 +698,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/type-property-lexical-info/element_0", - "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/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/limit/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(18,4)-(18,10)]" - } - ] - } - ], "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/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/lexical/element_3", @@ -766,6 +751,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/type-property-lexical-info/element_0", + "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/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/limit/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,4)-(18,10)]" + } + ] + } ] } ] @@ -1008,9 +1008,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "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/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/lexical/element_0", "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/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default" @@ -1018,14 +1018,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(45,12)-(50,13)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0", "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/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default" @@ -1033,7 +1033,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(45,12)-(50,13)]" + "@value": "" } ] } @@ -1447,9 +1447,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + "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/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson/source-map/body-parameter/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson/source-map/lexical/element_0", "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/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson" @@ -1457,14 +1457,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(64,10)-(72,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson/source-map/body-parameter/element_0", "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/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson" @@ -1472,7 +1472,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,10)-(72,11)]" + "@value": "true" } ] } @@ -2045,21 +2045,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/type-property-lexical-info/element_0", - "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/expects/request/uri%20parameter/parameter/path/id/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(100,12)-(100,18)]" - } - ] - } - ], "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/lexical/element_3", @@ -2113,6 +2098,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/type-property-lexical-info/element_0", + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/expects/request/uri%20parameter/parameter/path/id/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(100,12)-(100,18)]" + } + ] + } ] } ] @@ -2747,21 +2747,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/delete/deletePet/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/type-property-lexical-info/element_0", - "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/delete/deletePet/expects/request/uri%20parameter/parameter/path/id/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(128,12)-(128,18)]" - } - ] - } - ], "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/delete/deletePet/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/lexical/element_3", @@ -2815,6 +2800,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/delete/deletePet/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/type-property-lexical-info/element_0", + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/delete/deletePet/expects/request/uri%20parameter/parameter/path/id/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(128,12)-(128,18)]" + } + ] + } ] } ] @@ -3523,21 +3523,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", - "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(9,6)-(9,12)]" - } - ] - } - ], "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id/source-map/lexical/element_2", @@ -3578,6 +3563,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(9,6)-(9,12)]" + } + ] + } ] } ] @@ -3669,9 +3669,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/lexical/element_1", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name" @@ -3679,35 +3679,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,6)-(13,12)]" + "@value": "[(12,4)-(14,5)]" } ] - } - ], - "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/lexical/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,4)-(14,5)]" + "@value": "[(13,6)-(13,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,6)-(13,22)]" + "@value": "[(13,6)-(13,12)]" } ] } @@ -3802,21 +3802,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/type-property-lexical-info/element_0", - "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(16,6)-(16,12)]" - } - ] - } - ], "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/lexical/element_1", @@ -3844,9 +3829,24 @@ } ] } - ] - } - ] + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/type-property-lexical-info/element_0", + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,6)-(16,12)]" + } + ] + } + ] + } + ] } ], "http://www.w3.org/ns/shacl#minCount": [ @@ -3943,9 +3943,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/type-property-lexical-info/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0" @@ -3953,14 +3953,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(2,2)-(2,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#inline-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/inline-element/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0" @@ -3968,14 +3968,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(19,1)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/auto-generated-name/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0" @@ -3983,14 +3983,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,2)-(2,8)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#inline-element": [ + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/inline-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/lexical/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0" @@ -3998,7 +3998,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(1,0)-(19,1)]" } ] } @@ -4065,21 +4065,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code/source-map/type-property-lexical-info/element_0", - "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(9,6)-(9,12)]" - } - ] - } - ], "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code/source-map/lexical/element_2", @@ -4120,6 +4105,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code/source-map/type-property-lexical-info/element_0", + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(9,6)-(9,12)]" + } + ] + } ] } ] @@ -4211,9 +4211,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message/source-map/lexical/element_1", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message" @@ -4221,35 +4221,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,6)-(13,12)]" + "@value": "[(12,4)-(14,5)]" } ] - } - ], - "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message/source-map/lexical/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,4)-(14,5)]" + "@value": "[(13,6)-(13,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,6)-(13,22)]" + "@value": "[(13,6)-(13,12)]" } ] } @@ -4350,9 +4350,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema" @@ -4360,14 +4360,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(2,2)-(2,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#inline-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/inline-element/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema" @@ -4375,14 +4375,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(16,1)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/auto-generated-name/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema" @@ -4390,14 +4390,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,2)-(2,8)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#inline-element": [ + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/inline-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/lexical/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema" @@ -4405,7 +4405,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(1,0)-(16,1)]" } ] } @@ -4497,21 +4497,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", - "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(9,6)-(9,12)]" - } - ] - } - ], "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id/source-map/lexical/element_2", @@ -4552,6 +4537,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(9,6)-(9,12)]" + } + ] + } ] } ] @@ -4643,9 +4643,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/lexical/element_1", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name" @@ -4653,35 +4653,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,6)-(13,12)]" + "@value": "[(12,4)-(14,5)]" } ] - } - ], - "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/lexical/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,4)-(14,5)]" + "@value": "[(13,6)-(13,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,6)-(13,22)]" + "@value": "[(13,6)-(13,12)]" } ] } @@ -4776,9 +4776,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/lexical/element_1", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag" @@ -4786,35 +4786,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,6)-(16,12)]" + "@value": "[(15,4)-(17,5)]" } ] - } - ], - "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/lexical/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,4)-(17,5)]" + "@value": "[(16,6)-(16,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,6)-(16,22)]" + "@value": "[(16,6)-(16,12)]" } ] } @@ -4917,9 +4917,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/type-property-lexical-info/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0" @@ -4927,14 +4927,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(2,2)-(2,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#inline-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/inline-element/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0" @@ -4942,14 +4942,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(19,1)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/auto-generated-name/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0" @@ -4957,14 +4957,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,2)-(2,8)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#inline-element": [ + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/inline-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/lexical/element_0", "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0" @@ -4972,7 +4972,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(1,0)-(19,1)]" } ] } @@ -5039,21 +5039,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0", - "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/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(13,10)-(13,16)]" - } - ] - } - ], "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/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description/source-map/lexical/element_2", @@ -5094,6 +5079,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0", + "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/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(13,10)-(13,16)]" + } + ] + } ] } ] @@ -5344,9 +5344,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#inline-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/source-map/inline-element/element_0", "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/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet" @@ -5354,35 +5354,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(19,1)]" + "@value": "" } ] - }, + } + ], + "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/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#and" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(18,3)]" + "@value": "[(1,0)-(19,1)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#inline-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/source-map/inline-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/source-map/lexical/element_0", "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/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet" + "@value": "http://www.w3.org/ns/shacl#and" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(3,2)-(18,3)]" } ] } 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 f8f824ff2c..f81ea3b130 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 @@ -181,14 +181,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/server/petstore.swagger.io%2Fapi/source-map/host-lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/server/petstore.swagger.io%2Fapi/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/server/petstore.swagger.io%2Fapi/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/server/petstore.swagger.io%2Fapi/source-map/host-lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -451,14 +451,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,48)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/server/petstore.swagger.io%2Fapi/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/server/petstore.swagger.io%2Fapi/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(18,31)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/server/petstore.swagger.io%2Fapi/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/server/petstore.swagger.io%2Fapi/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(18,31)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/server/petstore.swagger.io%2Fapi/source-map/virtual-element/element_0", @@ -1668,14 +1668,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + "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/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson/source-map/body-parameter/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson/source-map/body-parameter/element_0" } ], "http://a.ml/vocabularies/document-source-maps#required-param-payload": [ @@ -2028,11 +2028,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/source-map/type-property-lexical-info/element_0" - } - ], "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/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/source-map/lexical/element_2" @@ -2043,6 +2038,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2085,11 +2085,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "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/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/lexical/element_3" @@ -2103,6 +2098,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2145,14 +2145,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "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/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0" } ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ @@ -2232,14 +2232,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/lexical/element_0" } ] }, @@ -2286,6 +2286,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/source-map/type-property-lexical-info/element_0" + } + ], "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/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/source-map/lexical/element_1" @@ -2293,22 +2298,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/source-map/type-property-lexical-info/element_0" - } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson/source-map/body-parameter/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(64,10)-(72,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson/source-map/body-parameter/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "[(64,10)-(72,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/application%2Fjson/source-map/required-param-payload/element_0", @@ -2405,14 +2405,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/lexical/element_0" } ] }, @@ -2431,11 +2431,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/lexical/element_3" @@ -2449,6 +2444,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2501,11 +2501,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/delete/deletePet/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/delete/deletePet/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/lexical/element_3" @@ -2519,6 +2514,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/delete/deletePet/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/delete/deletePet/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2566,11 +2566,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items/source-map/type-property-lexical-info/element_0" - } - ], "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/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items/source-map/lexical/element_1" @@ -2578,13 +2573,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,10)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#collectionFormat", @@ -2601,9 +2596,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(2,15)-(12,3)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/limit/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,4)-(18,10)]" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,10)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/lexical/element_3", @@ -2626,15 +2621,20 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(13,17)-(20,3)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/limit/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,4)-(18,10)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default", "http://a.ml/vocabularies/document-source-maps#value": "[(45,12)-(50,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default", @@ -2727,14 +2727,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(2,2)-(2,8)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(16,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(16,1)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description", @@ -2810,6 +2810,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#recursive", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet", + "http://a.ml/vocabularies/document-source-maps#value": "[(2,2)-(2,8)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet", @@ -2820,11 +2825,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#and", "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(18,3)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet", - "http://a.ml/vocabularies/document-source-maps#value": "[(2,2)-(2,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id", "@type": [ @@ -2948,20 +2948,15 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0", "http://a.ml/vocabularies/document-source-maps#value": "[(2,2)-(2,8)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0", - "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(19,1)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0", "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/expects/request/uri%20parameter/parameter/path/id/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(100,12)-(100,18)]" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0", + "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(19,1)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/lexical/element_3", @@ -2984,9 +2979,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(95,10)-(102,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/delete/deletePet/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/delete/deletePet/expects/request/uri%20parameter/parameter/path/id/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(128,12)-(128,18)]" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/expects/request/uri%20parameter/parameter/path/id/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(100,12)-(100,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/delete/deletePet/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/lexical/element_3", @@ -3009,9 +3004,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(123,10)-(130,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/delete/deletePet/expects/request/uri%20parameter/parameter/path/id/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/delete/deletePet/expects/request/uri%20parameter/parameter/path/id/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(128,12)-(128,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items/source-map/lexical/element_1", @@ -3023,16 +3018,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/expects/request/parameter/parameter/query/tags/array/schema/scalar/items", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code/source-map/type-property-lexical-info/element_0" - } - ], "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code/source-map/lexical/element_2" @@ -3043,6 +3038,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3060,11 +3060,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0" - } - ], "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message/source-map/lexical/element_1" @@ -3072,6 +3067,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3170,11 +3170,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0" - } - ], "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id/source-map/lexical/element_2" @@ -3185,6 +3180,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3202,11 +3202,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/lexical/element_1" @@ -3214,6 +3209,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3231,11 +3231,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/type-property-lexical-info/element_0" - } - ], "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/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/lexical/element_1" @@ -3243,6 +3238,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3255,11 +3255,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag", "http://a.ml/vocabularies/document-source-maps#value": "[(15,4)-(17,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(9,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -3276,9 +3271,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(11,5)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,6)-(13,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/code/scalar/code", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(9,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message/source-map/lexical/element_1", @@ -3290,16 +3285,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(13,6)-(13,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/default/payload/default/shape/schema/property/property/message/scalar/message", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,6)-(13,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0" - } - ], "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/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description/source-map/lexical/element_2" @@ -3310,6 +3305,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3342,11 +3342,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/name", "http://a.ml/vocabularies/document-source-maps#value": "" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(9,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -3363,9 +3358,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(11,5)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,6)-(13,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/id/scalar/id", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(9,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/lexical/element_1", @@ -3378,9 +3373,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(13,6)-(13,22)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(16,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,6)-(13,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/lexical/element_1", @@ -3393,9 +3388,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(16,22)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/find%20pet%20by%20id/returns/resp/200/payload/default/shape/item0/property/property/tag/scalar/tag", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(16,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description/source-map/lexical/element_2", @@ -3412,6 +3407,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(15,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/endpoint/%2Fpets/supportedOperation/post/addPet/expects/request/payload/pet/shape/pet/and/shape/item1/property/property/description/scalar/description", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json", "@type": [ diff --git a/amf-cli/shared/src/test/resources/production/oas-example.json.expanded.jsonld b/amf-cli/shared/src/test/resources/production/oas-example.json.expanded.jsonld index 22687df700..eb3393a41b 100644 --- a/amf-cli/shared/src/test/resources/production/oas-example.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/oas-example.json.expanded.jsonld @@ -2009,9 +2009,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default" @@ -2019,35 +2019,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(34,12)-(53,13)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#and" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,14)-(39,15)]" + "@value": "[(34,12)-(53,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default" + "@value": "http://www.w3.org/ns/shacl#and" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(35,14)-(39,15)]" } ] } @@ -4000,9 +4000,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default" @@ -4010,35 +4010,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(34,12)-(53,13)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#and" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,14)-(39,15)]" + "@value": "[(34,12)-(53,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default" + "@value": "http://www.w3.org/ns/shacl#and" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(35,14)-(39,15)]" } ] } @@ -4346,9 +4346,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name" @@ -4356,35 +4356,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,10)-(12,16)]" + "@value": "[(11,8)-(13,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(13,9)]" + "@value": "[(12,10)-(12,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,10)-(12,26)]" + "@value": "[(12,10)-(12,16)]" } ] } @@ -4481,9 +4481,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address" @@ -4491,35 +4491,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,10)-(15,16)]" + "@value": "[(14,8)-(16,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,8)-(16,9)]" + "@value": "[(15,10)-(15,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,10)-(15,26)]" + "@value": "[(15,10)-(15,16)]" } ] } @@ -4616,9 +4616,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value" @@ -4626,35 +4626,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,10)-(18,16)]" + "@value": "[(17,8)-(19,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(19,9)]" + "@value": "[(18,10)-(18,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,10)-(18,26)]" + "@value": "[(18,10)-(18,16)]" } ] } @@ -5073,6 +5073,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org" + } + ], + "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/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/source-map/lexical/element_2", @@ -5113,21 +5128,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/production/oas-example.json.flattened.jsonld b/amf-cli/shared/src/test/resources/production/oas-example.json.flattened.jsonld index 685c687f3b..5186bf0003 100644 --- a/amf-cli/shared/src/test/resources/production/oas-example.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/oas-example.json.flattened.jsonld @@ -431,6 +431,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_1" @@ -438,11 +443,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0" - } ] }, { @@ -562,6 +562,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/source-map/lexical/element_2" @@ -572,11 +577,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/source-map/declared-element/element_0" - } ] }, { @@ -786,6 +786,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default", "http://a.ml/vocabularies/document-source-maps#value": "[(40,14)-(40,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default", @@ -796,11 +801,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#and", "http://a.ml/vocabularies/document-source-maps#value": "[(35,14)-(39,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name", "@type": [ @@ -966,6 +966,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(9,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -981,11 +986,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org", "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(25,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/examples/example/softwareCorp/object_1/name_3", "@type": [ @@ -1462,11 +1462,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1" @@ -1474,6 +1469,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1491,11 +1491,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address/source-map/lexical/element_1" @@ -1503,6 +1498,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1520,11 +1520,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value/source-map/lexical/element_1" @@ -1532,6 +1527,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1997,11 +1997,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#type", "http://a.ml/vocabularies/document-source-maps#value": "[(64,16)-(64,29)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(12,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name", @@ -2013,9 +2008,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(12,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,10)-(15,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(12,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address/source-map/lexical/element_1", @@ -2028,9 +2023,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(15,10)-(15,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,10)-(18,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/address/scalar/address", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,10)-(15,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value/source-map/lexical/element_1", @@ -2042,6 +2037,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(18,10)-(18,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/property/property/value/scalar/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,10)-(18,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-example.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/and/shape/Org/examples/example/default-example/object_1/name_5/source-map", "@type": [ 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 a1d63f1f1b..06106f8f32 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 @@ -944,9 +944,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1" @@ -954,35 +954,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(113,18)-(113,24)]" + "@value": "[(112,16)-(114,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(112,16)-(114,17)]" + "@value": "[(113,18)-(113,34)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(113,18)-(113,34)]" + "@value": "[(113,18)-(113,24)]" } ] } @@ -1077,9 +1077,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2" @@ -1087,35 +1087,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(116,18)-(116,24)]" + "@value": "[(115,16)-(117,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(115,16)-(117,17)]" + "@value": "[(116,18)-(116,34)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(116,18)-(116,34)]" + "@value": "[(116,18)-(116,24)]" } ] } @@ -1839,9 +1839,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default" @@ -1849,35 +1849,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(99,12)-(123,13)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(100,14)-(109,15)]" + "@value": "[(99,12)-(123,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(100,14)-(109,15)]" } ] } @@ -2478,9 +2478,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1" @@ -2488,35 +2488,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,10)-(17,16)]" + "@value": "[(16,8)-(18,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,8)-(18,9)]" + "@value": "[(17,10)-(17,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,10)-(17,26)]" + "@value": "[(17,10)-(17,16)]" } ] } @@ -2611,9 +2611,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2" @@ -2621,35 +2621,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,10)-(20,16)]" + "@value": "[(19,8)-(21,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(21,9)]" + "@value": "[(20,10)-(20,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,10)-(20,26)]" + "@value": "[(20,10)-(20,16)]" } ] } @@ -4348,9 +4348,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType" @@ -4358,35 +4358,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,4)-(27,5)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,4)-(9,17)]" + "@value": "[(9,4)-(27,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,4)-(9,17)]" } ] } 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 fef28f8c98..fd58cb37a1 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 @@ -1201,6 +1201,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/source-map/lexical/element_1" @@ -1208,11 +1213,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/source-map/declared-element/element_0" - } ] }, { @@ -1310,6 +1310,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/source-map/lexical/element_1" @@ -1317,11 +1322,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0" - } ] }, { @@ -1590,6 +1590,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType", "http://a.ml/vocabularies/document-source-maps#value": "[(14,6)-(14,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType", @@ -1600,11 +1605,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(9,17)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1", "@type": [ @@ -1729,6 +1729,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default", "http://a.ml/vocabularies/document-source-maps#value": "[(110,14)-(110,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default", @@ -1739,21 +1744,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(100,14)-(109,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1/source-map/lexical/element_1" @@ -1761,6 +1756,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1778,11 +1778,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2/source-map/lexical/element_1" @@ -1790,6 +1785,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2130,11 +2130,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1/source-map/lexical/element_1" @@ -2142,6 +2137,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2159,11 +2159,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2/source-map/lexical/element_1" @@ -2171,6 +2166,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2265,11 +2265,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/examples/example/default-example", "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/application%2Fjson" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(17,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1", @@ -2281,9 +2276,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(17,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop1/scalar/prop1", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(17,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2/source-map/lexical/element_1", @@ -2295,6 +2290,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/property/property/prop2/scalar/prop2", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/payload/default/shape/exampleType/examples/example/default-example/object_1/prop1/source-map", "@type": [ @@ -2613,11 +2613,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResourceAndType/supportedOperation/get/GET_examplesInResourceAndType/returns/resp/200/examples/example/application%2Fjson/object_1", "http://a.ml/vocabularies/document-source-maps#value": "[(138,34)-(147,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1", - "http://a.ml/vocabularies/document-source-maps#value": "[(113,18)-(113,24)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1", @@ -2629,9 +2624,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(113,18)-(113,34)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2", - "http://a.ml/vocabularies/document-source-maps#value": "[(116,18)-(116,24)]" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop1/scalar/prop1", + "http://a.ml/vocabularies/document-source-maps#value": "[(113,18)-(113,24)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2/source-map/lexical/element_1", @@ -2643,6 +2638,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(116,18)-(116,34)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/property/property/prop2/scalar/prop2", + "http://a.ml/vocabularies/document-source-maps#value": "[(116,18)-(116,24)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/endpoint/%2FexamplesInResource/supportedOperation/get/GET_examplesInResource/returns/resp/200/payload/default/shape/default/examples/example/default-example/object_1/one/prop1", "@type": [ diff --git a/amf-cli/shared/src/test/resources/production/oas-multiple-example.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/production/oas-multiple-example.resolved.expanded.jsonld index a0d1eadb91..9902f79fac 100644 --- a/amf-cli/shared/src/test/resources/production/oas-multiple-example.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/oas-multiple-example.resolved.expanded.jsonld @@ -126,11 +126,11 @@ } ], "smaps": { - "lexical": { - "#14": "[(9,4)-(27,5)]" - }, "virtual-element": { "#14": "true" + }, + "lexical": { + "#14": "[(9,4)-(27,5)]" } } } @@ -260,11 +260,11 @@ } ], "smaps": { - "lexical": { - "#42": "[(9,4)-(27,5)]" - }, "virtual-element": { "#42": "true" + }, + "lexical": { + "#42": "[(9,4)-(27,5)]" } } } @@ -394,11 +394,11 @@ } ], "smaps": { - "lexical": { - "#19": "[(9,4)-(27,5)]" - }, "virtual-element": { "#19": "true" + }, + "lexical": { + "#19": "[(9,4)-(27,5)]" } } } @@ -555,12 +555,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#60": "[(113,18)-(113,24)]" - }, "lexical": { "shacl:datatype": "[(113,18)-(113,34)]", "#60": "[(112,16)-(114,17)]" + }, + "type-property-lexical-info": { + "#60": "[(113,18)-(113,24)]" } } } @@ -616,12 +616,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#62": "[(116,18)-(116,24)]" - }, "lexical": { "shacl:datatype": "[(116,18)-(116,34)]", "#62": "[(115,16)-(117,17)]" + }, + "type-property-lexical-info": { + "#62": "[(116,18)-(116,24)]" } } } @@ -898,22 +898,22 @@ "type-property-lexical-info": { "#50": "[(110,14)-(110,20)]" }, + "auto-generated-name": { + "#50": "" + }, "lexical": { "apiContract:examples": "[(100,14)-(109,15)]", "#50": "[(99,12)-(123,13)]" - }, - "auto-generated-name": { - "#50": "" } } } ], "smaps": { - "lexical": { - "#49": "[(99,12)-(123,13)]" - }, "virtual-element": { "#49": "true" + }, + "lexical": { + "#49": "[(99,12)-(123,13)]" } } } @@ -1043,11 +1043,11 @@ } ], "smaps": { - "lexical": { - "#28": "[(9,4)-(27,5)]" - }, "virtual-element": { "#28": "true" + }, + "lexical": { + "#28": "[(9,4)-(27,5)]" } } } @@ -1173,12 +1173,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(17,10)-(17,16)]" - }, "lexical": { "shacl:datatype": "[(17,10)-(17,26)]", "#3": "[(16,8)-(18,9)]" + }, + "type-property-lexical-info": { + "#3": "[(17,10)-(17,16)]" } } } @@ -1234,12 +1234,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(20,10)-(20,16)]" - }, "lexical": { "shacl:datatype": "[(20,10)-(20,26)]", "#5": "[(19,8)-(21,9)]" + }, + "type-property-lexical-info": { + "#5": "[(20,10)-(20,16)]" } } } @@ -1912,21 +1912,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#33" - }, "type-property-lexical-info": { "#1": "[(14,6)-(14,12)]" }, - "lexical": { - "shacl:name": "[(9,4)-(9,17)]", - "#1": "[(9,4)-(27,5)]" + "resolved-link": { + "#1": "amf://id#33" + }, + "resolved-link-target": { + "#1": "amf://id#29" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#30" + "lexical": { + "shacl:name": "[(9,4)-(9,17)]", + "#1": "[(9,4)-(27,5)]" } } } diff --git a/amf-cli/shared/src/test/resources/production/oas-multiple-example.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/production/oas-multiple-example.resolved.flattened.jsonld index 7341484294..3ba2328774 100644 --- a/amf-cli/shared/src/test/resources/production/oas-multiple-example.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/oas-multiple-example.resolved.flattened.jsonld @@ -409,11 +409,11 @@ "@id": "#1" }, "smaps": { - "lexical": { - "#14": "[(9,4)-(27,5)]" - }, "virtual-element": { "#14": "true" + }, + "lexical": { + "#14": "[(9,4)-(27,5)]" } } }, @@ -429,11 +429,11 @@ "@id": "#1" }, "smaps": { - "lexical": { - "#42": "[(9,4)-(27,5)]" - }, "virtual-element": { "#42": "true" + }, + "lexical": { + "#42": "[(9,4)-(27,5)]" } } }, @@ -449,11 +449,11 @@ "@id": "#1" }, "smaps": { - "lexical": { - "#19": "[(9,4)-(27,5)]" - }, "virtual-element": { "#19": "true" + }, + "lexical": { + "#19": "[(9,4)-(27,5)]" } } }, @@ -469,11 +469,11 @@ "@id": "#50" }, "smaps": { - "lexical": { - "#49": "[(99,12)-(123,13)]" - }, "virtual-element": { "#49": "true" + }, + "lexical": { + "#49": "[(99,12)-(123,13)]" } } }, @@ -489,11 +489,11 @@ "@id": "#1" }, "smaps": { - "lexical": { - "#28": "[(9,4)-(27,5)]" - }, "virtual-element": { "#28": "true" + }, + "lexical": { + "#28": "[(9,4)-(27,5)]" } } }, @@ -536,21 +536,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#33" - }, "type-property-lexical-info": { "#1": "[(14,6)-(14,12)]" }, - "lexical": { - "shacl:name": "[(9,4)-(9,17)]", - "#1": "[(9,4)-(27,5)]" + "resolved-link": { + "#1": "amf://id#33" + }, + "resolved-link-target": { + "#1": "amf://id#29" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#30" + "lexical": { + "shacl:name": "[(9,4)-(9,17)]", + "#1": "[(9,4)-(27,5)]" } } }, @@ -585,12 +585,12 @@ "type-property-lexical-info": { "#50": "[(110,14)-(110,20)]" }, + "auto-generated-name": { + "#50": "" + }, "lexical": { "apiContract:examples": "[(100,14)-(109,15)]", "#50": "[(99,12)-(123,13)]" - }, - "auto-generated-name": { - "#50": "" } } }, @@ -833,12 +833,12 @@ ], "shacl:name": "prop1", "smaps": { - "type-property-lexical-info": { - "#3": "[(17,10)-(17,16)]" - }, "lexical": { "shacl:datatype": "[(17,10)-(17,26)]", "#3": "[(16,8)-(18,9)]" + }, + "type-property-lexical-info": { + "#3": "[(17,10)-(17,16)]" } } }, @@ -858,12 +858,12 @@ ], "shacl:name": "prop2", "smaps": { - "type-property-lexical-info": { - "#5": "[(20,10)-(20,16)]" - }, "lexical": { "shacl:datatype": "[(20,10)-(20,26)]", "#5": "[(19,8)-(21,9)]" + }, + "type-property-lexical-info": { + "#5": "[(20,10)-(20,16)]" } } }, @@ -983,12 +983,12 @@ ], "shacl:name": "prop1", "smaps": { - "type-property-lexical-info": { - "#60": "[(113,18)-(113,24)]" - }, "lexical": { "shacl:datatype": "[(113,18)-(113,34)]", "#60": "[(112,16)-(114,17)]" + }, + "type-property-lexical-info": { + "#60": "[(113,18)-(113,24)]" } } }, @@ -1008,12 +1008,12 @@ ], "shacl:name": "prop2", "smaps": { - "type-property-lexical-info": { - "#62": "[(116,18)-(116,24)]" - }, "lexical": { "shacl:datatype": "[(116,18)-(116,34)]", "#62": "[(115,16)-(117,17)]" + }, + "type-property-lexical-info": { + "#62": "[(116,18)-(116,24)]" } } }, diff --git a/amf-cli/shared/src/test/resources/production/oas20/xml-payload.json.expanded.jsonld b/amf-cli/shared/src/test/resources/production/oas20/xml-payload.json.expanded.jsonld index 45b35b572d..5abd1f1ad0 100644 --- a/amf-cli/shared/src/test/resources/production/oas20/xml-payload.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/oas20/xml-payload.json.expanded.jsonld @@ -169,21 +169,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default" - } - ], - "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/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_2", @@ -225,6 +210,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0", diff --git a/amf-cli/shared/src/test/resources/production/oas20/xml-payload.json.flattened.jsonld b/amf-cli/shared/src/test/resources/production/oas20/xml-payload.json.flattened.jsonld index cec0a74b69..31bc891772 100644 --- a/amf-cli/shared/src/test/resources/production/oas20/xml-payload.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/oas20/xml-payload.json.flattened.jsonld @@ -285,11 +285,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_2" @@ -301,6 +296,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0" @@ -331,11 +331,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -351,6 +346,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default", "http://a.ml/vocabularies/document-source-maps#value": "[(14,12)-(19,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas20/xml-payload.json#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/default/scalar/default", diff --git a/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml.expanded.jsonld index 9f084693b3..12d8dee0c3 100644 --- a/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml.expanded.jsonld @@ -453,9 +453,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b" @@ -463,35 +463,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,10)-(9,16)]" + "@value": "[(8,8)-(10,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(10,9)]" + "@value": "[(9,10)-(9,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,10)-(9,26)]" + "@value": "[(9,10)-(9,16)]" } ] } @@ -581,6 +581,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(6,6)-(6,12)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/lexical/element_2", @@ -621,21 +636,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(6,6)-(6,12)]" - } - ] - } ] } ] @@ -739,9 +739,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items" @@ -749,35 +749,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(12,14)]" + "@value": "[(11,6)-(13,7)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(13,7)]" + "@value": "[(12,8)-(12,24)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(12,24)]" + "@value": "[(12,8)-(12,14)]" } ] } @@ -797,9 +797,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2" @@ -807,35 +807,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(10,12)]" + "@value": "[(9,4)-(14,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2" + "@value": "http://a.ml/vocabularies/shapes#items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,4)-(14,5)]" + "@value": "[(11,6)-(13,7)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#items" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(13,7)]" + "@value": "[(10,6)-(10,12)]" } ] } @@ -930,65 +930,65 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(15,3)]" + "@value": "[(4,2)-(4,8)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(3,54)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,4)-(7,52)]" + "@value": "[(5,2)-(15,3)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(4,8)]" + "@value": "[(3,2)-(3,54)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema" @@ -996,7 +996,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(7,4)-(7,52)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml.flattened.jsonld index 58e8be8056..75133aaf07 100644 --- a/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml.flattened.jsonld @@ -319,6 +319,16 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/lexical/element_2" @@ -330,16 +340,6 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/lexical/element_1" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/parsed-json-schema/element_0" @@ -457,6 +457,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema", + "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,8)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -472,16 +482,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,52)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema", - "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,8)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/source-map/parsed-json-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema", @@ -537,6 +537,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/lexical/element_2" @@ -547,11 +552,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -590,11 +590,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/lexical/element_1" @@ -602,6 +597,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -661,6 +661,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(6,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -676,21 +681,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B", "http://a.ml/vocabularies/document-source-maps#value": "[(3,4)-(12,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(6,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/lexical/element_1" @@ -698,13 +693,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2", @@ -715,16 +710,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(13,7)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_1" @@ -732,6 +727,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -744,11 +744,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b", "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(10,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items", @@ -760,9 +755,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,24)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,10)-(9,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,14)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_1", @@ -773,6 +768,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(9,10)-(9,26)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,10)-(9,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml.expanded.jsonld index b833129ad4..d2c5690384 100644 --- a/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml.expanded.jsonld @@ -727,9 +727,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b" @@ -737,35 +737,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,10)-(9,16)]" + "@value": "[(8,8)-(10,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(10,9)]" + "@value": "[(9,10)-(9,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,10)-(9,26)]" + "@value": "[(9,10)-(9,16)]" } ] } @@ -855,6 +855,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(6,6)-(6,12)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/lexical/element_2", @@ -895,21 +910,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(6,6)-(6,12)]" - } - ] - } ] } ] @@ -1013,9 +1013,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items" @@ -1023,35 +1023,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(12,14)]" + "@value": "[(11,6)-(13,7)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(13,7)]" + "@value": "[(12,8)-(12,24)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(12,24)]" + "@value": "[(12,8)-(12,14)]" } ] } @@ -1071,9 +1071,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2" @@ -1081,35 +1081,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(10,12)]" + "@value": "[(9,4)-(14,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2" + "@value": "http://a.ml/vocabularies/shapes#items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,4)-(14,5)]" + "@value": "[(11,6)-(13,7)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#items" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(13,7)]" + "@value": "[(10,6)-(10,12)]" } ] } @@ -1204,65 +1204,65 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(15,3)]" + "@value": "[(4,2)-(4,8)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(3,54)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,4)-(8,0)]" + "@value": "[(5,2)-(15,3)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(4,8)]" + "@value": "[(3,2)-(3,54)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema" @@ -1270,7 +1270,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(7,4)-(8,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml.flattened.jsonld index f29fe586e5..e6d5ca1068 100644 --- a/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml.flattened.jsonld @@ -543,6 +543,16 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/lexical/element_2" @@ -554,16 +564,6 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/lexical/element_1" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/parsed-json-schema/element_0" @@ -681,6 +681,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema", + "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,8)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -696,16 +706,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(8,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema", - "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,8)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/source-map/parsed-json-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema", @@ -761,6 +761,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/lexical/element_2" @@ -771,11 +776,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -814,11 +814,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/lexical/element_1" @@ -826,6 +821,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -885,6 +885,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(6,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -900,21 +905,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B", "http://a.ml/vocabularies/document-source-maps#value": "[(3,4)-(12,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(6,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/lexical/element_1" @@ -922,13 +917,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2", @@ -939,16 +934,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(13,7)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_1" @@ -956,6 +951,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -968,11 +968,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b", "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(10,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items", @@ -984,9 +979,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,24)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,10)-(9,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a2/array/a2/scalar/items", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,14)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_1", @@ -997,6 +992,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(9,10)-(9,26)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops-crossfiles2/api.raml#/declares/shape/someSchema/property/property/a1/shape/B/property/property/b/scalar/b", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,10)-(9,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml.expanded.jsonld index 4692ccf162..19de481cff 100644 --- a/amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml.expanded.jsonld @@ -565,9 +565,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime" @@ -575,35 +575,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,10)-(40,16)]" + "@value": "[(39,8)-(41,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,8)-(41,9)]" + "@value": "[(40,10)-(40,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,10)-(40,26)]" + "@value": "[(40,10)-(40,16)]" } ] } @@ -700,9 +700,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime" @@ -710,35 +710,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(43,10)-(43,16)]" + "@value": "[(42,8)-(44,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(42,8)-(44,9)]" + "@value": "[(43,10)-(43,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(43,10)-(43,26)]" + "@value": "[(43,10)-(43,16)]" } ] } @@ -808,21 +808,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(34,6)-(34,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/source-map/lexical/element_2", @@ -863,6 +848,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(34,6)-(34,12)]" + } + ] + } ] } ] @@ -956,9 +956,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime" @@ -966,35 +966,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,10)-(25,16)]" + "@value": "[(24,8)-(26,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,8)-(26,9)]" + "@value": "[(25,10)-(25,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,10)-(25,26)]" + "@value": "[(25,10)-(25,16)]" } ] } @@ -1091,9 +1091,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime" @@ -1101,35 +1101,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,10)-(28,16)]" + "@value": "[(27,8)-(29,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,8)-(29,9)]" + "@value": "[(28,10)-(28,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,10)-(28,26)]" + "@value": "[(28,10)-(28,16)]" } ] } @@ -1199,21 +1199,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(19,6)-(19,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/source-map/lexical/element_2", @@ -1254,6 +1239,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(19,6)-(19,12)]" + } + ] + } ] } ] @@ -1438,9 +1438,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments" @@ -1448,35 +1448,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(10,12)]" + "@value": "[(9,4)-(14,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments" + "@value": "http://a.ml/vocabularies/shapes#items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,4)-(14,5)]" + "@value": "[(11,6)-(13,7)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#items" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(13,7)]" + "@value": "[(10,6)-(10,12)]" } ] } @@ -1556,78 +1556,78 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,2)-(15,3)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema" + "@value": "http://www.w3.org/ns/shacl#closed" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(4,8)]" + "@value": "[(16,2)-(16,31)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(15,3)]" + "@value": "[(3,2)-(3,54)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#closed" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,2)-(16,31)]" + "@value": "[(7,4)-(7,36)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(3,54)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema" @@ -1635,7 +1635,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,4)-(7,36)]" + "@value": "[(4,2)-(4,8)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml.flattened.jsonld index 9b71bbd7fb..5b189307de 100644 --- a/amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml.flattened.jsonld @@ -294,16 +294,6 @@ "@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/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/lexical/element_3" @@ -318,6 +308,16 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/parsed-json-schema/element_0" @@ -414,16 +414,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema", - "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -444,6 +434,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,36)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema", + "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,8)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/source-map/parsed-json-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema", @@ -531,11 +531,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/source-map/lexical/element_2" @@ -546,6 +541,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -586,11 +586,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/source-map/lexical/element_1" @@ -598,6 +593,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -728,11 +728,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,6)-(19,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", @@ -748,6 +743,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails", "http://a.ml/vocabularies/document-source-maps#value": "[(18,4)-(32,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails", + "http://a.ml/vocabularies/document-source-maps#value": "[(19,6)-(19,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/source-map", "@type": [ @@ -770,11 +770,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments", @@ -785,6 +780,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(13,7)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/auditDetails", "@type": [ @@ -862,11 +862,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/source-map/lexical/element_2" @@ -877,6 +872,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -894,11 +894,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime/source-map/lexical/element_1" @@ -906,6 +901,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -923,11 +923,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_1" @@ -935,6 +930,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1079,11 +1079,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment", - "http://a.ml/vocabularies/document-source-maps#value": "[(34,6)-(34,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", @@ -1100,9 +1095,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(33,4)-(47,5)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,10)-(25,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment", + "http://a.ml/vocabularies/document-source-maps#value": "[(34,6)-(34,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime/source-map/lexical/element_1", @@ -1115,9 +1110,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(25,10)-(25,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/createTime/scalar/createTime", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,10)-(25,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_1", @@ -1129,6 +1124,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/auditDetails/shape/auditDetails/property/property/lastUpdatedTime/scalar/lastUpdatedTime", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/auditDetails/shape/default-node/source-map", "@type": [ @@ -1166,11 +1166,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime/source-map/lexical/element_1" @@ -1178,6 +1173,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1195,11 +1195,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_1" @@ -1207,6 +1202,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1239,11 +1239,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/auditDetails/shape/default-node", "http://a.ml/vocabularies/document-source-maps#value": "[(6,20)-(8,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime", - "http://a.ml/vocabularies/document-source-maps#value": "[(40,10)-(40,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime", @@ -1255,9 +1250,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(40,10)-(40,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime", - "http://a.ml/vocabularies/document-source-maps#value": "[(43,10)-(43,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/createTime/scalar/createTime", + "http://a.ml/vocabularies/document-source-maps#value": "[(40,10)-(40,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_1", @@ -1268,6 +1263,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(43,10)-(43,26)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/definitions-loops/api.raml#/declares/shape/someSchema/property/property/formOfPayments/array/formOfPayments/shape/items/shape/formOfPayment/property/property/lastUpdatedTime/scalar/lastUpdatedTime", + "http://a.ml/vocabularies/document-source-maps#value": "[(43,10)-(43,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml.expanded.jsonld index b5f9919ea8..3220fef71d 100644 --- a/amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml.expanded.jsonld @@ -2169,9 +2169,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber" @@ -2179,14 +2179,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(19,3)-(19,16)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber" @@ -2194,7 +2194,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,3)-(19,16)]" + "@value": "true" } ] } @@ -2209,9 +2209,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D" @@ -2219,35 +2219,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores" + "@value": "[(19,2)-(28,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,2)-(28,0)]" + "@value": "[(19,2)-(19,16)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,2)-(19,16)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores" } ] } @@ -3304,21 +3304,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount/source-map/lexical/element_2", @@ -3359,6 +3344,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml.flattened.jsonld index a0ef9fb4af..41888a91a1 100644 --- a/amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml.flattened.jsonld @@ -220,11 +220,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/source-map/lexical/element_1" @@ -232,6 +227,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -258,11 +258,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount/source-map/lexical/element_2" @@ -273,6 +268,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount/source-map/parent-end-point/element_0" + } ] }, { @@ -449,22 +449,17 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber/source-map/virtual-element/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D", @@ -475,6 +470,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(19,2)-(19,16)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount/supportedOperation/get/expects/request", "@type": [ @@ -508,11 +508,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -528,6 +523,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount", "http://a.ml/vocabularies/document-source-maps#value": "[(28,2)-(43,28)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores/supportedOperation/get/expects/request/parameter/parameter/query/period", "@type": [ @@ -672,14 +672,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(19,3)-(19,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2F%7BstoreNumber%7D/parameter/parameter/path/storeNumber", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,3)-(19,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml08/lock-unlock/api.raml#/web-api/endpoint/%2Fstores%2Fcount/supportedOperation/get/expects/request/parameter/parameter/query/from", diff --git a/amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml.expanded.jsonld index bbf6d40d20..df4efc29f3 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml.expanded.jsonld @@ -117,9 +117,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment" @@ -127,14 +127,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,16)-(2,29)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment" @@ -142,7 +142,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(2,16)-(2,29)]" } ] } @@ -543,6 +543,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema" + } + ], + "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/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema/source-map/lexical/element_2", @@ -583,21 +598,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -805,9 +805,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node" @@ -815,14 +815,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,18)-(22,34)]" + "@value": "AmericanFlight" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node" @@ -830,7 +830,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "AmericanFlight" + "@value": "[(22,18)-(22,34)]" } ] } @@ -2817,9 +2817,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" @@ -2827,35 +2827,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(21,10)-(24,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,10)-(24,0)]" + "@value": "[(23,12)-(24,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,12)-(24,0)]" + "@value": "" } ] } @@ -3082,9 +3082,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight" @@ -3092,14 +3092,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(28,8)-(29,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight" @@ -3107,7 +3107,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,8)-(29,0)]" + "@value": "" } ] } @@ -4058,6 +4058,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,8)-(28,12)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", @@ -4098,21 +4113,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(28,8)-(28,12)]" - } - ] - } ] } ] @@ -4462,9 +4462,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema" @@ -4472,35 +4472,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(33,10)-(36,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,10)-(36,0)]" + "@value": "[(34,12)-(36,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(34,12)-(36,0)]" + "@value": "" } ] } @@ -4787,9 +4787,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight" @@ -4797,14 +4797,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(43,14)-(44,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight" @@ -4812,7 +4812,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(43,14)-(44,0)]" + "@value": "" } ] } @@ -5852,6 +5852,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(43,14)-(43,18)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", @@ -5892,21 +5907,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(43,14)-(43,18)]" - } - ] - } ] } ] @@ -6321,9 +6321,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema" @@ -6331,35 +6331,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(50,12)-(53,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(50,12)-(53,0)]" + "@value": "[(51,14)-(53,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,14)-(53,0)]" + "@value": "" } ] } @@ -6586,9 +6586,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight" @@ -6596,14 +6596,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(57,10)-(58,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight" @@ -6611,7 +6611,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(57,10)-(58,0)]" + "@value": "" } ] } @@ -7562,6 +7562,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(57,10)-(57,14)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", @@ -7602,21 +7617,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(57,10)-(57,14)]" - } - ] - } ] } ] @@ -7966,9 +7966,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema" @@ -7976,35 +7976,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(62,12)-(65,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(62,12)-(65,0)]" + "@value": "[(63,14)-(65,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,14)-(65,0)]" + "@value": "" } ] } @@ -8267,9 +8267,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID" @@ -8277,14 +8277,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(36,3)-(36,7)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID" @@ -8292,7 +8292,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,3)-(36,7)]" + "@value": "true" } ] } @@ -8307,9 +8307,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D" @@ -8317,35 +8317,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights" + "@value": "[(36,2)-(65,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,2)-(65,0)]" + "@value": "[(36,2)-(36,7)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,2)-(36,7)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights" } ] } @@ -9848,9 +9848,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane" @@ -9858,35 +9858,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,2)-(18,0)]" + "@value": "[(13,4)-(13,8)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,15)-(18,0)]" + "@value": "[(12,2)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,4)-(13,8)]" + "@value": "[(15,15)-(18,0)]" } ] } @@ -9997,9 +9997,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type" @@ -10007,35 +10007,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,0)-(18,0)]" + "@value": "[(3,0)-(3,4)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,11)-(18,0)]" + "@value": "[(3,0)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,0)-(3,4)]" + "@value": "[(4,11)-(18,0)]" } ] } @@ -10372,9 +10372,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight" @@ -10382,35 +10382,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,2)-(10,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,2)-(8,16)]" + "@value": "[(8,2)-(10,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(8,2)-(8,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml.flattened.jsonld index 5ed79a08b3..80dac75817 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml.flattened.jsonld @@ -318,11 +318,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/lexical/element_1" @@ -330,6 +325,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -386,14 +386,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment/source-map/virtual-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment/source-map/lexical/element_0" } ] }, @@ -704,22 +704,17 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/virtual-element/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D", @@ -730,6 +725,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(36,2)-(36,7)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", @@ -741,14 +741,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment", - "http://a.ml/vocabularies/document-source-maps#value": "[(2,16)-(2,29)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/server/http%3A%2F%2F%7Benvironment%7D-american-ws.cloudhub.io%2Fapi%2F/variable/parameter/path/environment", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(2,16)-(2,29)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code", @@ -1108,14 +1108,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(36,3)-(36,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID", - "http://a.ml/vocabularies/document-source-maps#value": "[(36,3)-(36,7)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema", @@ -1509,6 +1509,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema/source-map/default-node/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema/source-map/lexical/element_2" @@ -1519,11 +1524,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema/source-map/default-node/element_0" - } ] }, { @@ -1590,11 +1590,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1" @@ -1603,6 +1598,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0" @@ -1664,6 +1664,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2" @@ -1674,11 +1679,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -1708,11 +1708,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/lexical/element_1" @@ -1721,6 +1716,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#default-node": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/default-node/element_0" @@ -1782,6 +1782,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_2" @@ -1792,11 +1797,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -1826,11 +1826,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_1" @@ -1839,6 +1834,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#default-node": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/default-node/element_0" @@ -1900,6 +1900,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2" @@ -1910,11 +1915,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -1944,11 +1944,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_1" @@ -1957,6 +1952,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#default-node": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/default-node/element_0" @@ -2033,6 +2033,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -2048,11 +2053,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(14,6)-(18,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map", "@type": [ @@ -2066,14 +2066,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" } ] }, @@ -2124,11 +2124,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", @@ -2139,6 +2134,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(23,12)-(24,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", @@ -2149,14 +2149,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0" } ] }, @@ -2224,6 +2224,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(28,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", @@ -2239,11 +2244,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(27,6)-(30,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(28,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/examples/example/default-example/object_1", "@type": [ @@ -2285,11 +2285,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema", @@ -2300,6 +2295,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(34,12)-(36,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/schema", @@ -2310,14 +2310,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0" } ] }, @@ -2388,6 +2388,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(43,14)-(43,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", @@ -2403,11 +2408,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(42,12)-(45,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(43,14)-(43,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/examples/example/default-example/object_1", "@type": [ @@ -2449,11 +2449,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema", @@ -2464,6 +2459,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(51,14)-(53,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/schema", @@ -2474,14 +2474,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0" } ] }, @@ -2549,6 +2549,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(57,10)-(57,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", @@ -2564,11 +2569,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(56,8)-(59,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(57,10)-(57,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/examples/example/default-example/object_1", "@type": [ @@ -2610,11 +2610,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema", @@ -2625,6 +2620,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(63,14)-(65,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/schema", @@ -2698,14 +2698,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "[(22,18)-(22,34)]" + "http://a.ml/vocabularies/document-source-maps#value": "AmericanFlight" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "AmericanFlight" + "http://a.ml/vocabularies/document-source-maps#value": "[(22,18)-(22,34)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/examples/example/value/array_1/member/object_2", @@ -2815,14 +2815,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(29,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(29,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/examples/example/value/object_1/code", @@ -3081,14 +3081,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(43,14)-(44,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight", - "http://a.ml/vocabularies/document-source-maps#value": "[(43,14)-(44,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/examples/example/value/object_1/ID", @@ -3370,14 +3370,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(57,10)-(58,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AmericanFlight", - "http://a.ml/vocabularies/document-source-maps#value": "[(57,10)-(58,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/schema/examples/example/value/object_1/code", @@ -6642,6 +6642,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight/source-map/lexical/element_1" @@ -6649,11 +6654,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight/source-map/declared-element/element_0" - } ] }, { @@ -6858,6 +6858,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/source-map/lexical/element_1" @@ -6865,11 +6870,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -6902,6 +6902,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight", "http://a.ml/vocabularies/document-source-maps#value": "AmericanFlight.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight", @@ -6912,11 +6917,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(8,16)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/declares/shape/AmericanFlight", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/ID/scalar/ID%3F", "@type": [ @@ -7270,6 +7270,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type", + "http://a.ml/vocabularies/document-source-maps#value": "[(3,0)-(3,4)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type", @@ -7280,11 +7285,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(4,11)-(18,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(3,0)-(3,4)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/ID/scalar/ID%3F/source-map", "@type": [ @@ -7581,6 +7581,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/source-map/lexical/element_1" @@ -7588,11 +7593,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -7776,6 +7776,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(13,8)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane", @@ -7786,11 +7791,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(15,15)-(18,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(13,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/american-flights-api/api.raml#/references/0/shape/type/property/property/plane/shape/plane/property/property/type/scalar/type/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml.expanded.jsonld index e7441b9ce0..6de9e14b7f 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml.expanded.jsonld @@ -260,9 +260,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body" @@ -270,14 +270,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,6)-(30,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body" @@ -285,7 +285,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(29,6)-(30,0)]" } ] } @@ -416,9 +416,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate" @@ -426,35 +426,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" + "@value": "[(26,2)-(30,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,2)-(30,0)]" + "@value": "[(26,2)-(26,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,2)-(26,12)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" } ] } @@ -567,9 +567,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body" @@ -577,14 +577,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,6)-(35,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body" @@ -592,7 +592,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(33,6)-(35,0)]" } ] } @@ -723,9 +723,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial" @@ -733,35 +733,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" + "@value": "[(30,2)-(35,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,2)-(35,0)]" + "@value": "[(30,2)-(30,13)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,2)-(30,13)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" } ] } @@ -881,9 +881,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse" @@ -891,14 +891,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(45,14)-(46,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse" @@ -906,7 +906,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(45,14)-(46,0)]" + "@value": "" } ] } @@ -936,9 +936,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" @@ -946,35 +946,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,12)-(46,0)]" + "@value": "[(45,14)-(45,18)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(45,14)-(46,0)]" + "@value": "[(44,12)-(46,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(45,14)-(45,18)]" + "@value": "[(45,14)-(46,0)]" } ] } @@ -1364,21 +1364,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2", @@ -1419,6 +1404,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" + } + ] + } ] } ] @@ -1548,9 +1548,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node" @@ -1558,14 +1558,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,22)-(63,46)]" + "@value": "shapes.BankAccountData" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node" @@ -1573,7 +1573,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "shapes.BankAccountData" + "@value": "[(63,22)-(63,46)]" } ] } @@ -1593,9 +1593,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" @@ -1603,14 +1603,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(62,14)-(64,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" @@ -1618,7 +1618,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(62,14)-(64,0)]" + "@value": "" } ] } @@ -2074,9 +2074,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData" @@ -2084,14 +2084,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(68,12)-(69,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData" @@ -2099,7 +2099,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(68,12)-(69,0)]" + "@value": "" } ] } @@ -2129,9 +2129,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -2139,35 +2139,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(67,10)-(69,0)]" + "@value": "[(68,12)-(68,16)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(68,12)-(69,0)]" + "@value": "[(67,10)-(69,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(68,12)-(68,16)]" + "@value": "[(68,12)-(69,0)]" } ] } @@ -2399,9 +2399,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" @@ -2409,15 +2409,17 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,6)-(38,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -2425,19 +2427,17 @@ "@value": "[(37,6)-(38,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(37,6)-(38,0)]" } ] } @@ -2452,9 +2452,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" @@ -2462,35 +2462,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + "@value": "[(55,4)-(82,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,4)-(82,0)]" + "@value": "[(55,4)-(55,13)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,4)-(55,13)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" } ] } @@ -2610,9 +2610,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData" @@ -2620,14 +2620,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(79,18)-(80,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData" @@ -2635,7 +2635,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(79,18)-(80,0)]" + "@value": "" } ] } @@ -2665,9 +2665,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" @@ -2675,35 +2675,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(78,16)-(80,0)]" + "@value": "[(79,18)-(79,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(79,18)-(80,0)]" + "@value": "[(78,16)-(80,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(79,18)-(79,22)]" + "@value": "[(79,18)-(80,0)]" } ] } @@ -3122,9 +3122,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id" @@ -3132,15 +3132,17 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,6)-(38,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -3148,19 +3150,17 @@ "@value": "[(37,6)-(38,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(37,6)-(38,0)]" } ] } @@ -3312,21 +3312,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/source-map/lexical/element_2", @@ -3367,6 +3352,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" + } + ] + } ] } ] @@ -3496,9 +3496,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node" @@ -3506,14 +3506,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(90,22)-(90,39)]" + "@value": "shapes.LoanData" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node" @@ -3521,7 +3521,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "shapes.LoanData" + "@value": "[(90,22)-(90,39)]" } ] } @@ -3541,9 +3541,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" @@ -3551,14 +3551,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(89,14)-(91,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" @@ -3566,7 +3566,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(89,14)-(91,0)]" + "@value": "" } ] } @@ -4129,9 +4129,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData" @@ -4139,14 +4139,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(95,12)-(96,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData" @@ -4154,7 +4154,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(95,12)-(96,0)]" + "@value": "" } ] } @@ -4184,9 +4184,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -4194,35 +4194,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(94,10)-(96,0)]" + "@value": "[(95,12)-(95,16)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(95,12)-(96,0)]" + "@value": "[(94,10)-(96,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(95,12)-(95,16)]" + "@value": "[(95,12)-(96,0)]" } ] } @@ -4454,9 +4454,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id" @@ -4464,15 +4464,17 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,6)-(38,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -4480,19 +4482,17 @@ "@value": "[(37,6)-(38,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(37,6)-(38,0)]" } ] } @@ -4507,9 +4507,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans" @@ -4517,35 +4517,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + "@value": "[(82,4)-(113,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(82,4)-(113,0)]" + "@value": "[(82,4)-(82,10)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(82,4)-(82,10)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" } ] } @@ -4665,9 +4665,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData" @@ -4675,14 +4675,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(106,18)-(107,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData" @@ -4690,7 +4690,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(106,18)-(107,0)]" + "@value": "" } ] } @@ -4720,9 +4720,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" @@ -4730,35 +4730,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(105,16)-(107,0)]" + "@value": "[(106,18)-(106,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(106,18)-(107,0)]" + "@value": "[(105,16)-(107,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(106,18)-(106,22)]" + "@value": "[(106,18)-(107,0)]" } ] } @@ -5123,9 +5123,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id" @@ -5133,15 +5133,17 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,6)-(38,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -5149,19 +5151,17 @@ "@value": "[(37,6)-(38,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(37,6)-(38,0)]" } ] } @@ -5313,21 +5313,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/source-map/lexical/element_2", @@ -5368,6 +5353,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans" + } + ] + } ] } ] @@ -5487,9 +5487,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body" @@ -5497,14 +5497,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(112,14)-(113,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body" @@ -5512,7 +5512,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(112,14)-(113,0)]" } ] } @@ -5768,9 +5768,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id" @@ -5778,15 +5778,17 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,6)-(38,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -5794,19 +5796,17 @@ "@value": "[(37,6)-(38,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(37,6)-(38,0)]" } ] } @@ -5821,9 +5821,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule" @@ -5831,35 +5831,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans" + "@value": "[(107,6)-(113,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(107,6)-(113,0)]" + "@value": "[(107,6)-(107,15)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(107,6)-(107,15)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans" } ] } @@ -5998,9 +5998,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" @@ -6008,15 +6008,17 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,6)-(38,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -6024,19 +6026,17 @@ "@value": "[(37,6)-(38,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(37,6)-(38,0)]" } ] } @@ -6051,9 +6051,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" @@ -6061,35 +6061,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + "@value": "[(113,4)-(168,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(113,4)-(168,0)]" + "@value": "[(113,4)-(113,10)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(113,4)-(113,10)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" } ] } @@ -6222,9 +6222,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node" @@ -6232,14 +6232,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(122,24)-(122,46)]" + "@value": "shapes.DebitCardData" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node" @@ -6247,7 +6247,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "shapes.DebitCardData" + "@value": "[(122,24)-(122,46)]" } ] } @@ -6267,9 +6267,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" @@ -6277,14 +6277,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(121,16)-(123,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" @@ -6292,7 +6292,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(121,16)-(123,0)]" + "@value": "" } ] } @@ -6748,9 +6748,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData" @@ -6758,14 +6758,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(127,14)-(128,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData" @@ -6773,7 +6773,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(127,14)-(128,0)]" + "@value": "" } ] } @@ -6803,9 +6803,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -6813,35 +6813,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(126,12)-(128,0)]" + "@value": "[(127,14)-(127,18)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(127,14)-(128,0)]" + "@value": "[(126,12)-(128,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(127,14)-(127,18)]" + "@value": "[(127,14)-(128,0)]" } ] } @@ -7073,9 +7073,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" @@ -7083,15 +7083,17 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,6)-(38,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -7099,19 +7101,17 @@ "@value": "[(37,6)-(38,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(37,6)-(38,0)]" } ] } @@ -7126,9 +7126,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" @@ -7136,35 +7136,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + "@value": "[(114,6)-(141,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(114,6)-(141,0)]" + "@value": "[(114,6)-(114,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(114,6)-(114,12)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" } ] } @@ -7284,9 +7284,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData" @@ -7294,14 +7294,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(138,20)-(139,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData" @@ -7309,7 +7309,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(138,20)-(139,0)]" + "@value": "" } ] } @@ -7339,9 +7339,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" @@ -7349,35 +7349,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(137,18)-(139,0)]" + "@value": "[(138,20)-(138,24)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(138,20)-(139,0)]" + "@value": "[(137,18)-(139,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(138,20)-(138,24)]" + "@value": "[(138,20)-(139,0)]" } ] } @@ -7796,9 +7796,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id" @@ -7806,15 +7806,17 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,6)-(38,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -7822,19 +7824,17 @@ "@value": "[(37,6)-(38,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(37,6)-(38,0)]" } ] } @@ -7986,21 +7986,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/source-map/lexical/element_2", @@ -8041,6 +8026,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" + } + ] + } ] } ] @@ -8170,9 +8170,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node" @@ -8180,14 +8180,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(149,24)-(149,47)]" + "@value": "shapes.CreditCardData" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node" @@ -8195,7 +8195,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "shapes.CreditCardData" + "@value": "[(149,24)-(149,47)]" } ] } @@ -8215,9 +8215,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" @@ -8225,14 +8225,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(148,16)-(150,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" @@ -8240,7 +8240,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(148,16)-(150,0)]" + "@value": "" } ] } @@ -8803,9 +8803,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData" @@ -8813,14 +8813,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(154,14)-(155,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData" @@ -8828,7 +8828,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(154,14)-(155,0)]" + "@value": "" } ] } @@ -8858,9 +8858,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -8868,35 +8868,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(153,12)-(155,0)]" + "@value": "[(154,14)-(154,18)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(154,14)-(155,0)]" + "@value": "[(153,12)-(155,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(154,14)-(154,18)]" + "@value": "[(154,14)-(155,0)]" } ] } @@ -9128,9 +9128,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id" @@ -9138,15 +9138,17 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,6)-(38,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -9154,19 +9156,17 @@ "@value": "[(37,6)-(38,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(37,6)-(38,0)]" } ] } @@ -9181,9 +9181,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit" @@ -9191,35 +9191,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + "@value": "[(141,6)-(168,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(141,6)-(168,0)]" + "@value": "[(141,6)-(141,13)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(141,6)-(141,13)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" } ] } @@ -9339,9 +9339,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData" @@ -9349,14 +9349,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(165,20)-(166,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData" @@ -9364,7 +9364,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(165,20)-(166,0)]" + "@value": "" } ] } @@ -9394,9 +9394,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" @@ -9404,35 +9404,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(164,18)-(166,0)]" + "@value": "[(165,20)-(165,24)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(165,20)-(166,0)]" + "@value": "[(164,18)-(166,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(165,20)-(165,24)]" + "@value": "[(165,20)-(166,0)]" } ] } @@ -9851,9 +9851,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id" @@ -9861,15 +9861,17 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,6)-(38,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -9877,19 +9879,17 @@ "@value": "[(37,6)-(38,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(37,6)-(38,0)]" } ] } @@ -10041,21 +10041,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/source-map/lexical/element_2", @@ -10096,6 +10081,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit" + } + ] + } ] } ] @@ -10191,9 +10191,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0" @@ -10201,35 +10201,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(16,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(14,10)]" + "@value": "[(14,2)-(16,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(14,2)-(14,10)]" } ] } @@ -11064,21 +11064,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(84,8)-(84,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F/source-map/lexical/element_2", @@ -11119,6 +11104,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(84,8)-(84,12)]" + } + ] + } ] } ] @@ -11688,21 +11688,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(89,8)-(89,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender/source-map/lexical/element_2", @@ -11743,6 +11728,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(89,8)-(89,12)]" + } + ] + } ] } ] @@ -12298,9 +12298,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData" @@ -12308,14 +12308,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(80,4)-(81,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData" @@ -12323,7 +12323,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(80,4)-(81,0)]" + "@value": "" } ] } @@ -12368,6 +12368,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/source-map/lexical/element_5", @@ -12447,21 +12462,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -13102,9 +13102,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData" @@ -13112,14 +13112,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(32,4)-(33,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData" @@ -13127,7 +13127,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,4)-(33,0)]" + "@value": "" } ] } @@ -13172,6 +13172,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/source-map/lexical/element_3", @@ -13225,21 +13240,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -13748,21 +13748,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(168,8)-(168,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType/source-map/lexical/element_2", @@ -13803,6 +13788,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(168,8)-(168,12)]" + } + ] + } ] } ] @@ -14918,21 +14918,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(174,8)-(174,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state/source-map/lexical/element_2", @@ -14973,6 +14958,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(174,8)-(174,12)]" + } + ] + } ] } ] @@ -15870,6 +15870,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/source-map/lexical/element_2", @@ -15910,21 +15925,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -16273,9 +16273,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData" @@ -16283,14 +16283,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(40,4)-(41,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData" @@ -16298,7 +16298,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,4)-(41,0)]" + "@value": "" } ] } @@ -16343,6 +16343,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/source-map/lexical/element_3", @@ -16396,21 +16411,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -16603,6 +16603,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData/source-map/lexical/element_2", @@ -16643,21 +16658,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -16874,21 +16874,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(122,8)-(122,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType/source-map/lexical/element_2", @@ -16929,6 +16914,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(122,8)-(122,12)]" + } + ] + } ] } ] @@ -17036,6 +17036,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/source-map/lexical/element_2", @@ -17076,21 +17091,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -17429,6 +17429,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData/source-map/lexical/element_2", @@ -17469,21 +17484,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -19182,21 +19182,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(153,8)-(153,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state/source-map/lexical/element_2", @@ -19237,6 +19222,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(153,8)-(153,12)]" + } + ] + } ] } ] @@ -19344,6 +19344,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/source-map/lexical/element_2", @@ -19384,21 +19399,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -20175,6 +20175,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData/source-map/lexical/element_2", @@ -20215,21 +20230,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -20738,21 +20738,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(130,8)-(130,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType/source-map/lexical/element_2", @@ -20793,6 +20778,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(130,8)-(130,12)]" + } + ] + } ] } ] @@ -21680,21 +21680,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(136,8)-(136,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state/source-map/lexical/element_2", @@ -21735,6 +21720,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(136,8)-(136,12)]" + } + ] + } ] } ] @@ -22466,6 +22466,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/source-map/lexical/element_2", @@ -22506,21 +22521,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -22871,9 +22871,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions" @@ -22881,14 +22881,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(198,6)-(199,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions" @@ -22896,7 +22896,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(198,6)-(199,0)]" + "@value": "true" } ] } @@ -23329,21 +23329,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(200,8)-(200,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state/source-map/lexical/element_2", @@ -23384,6 +23369,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(200,8)-(200,12)]" + } + ] + } ] } ] @@ -23949,6 +23949,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/source-map/lexical/element_2", @@ -23989,21 +24004,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -24579,9 +24579,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData" @@ -24589,14 +24589,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(71,4)-(72,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData" @@ -24604,7 +24604,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(71,4)-(72,0)]" + "@value": "" } ] } @@ -24649,6 +24649,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/source-map/lexical/element_5", @@ -24728,21 +24743,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -25544,6 +25544,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData/source-map/lexical/element_3", @@ -25597,21 +25612,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -25980,21 +25980,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(49,8)-(49,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F/source-map/lexical/element_2", @@ -26035,6 +26020,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(49,8)-(49,12)]" + } + ] + } ] } ] @@ -26604,21 +26604,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/gender/scalar/gender/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/gender/scalar/gender" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(54,8)-(54,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/gender/scalar/gender/source-map/lexical/element_2", @@ -26659,6 +26644,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/gender/scalar/gender/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/gender/scalar/gender" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(54,8)-(54,12)]" + } + ] + } ] } ] @@ -26778,9 +26778,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F" @@ -26788,14 +26788,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(56,6)-(57,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F" @@ -26803,7 +26803,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(56,6)-(57,0)]" + "@value": "true" } ] } @@ -27070,9 +27070,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData" @@ -27080,14 +27080,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(46,4)-(47,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData" @@ -27095,7 +27095,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(46,4)-(47,0)]" + "@value": "" } ] } @@ -27140,6 +27140,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/source-map/lexical/element_3", @@ -27193,21 +27208,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -28182,9 +28182,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions" @@ -28192,14 +28192,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(236,6)-(237,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions" @@ -28207,7 +28207,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(236,6)-(237,0)]" + "@value": "true" } ] } @@ -28868,21 +28868,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(238,8)-(238,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state/source-map/lexical/element_2", @@ -28923,6 +28908,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(238,8)-(238,12)]" + } + ] + } ] } ] @@ -29820,6 +29820,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/source-map/lexical/element_2", @@ -29860,21 +29875,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -30213,6 +30213,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData/source-map/lexical/element_2", @@ -30253,21 +30268,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -31104,6 +31104,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData/source-map/lexical/element_2", @@ -31144,21 +31159,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -31965,21 +31965,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(102,8)-(102,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F/source-map/lexical/element_2", @@ -32020,6 +32005,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(102,8)-(102,12)]" + } + ] + } ] } ] @@ -32589,21 +32589,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/gender/scalar/gender%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/gender/scalar/gender%3F" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(107,8)-(107,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/gender/scalar/gender%3F/source-map/lexical/element_2", @@ -32644,6 +32629,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/gender/scalar/gender%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/gender/scalar/gender%3F" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(107,8)-(107,12)]" + } + ] + } ] } ] @@ -32763,9 +32763,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F" @@ -32773,14 +32773,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(109,6)-(110,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F" @@ -32788,7 +32788,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(109,6)-(110,0)]" + "@value": "true" } ] } @@ -33921,6 +33921,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/source-map/lexical/element_2", @@ -33961,21 +33976,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -35322,21 +35322,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(218,8)-(218,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state/source-map/lexical/element_2", @@ -35377,6 +35362,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(218,8)-(218,12)]" + } + ] + } ] } ] @@ -35484,6 +35484,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData" + } + ], + "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/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/source-map/lexical/element_2", @@ -35524,21 +35539,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -35689,9 +35689,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable" @@ -35699,35 +35699,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(7,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,10)]" + "@value": "[(6,2)-(7,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(6,10)]" } ] } @@ -35793,9 +35793,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable" @@ -35803,35 +35803,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(8,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(7,10)]" + "@value": "[(7,2)-(8,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(7,2)-(7,10)]" } ] } @@ -35897,9 +35897,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable" @@ -35907,35 +35907,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,2)-(9,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,2)-(8,18)]" + "@value": "[(8,2)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(8,2)-(8,18)]" } ] } @@ -36001,9 +36001,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial" @@ -36011,35 +36011,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,2)-(10,2)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,2)-(9,9)]" + "@value": "[(9,2)-(10,2)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,2)-(9,9)]" } ] } @@ -40841,21 +40841,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(9,8)-(9,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -40896,6 +40881,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(9,8)-(9,12)]" + } + ] + } ] } ] @@ -41031,21 +41031,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(14,6)-(14,10)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_2", @@ -41086,6 +41071,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(14,6)-(14,10)]" + } + ] + } ] } ] @@ -43742,9 +43742,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse" @@ -43752,35 +43752,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(22,2)-(24,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,2)-(24,0)]" + "@value": "[(22,2)-(22,24)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,2)-(22,24)]" + "@value": "" } ] } @@ -43861,9 +43861,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable" @@ -43871,35 +43871,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,2)-(19,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,2)-(17,18)]" + "@value": "[(17,2)-(19,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(17,2)-(17,18)]" } ] } @@ -43964,9 +43964,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0" @@ -43974,35 +43974,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(16,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(14,10)]" + "@value": "[(14,2)-(16,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(14,2)-(14,10)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml.flattened.jsonld index f76af3d80e..cdbe84dd67 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml.flattened.jsonld @@ -540,11 +540,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/source-map/lexical/element_1" @@ -552,6 +547,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/source-map/parent-end-point/element_0" + } ] }, { @@ -579,11 +579,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/source-map/lexical/element_1" @@ -591,6 +586,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/source-map/parent-end-point/element_0" + } ] }, { @@ -643,11 +643,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2" @@ -658,6 +653,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -733,11 +733,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1" @@ -745,6 +740,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0" + } ] }, { @@ -832,11 +832,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/source-map/lexical/element_2" @@ -847,6 +842,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -925,11 +925,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/source-map/lexical/element_1" @@ -937,6 +932,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/source-map/parent-end-point/element_0" + } ] }, { @@ -1009,11 +1009,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/source-map/lexical/element_2" @@ -1024,6 +1019,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -1071,11 +1071,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/source-map/lexical/element_1" @@ -1083,6 +1078,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/source-map/parent-end-point/element_0" + } ] }, { @@ -1110,11 +1110,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1" @@ -1122,6 +1117,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0" + } ] }, { @@ -1197,11 +1197,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1" @@ -1209,6 +1204,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0" + } ] }, { @@ -1296,11 +1296,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/source-map/lexical/element_2" @@ -1311,6 +1306,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -1389,11 +1389,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/source-map/lexical/element_1" @@ -1401,6 +1396,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/source-map/parent-end-point/element_0" + } ] }, { @@ -1488,11 +1488,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/source-map/lexical/element_2" @@ -1503,6 +1498,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -1635,11 +1635,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate", @@ -1650,6 +1645,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(26,2)-(26,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request", "@type": [ @@ -1683,11 +1683,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial", @@ -1698,6 +1693,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(30,2)-(30,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200", "@type": [ @@ -1796,11 +1796,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -1816,6 +1811,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(35,2)-(168,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200", "@type": [ @@ -1958,6 +1958,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1" @@ -1965,18 +1970,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", @@ -1987,6 +1982,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(55,4)-(55,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200", "@type": [ @@ -2093,6 +2093,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1" @@ -2100,11 +2105,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, { @@ -2147,11 +2147,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -2167,6 +2162,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(69,6)-(82,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200", "@type": [ @@ -2326,6 +2326,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id/source-map/lexical/element_1" @@ -2333,18 +2338,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans", @@ -2355,6 +2350,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(82,4)-(82,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200", "@type": [ @@ -2447,6 +2447,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1" @@ -2454,11 +2459,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, { @@ -2501,11 +2501,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -2521,6 +2516,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(96,6)-(107,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200", "@type": [ @@ -2593,6 +2593,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id/source-map/lexical/element_1" @@ -2600,18 +2605,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule", @@ -2623,7 +2618,12 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(107,6)-(107,15)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/scalar/schema", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -2656,6 +2656,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1" @@ -2663,18 +2668,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", @@ -2685,6 +2680,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(113,4)-(113,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200", "@type": [ @@ -2827,6 +2827,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1" @@ -2834,18 +2839,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", @@ -2856,6 +2851,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(114,6)-(114,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200", "@type": [ @@ -2962,6 +2962,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1" @@ -2969,11 +2974,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, { @@ -3016,11 +3016,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -3036,6 +3031,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(128,8)-(141,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200", "@type": [ @@ -3195,6 +3195,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id/source-map/lexical/element_1" @@ -3202,18 +3207,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit", @@ -3224,6 +3219,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(141,6)-(141,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200", "@type": [ @@ -3330,6 +3330,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1" @@ -3337,11 +3342,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, { @@ -3384,11 +3384,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -3404,6 +3399,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(155,8)-(168,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0", "@type": [ @@ -3820,6 +3820,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", @@ -3830,11 +3835,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(37,6)-(38,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "@type": [ @@ -3953,6 +3953,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id", @@ -3963,11 +3968,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(37,6)-(38,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/parameter/parameter/path/account_id/scalar/schema/source-map", "@type": [ @@ -4214,6 +4214,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id", @@ -4224,11 +4229,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(37,6)-(38,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "@type": [ @@ -4337,6 +4337,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id", @@ -4347,11 +4352,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(37,6)-(38,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/parameter/parameter/path/loan_id/scalar/schema/source-map", "@type": [ @@ -4450,6 +4450,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id", @@ -4460,11 +4465,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(37,6)-(38,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/scalar/schema/source-map", "@type": [ @@ -4489,6 +4489,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", @@ -4499,11 +4504,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(37,6)-(38,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "@type": [ @@ -4688,6 +4688,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", @@ -4698,11 +4703,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(37,6)-(38,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "@type": [ @@ -4821,6 +4821,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id", @@ -4831,11 +4836,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(37,6)-(38,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/parameter/parameter/path/card_id/scalar/schema/source-map", "@type": [ @@ -5082,6 +5082,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id", @@ -5092,11 +5097,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(37,6)-(38,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "@type": [ @@ -5215,6 +5215,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id", @@ -5225,11 +5230,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(37,6)-(38,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/parameter/parameter/path/card_id/scalar/schema/source-map", "@type": [ @@ -5277,6 +5277,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/lexical/element_1" @@ -5284,11 +5289,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/declared-element/element_0" - } ] }, { @@ -6536,6 +6536,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0", "http://a.ml/vocabularies/document-source-maps#value": "securitySchemes/oauth2_0.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0", @@ -6546,11 +6551,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(14,2)-(14,10)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/scheme/oauth2_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body/source-map", "@type": [ @@ -6564,14 +6564,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_0" } ] }, @@ -6598,14 +6598,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_0" } ] }, @@ -6651,6 +6651,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -6658,11 +6663,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -6706,14 +6706,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" } ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ @@ -6779,6 +6779,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -6786,11 +6791,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -6830,6 +6830,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -6837,11 +6842,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -6885,14 +6885,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" } ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ @@ -6968,6 +6968,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -6975,11 +6980,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -7019,6 +7019,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -7026,11 +7031,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -7061,14 +7061,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0" } ] }, @@ -7108,14 +7108,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" } ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ @@ -7181,6 +7181,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -7188,11 +7193,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -7232,6 +7232,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -7239,11 +7244,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -7287,14 +7287,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" } ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ @@ -7370,6 +7370,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -7377,11 +7382,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -7421,6 +7421,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -7428,11 +7433,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -7461,14 +7461,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body", - "http://a.ml/vocabularies/document-source-maps#value": "[(29,6)-(30,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcorporate/supportedOperation/post/expects/request/payload/default/shape/body", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(29,6)-(30,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body/source-map/synthesized-field/element_1", @@ -7481,28 +7481,28 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body", - "http://a.ml/vocabularies/document-source-maps#value": "[(33,6)-(35,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2Fcommercial/supportedOperation/post/expects/request/payload/default/shape/body", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(33,6)-(35,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse/source-map/auto-generated-name/element_0" } ] }, @@ -7511,6 +7511,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(45,14)-(45,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", @@ -7521,11 +7526,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(45,14)-(46,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(45,14)-(45,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map", "@type": [ @@ -7539,26 +7539,26 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(62,14)-(64,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(62,14)-(64,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0", @@ -7570,14 +7570,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData/source-map/auto-generated-name/element_0" } ] }, @@ -7586,6 +7586,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(68,12)-(68,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", @@ -7596,24 +7601,19 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(68,12)-(69,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(68,12)-(68,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData/source-map/auto-generated-name/element_0" } ] }, @@ -7622,6 +7622,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(79,18)-(79,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", @@ -7632,11 +7637,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(79,18)-(80,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(79,18)-(79,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map", "@type": [ @@ -7650,26 +7650,26 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(89,14)-(91,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(89,14)-(91,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0", @@ -7681,14 +7681,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData/source-map/auto-generated-name/element_0" } ] }, @@ -7697,6 +7697,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(95,12)-(95,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", @@ -7707,24 +7712,19 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(95,12)-(96,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(95,12)-(95,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData/source-map/auto-generated-name/element_0" } ] }, @@ -7733,6 +7733,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(106,18)-(106,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", @@ -7743,11 +7748,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(106,18)-(107,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(106,18)-(106,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -7759,14 +7759,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body", - "http://a.ml/vocabularies/document-source-maps#value": "[(112,14)-(113,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2Fschedule/supportedOperation/get/returns/resp/200/payload/default/shape/body", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(112,14)-(113,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map", @@ -7781,26 +7781,26 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(121,16)-(123,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(121,16)-(123,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0", @@ -7812,14 +7812,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData/source-map/auto-generated-name/element_0" } ] }, @@ -7828,6 +7828,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(127,14)-(127,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", @@ -7838,24 +7843,19 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(127,14)-(128,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(127,14)-(127,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData/source-map/auto-generated-name/element_0" } ] }, @@ -7864,6 +7864,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(138,20)-(138,24)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", @@ -7874,11 +7879,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(138,20)-(139,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(138,20)-(138,24)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map", "@type": [ @@ -7892,26 +7892,26 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(148,16)-(150,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(148,16)-(150,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0", @@ -7923,14 +7923,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData/source-map/auto-generated-name/element_0" } ] }, @@ -7939,6 +7939,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(154,14)-(154,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", @@ -7949,24 +7954,19 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(154,14)-(155,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(154,14)-(154,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData/source-map/auto-generated-name/element_0" } ] }, @@ -7975,6 +7975,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(165,20)-(165,24)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", @@ -7986,20 +7991,15 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(165,20)-(166,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(165,20)-(165,24)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse", + "http://a.ml/vocabularies/document-source-maps#value": "[(45,14)-(46,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse", "http://a.ml/vocabularies/document-source-maps#value": "" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/union/CustomerMemberResponse", - "http://a.ml/vocabularies/document-source-maps#value": "[(45,14)-(46,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -8010,20 +8010,15 @@ "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/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "[(63,22)-(63,46)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", "http://a.ml/vocabularies/document-source-maps#value": "shapes.BankAccountData" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(63,22)-(63,46)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData/source-map/lexical/element_0", @@ -8031,8 +8026,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(68,12)-(69,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewBankAccountRequestData", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -8040,6 +8035,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData", "http://a.ml/vocabularies/document-source-maps#value": "[(79,18)-(80,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts%2F%7Baccount_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/BankAccountData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -8050,20 +8050,15 @@ "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/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "[(90,22)-(90,39)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", "http://a.ml/vocabularies/document-source-maps#value": "shapes.LoanData" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(90,22)-(90,39)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData/source-map/lexical/element_0", @@ -8071,14 +8066,19 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(95,12)-(96,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewLoanRequestData", "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData", - "http://a.ml/vocabularies/document-source-maps#value": "[(106,18)-(107,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(106,18)-(107,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Floans%2F%7Bloan_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/LoanData", + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_1", @@ -8090,20 +8090,15 @@ "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/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "[(122,24)-(122,46)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", "http://a.ml/vocabularies/document-source-maps#value": "shapes.DebitCardData" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(122,24)-(122,46)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData/source-map/lexical/element_0", @@ -8111,8 +8106,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(127,14)-(128,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewDebitCardRequestData", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -8120,6 +8115,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData", "http://a.ml/vocabularies/document-source-maps#value": "[(138,20)-(139,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/DebitCardData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -8130,20 +8130,15 @@ "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/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "[(149,24)-(149,47)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", "http://a.ml/vocabularies/document-source-maps#value": "shapes.CreditCardData" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(149,24)-(149,47)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData/source-map/lexical/element_0", @@ -8151,8 +8146,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(154,14)-(155,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/NewCreditCardRequestData", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -8160,6 +8155,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData", "http://a.ml/vocabularies/document-source-maps#value": "[(165,20)-(166,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fcredit%2F%7Bcard_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/CreditCardData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml", "http://a.ml/vocabularies/document#references": [ @@ -9507,11 +9507,6 @@ "@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/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/lexical/element_1" @@ -9520,6 +9515,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-expression": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/type-expression/element_0" @@ -9541,6 +9541,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable/source-map/lexical/element_1" @@ -9548,11 +9553,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable/source-map/declared-element/element_0" - } ] }, { @@ -9809,6 +9809,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/source-map/lexical/element_5" @@ -9828,11 +9833,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/source-map/lexical/element_4" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/source-map/declared-element/element_0" - } ] }, { @@ -9968,6 +9968,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/source-map/lexical/element_3" @@ -9981,11 +9986,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/source-map/declared-element/element_0" - } ] }, { @@ -10286,6 +10286,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/source-map/lexical/element_2" @@ -10296,11 +10301,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/source-map/declared-element/element_0" - } ] }, { @@ -10388,6 +10388,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/source-map/lexical/element_3" @@ -10401,11 +10406,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/source-map/declared-element/element_0" - } ] }, { @@ -10442,6 +10442,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData/source-map/lexical/element_2" @@ -10452,11 +10457,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData/source-map/declared-element/element_0" - } ] }, { @@ -10493,6 +10493,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/source-map/lexical/element_2" @@ -10503,11 +10508,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/source-map/declared-element/element_0" - } ] }, { @@ -10568,6 +10568,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData/source-map/lexical/element_2" @@ -10578,11 +10583,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData/source-map/declared-element/element_0" - } ] }, { @@ -10787,6 +10787,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/source-map/lexical/element_2" @@ -10797,11 +10802,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/source-map/declared-element/element_0" - } ] }, { @@ -10934,6 +10934,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData/source-map/lexical/element_2" @@ -10944,11 +10949,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData/source-map/declared-element/element_0" - } ] }, { @@ -11225,6 +11225,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/source-map/lexical/element_2" @@ -11235,11 +11240,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/source-map/declared-element/element_0" - } ] }, { @@ -11420,6 +11420,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/source-map/lexical/element_2" @@ -11430,11 +11435,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/source-map/declared-element/element_0" - } ] }, { @@ -11566,6 +11566,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/source-map/lexical/element_5" @@ -11585,11 +11590,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/source-map/lexical/element_4" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/source-map/declared-element/element_0" - } ] }, { @@ -11722,6 +11722,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData/source-map/lexical/element_3" @@ -11735,11 +11740,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData/source-map/declared-element/element_0" - } ] }, { @@ -11923,6 +11923,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/source-map/lexical/element_3" @@ -11936,11 +11941,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/source-map/declared-element/element_0" - } ] }, { @@ -12265,6 +12265,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/source-map/lexical/element_2" @@ -12275,11 +12280,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/source-map/declared-element/element_0" - } ] }, { @@ -12340,6 +12340,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData/source-map/lexical/element_2" @@ -12350,11 +12355,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData/source-map/declared-element/element_0" - } ] }, { @@ -12487,6 +12487,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData/source-map/lexical/element_2" @@ -12497,11 +12502,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData/source-map/declared-element/element_0" - } ] }, { @@ -12874,6 +12874,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/source-map/lexical/element_2" @@ -12884,11 +12889,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/source-map/declared-element/element_0" - } ] }, { @@ -13045,6 +13045,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/source-map/lexical/element_2" @@ -13055,11 +13060,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/source-map/declared-element/element_0" - } ] }, { @@ -13092,6 +13092,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/lexical/element_1" @@ -13099,11 +13104,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/declared-element/element_0" - } ] }, { @@ -13121,6 +13121,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/lexical/element_1" @@ -13128,11 +13133,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/declared-element/element_0" - } ] }, { @@ -13150,6 +13150,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/lexical/element_1" @@ -13157,11 +13162,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/declared-element/element_0" - } ] }, { @@ -13179,6 +13179,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/lexical/element_1" @@ -13186,11 +13191,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/declared-element/element_0" - } ] }, { @@ -13534,11 +13534,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse", @@ -13549,6 +13544,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(22,2)-(22,24)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/union/CustomerMemberResponse", @@ -13564,6 +13564,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable", "http://a.ml/vocabularies/document-source-maps#value": "traits/content-cacheable.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable", @@ -13574,11 +13579,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(17,2)-(17,18)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/declares/trait/contentCacheable", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/scalar_1/source-map", "@type": [ @@ -13953,14 +13953,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData/source-map/auto-generated-name/element_0" } ] }, @@ -13974,6 +13974,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData", "http://a.ml/vocabularies/document-source-maps#value": "[(80,4)-(80,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -14004,11 +14009,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#discriminatorValueDataNode", "http://a.ml/vocabularies/document-source-maps#value": "[(79,4)-(79,22)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/property/property/lei/scalar/lei", "@type": [ @@ -14186,14 +14186,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData/source-map/auto-generated-name/element_0" } ] }, @@ -14207,6 +14207,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData", "http://a.ml/vocabularies/document-source-maps#value": "[(32,4)-(32,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -14227,11 +14232,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData", "http://a.ml/vocabularies/document-source-maps#value": "[(31,2)-(39,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/id/scalar/id", "@type": [ @@ -14763,6 +14763,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -14778,11 +14783,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData", "http://a.ml/vocabularies/document-source-maps#value": "[(163,2)-(189,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/property/property/name/scalar/name", "@type": [ @@ -14874,14 +14874,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData/source-map/auto-generated-name/element_0" } ] }, @@ -14895,6 +14895,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData", "http://a.ml/vocabularies/document-source-maps#value": "[(40,4)-(40,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -14915,11 +14920,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData", "http://a.ml/vocabularies/document-source-maps#value": "[(39,2)-(45,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData/property/property/value/scalar/value", "@type": [ @@ -14968,6 +14968,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -14983,11 +14988,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData", "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(15,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType", "@type": [ @@ -15039,6 +15039,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -15054,11 +15059,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData", "http://a.ml/vocabularies/document-source-maps#value": "[(119,2)-(125,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData/property/property/value/scalar/value", "@type": [ @@ -15150,6 +15150,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -15165,11 +15170,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(11,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/category/scalar/category", "@type": [ @@ -15526,6 +15526,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -15541,11 +15546,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData", "http://a.ml/vocabularies/document-source-maps#value": "[(143,2)-(163,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData/property/property/address_country/scalar/address_country", "@type": [ @@ -15766,6 +15766,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -15781,11 +15786,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData", "http://a.ml/vocabularies/document-source-maps#value": "[(23,2)-(31,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/id/scalar/id", "@type": [ @@ -16273,6 +16273,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -16288,11 +16293,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData", "http://a.ml/vocabularies/document-source-maps#value": "[(125,2)-(143,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/id/scalar/id", "@type": [ @@ -16603,6 +16603,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -16618,11 +16623,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData", "http://a.ml/vocabularies/document-source-maps#value": "[(194,2)-(210,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/scalar_1/source-map", "@type": [ @@ -16776,14 +16776,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData/source-map/auto-generated-name/element_0" } ] }, @@ -16797,6 +16797,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData", "http://a.ml/vocabularies/document-source-maps#value": "[(71,4)-(71,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -16827,11 +16832,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#discriminatorValueDataNode", "http://a.ml/vocabularies/document-source-maps#value": "[(70,4)-(70,22)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData/property/property/type/scalar/type", "@type": [ @@ -17053,6 +17053,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -17073,11 +17078,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData", "http://a.ml/vocabularies/document-source-maps#value": "[(60,2)-(69,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F", "@type": [ @@ -17347,14 +17347,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData/source-map/auto-generated-name/element_0" } ] }, @@ -17368,6 +17368,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData", "http://a.ml/vocabularies/document-source-maps#value": "[(46,4)-(46,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -17388,11 +17393,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData", "http://a.ml/vocabularies/document-source-maps#value": "[(45,2)-(60,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/id/scalar/id", "@type": [ @@ -17965,6 +17965,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -17980,11 +17985,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData", "http://a.ml/vocabularies/document-source-maps#value": "[(228,2)-(252,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData/property/property/cash_back/scalar/cash_back", "@type": [ @@ -18076,6 +18076,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -18087,14 +18092,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(189,2)-(189,25)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData", - "http://a.ml/vocabularies/document-source-maps#value": "[(189,2)-(194,0)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewDebitCardRequestData", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(189,2)-(194,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData/property/property/down_payment/shape/down_payment", @@ -18319,6 +18319,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -18334,11 +18339,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData", "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(23,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/RepaymentSpecificationData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/lei/scalar/lei%3F", "@type": [ @@ -18995,6 +18995,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -19010,11 +19015,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData", "http://a.ml/vocabularies/document-source-maps#value": "[(96,2)-(119,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/cash_back/scalar/cash_back", "@type": [ @@ -19282,6 +19282,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -19297,11 +19302,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData", "http://a.ml/vocabularies/document-source-maps#value": "[(210,2)-(228,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", @@ -19312,6 +19312,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable", "http://a.ml/vocabularies/document-source-maps#value": "pageable.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable", @@ -19322,11 +19327,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,10)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/pageable", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", @@ -19337,6 +19337,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable", "http://a.ml/vocabularies/document-source-maps#value": "sortable.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable", @@ -19347,11 +19352,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,10)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/sortable", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", @@ -19362,6 +19362,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable", "http://a.ml/vocabularies/document-source-maps#value": "content-cacheable.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable", @@ -19372,11 +19377,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(8,18)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/contentCacheable", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", @@ -19387,6 +19387,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial", "http://a.ml/vocabularies/document-source-maps#value": "partial.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial", @@ -19397,11 +19402,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/declares/trait/partial", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/references/0/trait/default-abstract/object_1", "@type": [ @@ -19863,11 +19863,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F/source-map/lexical/element_2" @@ -19878,6 +19873,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -19983,11 +19983,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender/source-map/lexical/element_2" @@ -19998,6 +19993,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -20123,14 +20123,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(93,19)-(93,28)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(80,4)-(81,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/inherits/shape/CustomerData", - "http://a.ml/vocabularies/document-source-maps#value": "[(80,4)-(81,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/property/property/lei/scalar/lei/source-map", @@ -20269,14 +20269,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(37,17)-(37,23)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(32,4)-(33,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCustomerData/inherits/shape/AddressData", - "http://a.ml/vocabularies/document-source-maps#value": "[(32,4)-(33,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/id/scalar/id/source-map", @@ -20361,11 +20361,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType/source-map/lexical/element_2" @@ -20376,6 +20371,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -20535,11 +20535,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state/source-map/lexical/element_2" @@ -20550,6 +20545,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -20826,14 +20826,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(43,14)-(43,20)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(40,4)-(41,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewOrganizationData/inherits/shape/NewCustomerData", - "http://a.ml/vocabularies/document-source-maps#value": "[(40,4)-(41,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DurationData/property/property/value/scalar/value/source-map", @@ -20884,11 +20884,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType/source-map/lexical/element_2" @@ -20899,6 +20894,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -21277,11 +21277,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state/source-map/lexical/element_2" @@ -21292,6 +21287,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -21567,11 +21567,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType/source-map/lexical/element_2" @@ -21582,6 +21577,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -21732,11 +21732,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state/source-map/lexical/element_2" @@ -21747,6 +21742,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -21988,14 +21988,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/synthesized-field/element_0" } ] }, @@ -22040,11 +22040,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state/source-map/lexical/element_2" @@ -22055,6 +22050,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -22302,14 +22302,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(75,14)-(75,20)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(71,4)-(72,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/OrganizationData/inherits/shape/CustomerData", - "http://a.ml/vocabularies/document-source-maps#value": "[(71,4)-(72,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerData/property/property/type/scalar/type/source-map", @@ -22507,11 +22507,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F/source-map/lexical/element_2" @@ -22522,6 +22517,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -22627,11 +22627,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/gender/scalar/gender/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/gender/scalar/gender/source-map/lexical/element_2" @@ -22642,6 +22637,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/gender/scalar/gender/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/gender/scalar/gender/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -22669,14 +22669,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F/source-map/synthesized-field/element_0" } ] }, @@ -22735,14 +22735,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(57,18)-(57,27)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(46,4)-(47,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/inherits/shape/NewCustomerData", - "http://a.ml/vocabularies/document-source-maps#value": "[(46,4)-(47,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/id/scalar/id/source-map", @@ -22963,14 +22963,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/synthesized-field/element_0" } ] }, @@ -23024,11 +23024,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state/source-map/lexical/element_2" @@ -23037,7 +23032,12 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state/source-map/lexical/element_1" + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0" } ] }, @@ -23622,11 +23622,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F/source-map/lexical/element_2" @@ -23637,6 +23632,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -23742,11 +23742,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/gender/scalar/gender%3F/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/gender/scalar/gender%3F/source-map/lexical/element_2" @@ -23757,6 +23752,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/gender/scalar/gender%3F/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/gender/scalar/gender%3F/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -23784,14 +23784,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F/source-map/synthesized-field/element_0" } ] }, @@ -24258,11 +24258,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state/source-map/lexical/element_2" @@ -24273,6 +24268,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -24444,11 +24444,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2" @@ -24459,6 +24454,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -24486,11 +24486,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_2" @@ -24501,6 +24496,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -24784,11 +24784,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F", - "http://a.ml/vocabularies/document-source-maps#value": "[(84,8)-(84,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -24804,6 +24799,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F", "http://a.ml/vocabularies/document-source-maps#value": "[(83,6)-(86,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/title/scalar/title%3F", + "http://a.ml/vocabularies/document-source-maps#value": "[(84,8)-(84,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/given_name/scalar/given_name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/given_name/scalar/given_name", @@ -24864,11 +24864,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender", - "http://a.ml/vocabularies/document-source-maps#value": "[(89,8)-(89,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -24884,6 +24879,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender", "http://a.ml/vocabularies/document-source-maps#value": "[(88,6)-(91,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/gender/scalar/gender", + "http://a.ml/vocabularies/document-source-maps#value": "[(89,8)-(89,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/vat_id/scalar/vat_id%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/PersonData/property/property/vat_id/scalar/vat_id%3F", @@ -25014,11 +25014,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType", - "http://a.ml/vocabularies/document-source-maps#value": "[(168,8)-(168,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -25034,6 +25029,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType", "http://a.ml/vocabularies/document-source-maps#value": "[(167,6)-(170,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/accountType/scalar/accountType", + "http://a.ml/vocabularies/document-source-maps#value": "[(168,8)-(168,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/amount/shape/amount/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -25209,11 +25209,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state", - "http://a.ml/vocabularies/document-source-maps#value": "[(174,8)-(174,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -25229,6 +25224,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state", "http://a.ml/vocabularies/document-source-maps#value": "[(173,6)-(183,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/review_state/scalar/review_state", + "http://a.ml/vocabularies/document-source-maps#value": "[(174,8)-(174,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/interest_rate/scalar/interest_rate/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/LoanData/property/property/interest_rate/scalar/interest_rate", @@ -25364,11 +25364,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType", - "http://a.ml/vocabularies/document-source-maps#value": "[(122,8)-(122,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -25384,6 +25379,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType", "http://a.ml/vocabularies/document-source-maps#value": "[(121,6)-(125,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewBankAccountRequestData/property/property/accountType/scalar/accountType", + "http://a.ml/vocabularies/document-source-maps#value": "[(122,8)-(122,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData/property/property/value/scalar/value/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/MonetaryAmountData/property/property/value/scalar/value", @@ -25634,11 +25634,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state", - "http://a.ml/vocabularies/document-source-maps#value": "[(153,8)-(153,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -25654,6 +25649,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state", "http://a.ml/vocabularies/document-source-maps#value": "[(152,6)-(163,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewLoanRequestData/property/property/review_state/scalar/review_state", + "http://a.ml/vocabularies/document-source-maps#value": "[(153,8)-(153,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData/property/property/address_country/scalar/address_country/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/AddressData/property/property/address_country/scalar/address_country", @@ -25764,11 +25764,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType", - "http://a.ml/vocabularies/document-source-maps#value": "[(130,8)-(130,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -25784,6 +25779,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType", "http://a.ml/vocabularies/document-source-maps#value": "[(129,6)-(132,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/accountType/scalar/accountType", + "http://a.ml/vocabularies/document-source-maps#value": "[(130,8)-(130,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/amount/shape/amount/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -25899,11 +25899,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state", - "http://a.ml/vocabularies/document-source-maps#value": "[(136,8)-(136,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -25919,6 +25914,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state", "http://a.ml/vocabularies/document-source-maps#value": "[(135,6)-(138,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/review_state/scalar/review_state", + "http://a.ml/vocabularies/document-source-maps#value": "[(136,8)-(136,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/interest_rate/scalar/interest_rate/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/BankAccountData/property/property/interest_rate/scalar/interest_rate", @@ -25990,14 +25990,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(197,11)-(197,17)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(198,6)-(199,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/fees_and_comissions/scalar/fees_and_comissions", - "http://a.ml/vocabularies/document-source-maps#value": "[(198,6)-(199,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state/in/scalar_1", @@ -26079,11 +26079,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state", - "http://a.ml/vocabularies/document-source-maps#value": "[(200,8)-(200,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -26099,6 +26094,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state", "http://a.ml/vocabularies/document-source-maps#value": "[(199,6)-(206,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/review_state/scalar/review_state", + "http://a.ml/vocabularies/document-source-maps#value": "[(200,8)-(200,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/cash_back/scalar/cash_back/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/DebitCardData/property/property/cash_back/scalar/cash_back", @@ -26299,11 +26299,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F", - "http://a.ml/vocabularies/document-source-maps#value": "[(49,8)-(49,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -26319,6 +26314,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F", "http://a.ml/vocabularies/document-source-maps#value": "[(48,6)-(51,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/title/scalar/title%3F", + "http://a.ml/vocabularies/document-source-maps#value": "[(49,8)-(49,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/given_name/scalar/given_name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/given_name/scalar/given_name", @@ -26379,11 +26379,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/gender/scalar/gender/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/gender/scalar/gender", - "http://a.ml/vocabularies/document-source-maps#value": "[(54,8)-(54,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/gender/scalar/gender/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -26400,15 +26395,20 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(53,6)-(56,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F/source-map/synthesized-field/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/gender/scalar/gender/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/gender/scalar/gender", + "http://a.ml/vocabularies/document-source-maps#value": "[(54,8)-(54,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F", "http://a.ml/vocabularies/document-source-maps#value": "[(56,6)-(57,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/vat_id/scalar/vat_id%3F", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/birth_date/scalar/birth_date/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewPersonData/property/property/birth_date/scalar/birth_date", @@ -26490,14 +26490,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(235,6)-(236,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(236,6)-(237,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/fees_and_comissions/scalar/fees_and_comissions", - "http://a.ml/vocabularies/document-source-maps#value": "[(236,6)-(237,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state/in/scalar_1", @@ -26639,11 +26639,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state", - "http://a.ml/vocabularies/document-source-maps#value": "[(238,8)-(238,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -26659,6 +26654,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state", "http://a.ml/vocabularies/document-source-maps#value": "[(237,6)-(247,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/review_state/scalar/review_state", + "http://a.ml/vocabularies/document-source-maps#value": "[(238,8)-(238,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/interest_rate/scalar/interest_rate/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CreditCardData/property/property/interest_rate/scalar/interest_rate", @@ -26919,11 +26919,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F", - "http://a.ml/vocabularies/document-source-maps#value": "[(102,8)-(102,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -26939,6 +26934,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F", "http://a.ml/vocabularies/document-source-maps#value": "[(101,6)-(104,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/title/scalar/title%3F", + "http://a.ml/vocabularies/document-source-maps#value": "[(102,8)-(102,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/name/scalar/name%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/name/scalar/name%3F", @@ -26999,11 +26999,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/gender/scalar/gender%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/gender/scalar/gender%3F", - "http://a.ml/vocabularies/document-source-maps#value": "[(107,8)-(107,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/gender/scalar/gender%3F/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -27020,15 +27015,20 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(106,6)-(109,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F/source-map/synthesized-field/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/gender/scalar/gender%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/gender/scalar/gender%3F", + "http://a.ml/vocabularies/document-source-maps#value": "[(107,8)-(107,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F", "http://a.ml/vocabularies/document-source-maps#value": "[(109,6)-(110,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/vat_id/scalar/vat_id%3F", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/birth_date/scalar/birth_date%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/CustomerPatchData/property/property/birth_date/scalar/birth_date%3F", @@ -27294,11 +27294,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state", - "http://a.ml/vocabularies/document-source-maps#value": "[(218,8)-(218,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -27314,6 +27309,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state", "http://a.ml/vocabularies/document-source-maps#value": "[(217,6)-(228,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/0/declares/shape/NewCreditCardRequestData/property/property/review_state/scalar/review_state", + "http://a.ml/vocabularies/document-source-maps#value": "[(218,8)-(218,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/1/references/0/trait/default-abstract/object_1/queryParameters/offset%3F", "@type": [ @@ -27543,11 +27543,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#queryParameters", "http://a.ml/vocabularies/document-source-maps#value": "[(3,0)-(8,39)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/header/parameter/header/Authorization/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -27564,9 +27559,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(10,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,6)-(14,10)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/header/parameter/header/Authorization/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_2", @@ -27583,6 +27578,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(11,4)-(15,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/parameter/parameter/query/access_token/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,6)-(14,10)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/banking-api/api.raml#/references/2/scheme/fragment/settings/oauth2/flows/default-flow/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#authorizationUri", diff --git a/amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml.expanded.jsonld index dcdfa952ac..57966ec243 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml.expanded.jsonld @@ -112,9 +112,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version" @@ -122,14 +122,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,34)-(5,43)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version" @@ -137,7 +137,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(5,34)-(5,43)]" } ] } @@ -494,21 +494,6 @@ "@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/production/raml10/demo-api/api.raml#/declares/scheme/basic/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic" - } - ], - "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/production/raml10/demo-api/api.raml#/declares/scheme/basic/source-map/lexical/element_3", @@ -562,6 +547,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1090,9 +1090,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId" @@ -1100,14 +1100,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId" @@ -1115,7 +1115,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "true" } ] } @@ -1130,21 +1130,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/source-map/lexical/element_2", @@ -1185,6 +1170,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles" + } + ] + } ] } ] @@ -1379,9 +1379,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId" @@ -1389,14 +1389,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId" @@ -1404,7 +1404,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -1434,9 +1434,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy" @@ -1444,35 +1444,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + "@value": "[(120,4)-(123,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(120,4)-(123,0)]" + "@value": "[(120,4)-(120,9)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(120,4)-(120,9)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" } ] } @@ -1670,9 +1670,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId" @@ -1680,14 +1680,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId" @@ -1695,7 +1695,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -1725,9 +1725,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch" @@ -1735,35 +1735,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + "@value": "[(123,4)-(126,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(123,4)-(126,0)]" + "@value": "[(123,4)-(123,10)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(123,4)-(123,10)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" } ] } @@ -1961,9 +1961,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId" @@ -1971,14 +1971,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId" @@ -1986,7 +1986,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -2016,9 +2016,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash" @@ -2026,35 +2026,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + "@value": "[(126,4)-(129,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(126,4)-(129,0)]" + "@value": "[(126,4)-(126,10)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(126,4)-(126,10)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" } ] } @@ -2252,9 +2252,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId" @@ -2262,14 +2262,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId" @@ -2277,7 +2277,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -2307,9 +2307,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash" @@ -2317,35 +2317,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + "@value": "[(129,4)-(132,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(129,4)-(132,0)]" + "@value": "[(129,4)-(129,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(129,4)-(129,12)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" } ] } @@ -2597,9 +2597,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId" @@ -2607,14 +2607,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId" @@ -2622,7 +2622,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -2652,9 +2652,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents" @@ -2662,35 +2662,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + "@value": "[(132,4)-(146,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(132,4)-(146,0)]" + "@value": "[(132,4)-(132,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(132,4)-(132,12)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" } ] } @@ -2942,9 +2942,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId" @@ -2952,14 +2952,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId" @@ -2967,7 +2967,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -3053,21 +3053,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(140,12)-(140,16)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema/source-map/lexical/element_2", @@ -3108,6 +3093,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(140,12)-(140,16)]" + } + ] + } ] } ] @@ -3185,21 +3185,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/source-map/lexical/element_2", @@ -3240,6 +3225,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents" + } + ] + } ] } ] @@ -3488,9 +3488,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId" @@ -3498,14 +3498,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId" @@ -3513,7 +3513,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -3543,9 +3543,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions" @@ -3553,35 +3553,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + "@value": "[(146,4)-(178,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(146,4)-(178,0)]" + "@value": "[(146,4)-(146,16)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(146,4)-(146,16)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" } ] } @@ -3998,9 +3998,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId" @@ -4008,14 +4008,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId" @@ -4023,7 +4023,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -4109,21 +4109,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/permissionId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/permissionId/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(157,12)-(157,16)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/permissionId/scalar/schema/source-map/lexical/element_2", @@ -4164,6 +4149,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/permissionId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/permissionId/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(157,12)-(157,16)]" + } + ] + } ] } ] @@ -4241,21 +4241,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/source-map/lexical/element_2", @@ -4296,6 +4281,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions" + } + ] + } ] } ] @@ -4472,9 +4472,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId" @@ -4482,14 +4482,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId" @@ -4497,7 +4497,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -4527,9 +4527,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions" @@ -4537,35 +4537,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + "@value": "[(178,4)-(193,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(178,4)-(193,0)]" + "@value": "[(178,4)-(178,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(178,4)-(178,14)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" } ] } @@ -4853,9 +4853,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId" @@ -4863,14 +4863,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId" @@ -4878,7 +4878,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -4964,50 +4964,50 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(183,12)-(183,16)]" + "@value": "[(183,12)-(184,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(183,12)-(184,0)]" + "@value": "[(184,12)-(185,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(184,12)-(185,0)]" + "@value": "[(182,10)-(185,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema" @@ -5015,7 +5015,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(182,10)-(185,0)]" + "@value": "[(183,12)-(183,16)]" } ] } @@ -5096,21 +5096,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/source-map/lexical/element_2", @@ -5151,6 +5136,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions" + } + ] + } ] } ] @@ -5381,9 +5381,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId" @@ -5391,14 +5391,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId" @@ -5406,7 +5406,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -5436,9 +5436,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments" @@ -5446,35 +5446,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + "@value": "[(193,4)-(231,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(193,4)-(231,0)]" + "@value": "[(193,4)-(193,13)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(193,4)-(193,13)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" } ] } @@ -5798,9 +5798,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId" @@ -5808,14 +5808,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId" @@ -5823,7 +5823,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -5970,9 +5970,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId" @@ -5980,14 +5980,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(198,7)-(198,18)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId" @@ -5995,7 +5995,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(198,7)-(198,18)]" + "@value": "true" } ] } @@ -6010,9 +6010,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D" @@ -6020,35 +6020,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments" + "@value": "[(198,6)-(231,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(198,6)-(231,0)]" + "@value": "[(198,6)-(198,18)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(198,6)-(198,18)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments" } ] } @@ -6264,9 +6264,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId" @@ -6274,14 +6274,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId" @@ -6289,7 +6289,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -6434,9 +6434,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId" @@ -6444,14 +6444,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(198,7)-(198,18)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId" @@ -6459,7 +6459,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(198,7)-(198,18)]" + "@value": "" } ] } @@ -6489,9 +6489,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies" @@ -6499,35 +6499,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D" + "@value": "[(209,8)-(231,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(209,8)-(231,0)]" + "@value": "[(209,8)-(209,16)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(209,8)-(209,16)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D" } ] } @@ -6887,9 +6887,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId" @@ -6897,14 +6897,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId" @@ -6912,7 +6912,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -7057,9 +7057,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId" @@ -7067,14 +7067,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(198,7)-(198,18)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId" @@ -7082,7 +7082,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(198,7)-(198,18)]" + "@value": "" } ] } @@ -7168,21 +7168,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/replyId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/replyId/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(217,16)-(217,20)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/replyId/scalar/schema/source-map/lexical/element_2", @@ -7223,6 +7208,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/replyId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/replyId/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(217,16)-(217,20)]" + } + ] + } ] } ] @@ -7300,50 +7300,50 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies" + "@value": "[(214,10)-(214,20)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "http://a.ml/vocabularies/apiContract#parameter" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(214,10)-(214,20)]" + "@value": "[(215,26)-(219,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#parameter" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(215,26)-(219,0)]" + "@value": "[(214,10)-(231,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D" @@ -7351,7 +7351,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(214,10)-(231,0)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies" } ] } @@ -7621,9 +7621,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId" @@ -7631,14 +7631,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId" @@ -7646,7 +7646,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -7676,9 +7676,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime" @@ -7686,35 +7686,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + "@value": "[(231,4)-(246,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(231,4)-(246,0)]" + "@value": "[(231,4)-(231,13)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(231,4)-(231,13)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" } ] } @@ -7966,9 +7966,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId" @@ -7976,14 +7976,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId" @@ -7991,7 +7991,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -8021,9 +8021,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties" @@ -8031,35 +8031,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + "@value": "[(246,4)-(266,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(246,4)-(266,0)]" + "@value": "[(246,4)-(246,15)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(246,4)-(246,15)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" } ] } @@ -8347,9 +8347,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId" @@ -8357,14 +8357,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(110,3)-(110,11)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId" @@ -8372,7 +8372,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,3)-(110,11)]" + "@value": "" } ] } @@ -8458,21 +8458,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/propertyKey/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/propertyKey/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(256,12)-(256,16)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/propertyKey/scalar/schema/source-map/lexical/element_2", @@ -8513,6 +8498,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/propertyKey/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/propertyKey/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(256,12)-(256,16)]" + } + ] + } ] } ] @@ -8590,21 +8590,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/source-map/lexical/element_2", @@ -8645,6 +8630,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties" + } + ] + } ] } ] @@ -8722,9 +8722,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash" @@ -8732,35 +8732,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles" + "@value": "[(266,2)-(269,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(266,2)-(269,0)]" + "@value": "[(266,2)-(266,8)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(266,2)-(266,8)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles" } ] } @@ -9014,9 +9014,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId" @@ -9024,14 +9024,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(269,3)-(269,13)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId" @@ -9039,7 +9039,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(269,3)-(269,13)]" + "@value": "true" } ] } @@ -9054,9 +9054,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren" @@ -9064,35 +9064,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles" + "@value": "[(269,2)-(281,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(269,2)-(281,0)]" + "@value": "[(269,2)-(269,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(269,2)-(269,22)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles" } ] } @@ -9344,9 +9344,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId" @@ -9354,14 +9354,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(269,3)-(269,13)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId" @@ -9369,7 +9369,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(269,3)-(269,13)]" + "@value": "" } ] } @@ -9516,9 +9516,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId" @@ -9526,14 +9526,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(276,5)-(276,14)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId" @@ -9541,7 +9541,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(276,5)-(276,14)]" + "@value": "true" } ] } @@ -9556,9 +9556,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D" @@ -9566,35 +9566,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren" + "@value": "[(276,4)-(281,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(276,4)-(281,0)]" + "@value": "[(276,4)-(276,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(276,4)-(276,14)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren" } ] } @@ -9959,21 +9959,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(293,8)-(293,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema/source-map/lexical/element_2", @@ -10014,6 +9999,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(293,8)-(293,12)]" + } + ] + } ] } ] @@ -10091,21 +10091,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/source-map/lexical/element_2", @@ -10146,6 +10131,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges" + } + ] + } ] } ] @@ -10252,21 +10252,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(302,10)-(302,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema/source-map/lexical/element_2", @@ -10307,6 +10292,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(302,10)-(302,14)]" + } + ] + } ] } ] @@ -10475,9 +10475,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch" @@ -10485,35 +10485,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges" + "@value": "[(298,2)-(312,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(298,2)-(312,0)]" + "@value": "[(298,2)-(298,8)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(298,2)-(298,8)]" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges" } ] } @@ -10652,21 +10652,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/parameter/parameter/path/email/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/parameter/parameter/path/email/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(315,6)-(315,10)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/parameter/parameter/path/email/scalar/schema/source-map/lexical/element_2", @@ -10707,6 +10692,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/parameter/parameter/path/email/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/parameter/parameter/path/email/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(315,6)-(315,10)]" + } + ] + } ] } ] @@ -11081,21 +11081,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(327,8)-(327,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema/source-map/lexical/element_2", @@ -11136,6 +11121,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(327,8)-(327,12)]" + } + ] + } ] } ] @@ -11213,21 +11213,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/source-map/lexical/element_2", @@ -11268,6 +11253,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps" + } + ] + } ] } ] @@ -11842,6 +11842,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema" + } + ], + "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/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema/source-map/lexical/element_1", @@ -11869,21 +11884,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -11961,21 +11961,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/source-map/lexical/element_2", @@ -12016,6 +12001,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives" + } + ] + } ] } ] @@ -12274,21 +12274,6 @@ "@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/production/raml10/demo-api/api.raml#/declares/array/Arrable/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable" - } - ], - "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/production/raml10/demo-api/api.raml#/declares/array/Arrable/source-map/lexical/element_2", @@ -12330,6 +12315,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable/source-map/type-property-lexical-info/element_0", @@ -12368,9 +12368,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson" @@ -12378,35 +12378,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(28,2)-(29,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,2)-(29,0)]" + "@value": "[(28,2)-(28,11)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,2)-(28,11)]" + "@value": "" } ] } @@ -12567,9 +12567,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union" @@ -12577,14 +12577,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "ImportFormat | Picture" + "@value": "[(74,4)-(75,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union" @@ -12592,7 +12592,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(74,4)-(75,0)]" + "@value": "ImportFormat | Picture" } ] } @@ -12637,6 +12637,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable" + } + ], + "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/production/raml10/demo-api/api.raml#/declares/shape/Unionable/source-map/lexical/element_2", @@ -12677,21 +12692,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -12755,21 +12755,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(66,8)-(66,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source/source-map/lexical/element_2", @@ -12810,6 +12795,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(66,8)-(66,12)]" + } + ] + } ] } ] @@ -12934,9 +12934,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar" @@ -12944,14 +12944,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "string" + "@value": "[(71,14)-(71,22)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar" @@ -12959,7 +12959,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(71,14)-(71,22)]" + "@value": "string" } ] } @@ -12984,9 +12984,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets" @@ -12994,35 +12994,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(71,8)-(71,12)]" + "@value": "[(69,6)-(73,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(69,6)-(73,0)]" + "@value": "[(70,8)-(71,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(70,8)-(71,0)]" + "@value": "[(71,8)-(71,12)]" } ] } @@ -13133,6 +13133,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat" + } + ], + "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/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/source-map/lexical/element_2", @@ -13173,21 +13188,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -13212,21 +13212,6 @@ "@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/production/raml10/demo-api/api.raml#/declares/shape/Resource/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Resource" - } - ], - "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/production/raml10/demo-api/api.raml#/declares/shape/Resource/source-map/lexical/element_1", @@ -13254,11 +13239,26 @@ } ] } - ] - } - ] - }, - { + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Resource/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Resource" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", @@ -13278,9 +13278,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product" @@ -13288,35 +13288,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(29,2)-(30,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,2)-(30,0)]" + "@value": "[(29,2)-(29,9)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,2)-(29,9)]" + "@value": "" } ] } @@ -13344,9 +13344,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image" @@ -13354,35 +13354,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(26,2)-(27,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,2)-(27,0)]" + "@value": "[(26,2)-(26,7)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,2)-(26,7)]" + "@value": "" } ] } @@ -13449,21 +13449,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(36,8)-(36,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url/source-map/lexical/element_2", @@ -13504,6 +13489,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,8)-(36,12)]" + } + ] + } ] } ] @@ -13636,6 +13636,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture" + } + ], + "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/production/raml10/demo-api/api.raml#/declares/shape/Picture/source-map/lexical/element_4", @@ -13702,21 +13717,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -13943,21 +13943,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(44,8)-(44,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind/source-map/lexical/element_5", @@ -14037,6 +14022,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(44,8)-(44,12)]" + } + ] + } ] } ] @@ -14161,21 +14161,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/etag/scalar/etag/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/etag/scalar/etag" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(49,8)-(49,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/etag/scalar/etag/source-map/lexical/element_2", @@ -14216,6 +14201,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/etag/scalar/etag/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/etag/scalar/etag" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(49,8)-(49,12)]" + } + ] + } ] } ] @@ -14340,21 +14340,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/selfLink/scalar/selfLink" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(52,8)-(52,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/selfLink/scalar/selfLink/source-map/lexical/element_2", @@ -14395,6 +14380,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/selfLink/scalar/selfLink" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(52,8)-(52,12)]" + } + ] + } ] } ] @@ -14519,21 +14519,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/key/scalar/key/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/key/scalar/key" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(55,8)-(55,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/key/scalar/key/source-map/lexical/element_2", @@ -14574,6 +14559,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/key/scalar/key/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/key/scalar/key" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(55,8)-(55,12)]" + } + ] + } ] } ] @@ -14698,21 +14698,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/visibility/scalar/visibility/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/visibility/scalar/visibility" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(58,8)-(58,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/visibility/scalar/visibility/source-map/lexical/element_2", @@ -14753,6 +14738,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/visibility/scalar/visibility/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/visibility/scalar/visibility" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(58,8)-(58,12)]" + } + ] + } ] } ] @@ -14877,21 +14877,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/value/scalar/value" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(61,8)-(61,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/value/scalar/value/source-map/lexical/element_2", @@ -14932,6 +14917,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/value/scalar/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(61,8)-(61,12)]" + } + ] + } ] } ] @@ -15054,6 +15054,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property" + } + ], + "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/production/raml10/demo-api/api.raml#/declares/shape/Property/source-map/lexical/element_2", @@ -15094,21 +15109,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -15140,21 +15140,6 @@ "@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/production/raml10/demo-api/api.raml#/declares/scheme/basic/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic" - } - ], - "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/production/raml10/demo-api/api.raml#/declares/scheme/basic/source-map/lexical/element_3", @@ -15208,6 +15193,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -15239,21 +15239,6 @@ "@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/production/raml10/demo-api/api.raml#/declares/scheme/other/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/other" - } - ], - "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/production/raml10/demo-api/api.raml#/declares/scheme/other/source-map/lexical/element_3", @@ -15307,6 +15292,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/other/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/other" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml.flattened.jsonld index e10c4e5519..22de2c0509 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml.flattened.jsonld @@ -1254,11 +1254,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/source-map/lexical/element_2" @@ -1269,6 +1264,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -1311,11 +1311,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/source-map/lexical/element_1" @@ -1323,6 +1318,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/source-map/parent-end-point/element_0" + } ] }, { @@ -1365,11 +1365,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/source-map/lexical/element_1" @@ -1377,6 +1372,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/source-map/parent-end-point/element_0" + } ] }, { @@ -1419,11 +1419,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/source-map/lexical/element_1" @@ -1431,6 +1426,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/source-map/parent-end-point/element_0" + } ] }, { @@ -1473,11 +1473,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/source-map/lexical/element_1" @@ -1485,6 +1480,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/source-map/parent-end-point/element_0" + } ] }, { @@ -1542,11 +1542,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/source-map/lexical/element_1" @@ -1554,6 +1549,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/source-map/parent-end-point/element_0" + } ] }, { @@ -1632,11 +1632,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/source-map/lexical/element_2" @@ -1647,6 +1642,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -1704,11 +1704,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/source-map/lexical/element_1" @@ -1716,6 +1711,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/source-map/parent-end-point/element_0" + } ] }, { @@ -1829,11 +1829,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/source-map/lexical/element_2" @@ -1844,6 +1839,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -1885,11 +1885,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/source-map/lexical/element_1" @@ -1897,6 +1892,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/source-map/parent-end-point/element_0" + } ] }, { @@ -2001,11 +2001,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/source-map/lexical/element_2" @@ -2016,6 +2011,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -2072,11 +2072,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/source-map/lexical/element_1" @@ -2084,6 +2079,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/source-map/parent-end-point/element_0" + } ] }, { @@ -2189,11 +2189,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/source-map/lexical/element_1" @@ -2201,6 +2196,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -2276,11 +2276,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/source-map/lexical/element_1" @@ -2288,6 +2283,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/source-map/parent-end-point/element_0" + } ] }, { @@ -2416,11 +2416,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/lexical/element_2" @@ -2431,6 +2426,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -2489,11 +2489,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/source-map/lexical/element_1" @@ -2501,6 +2496,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/source-map/parent-end-point/element_0" + } ] }, { @@ -2558,11 +2558,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/source-map/lexical/element_1" @@ -2570,6 +2565,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/source-map/parent-end-point/element_0" + } ] }, { @@ -2674,11 +2674,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/source-map/lexical/element_2" @@ -2689,6 +2684,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -2711,11 +2711,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash/source-map/lexical/element_1" @@ -2723,6 +2718,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash/source-map/parent-end-point/element_0" + } ] }, { @@ -2780,11 +2780,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/source-map/lexical/element_1" @@ -2792,6 +2787,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/source-map/parent-end-point/element_0" + } ] }, { @@ -2869,11 +2869,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/source-map/lexical/element_1" @@ -2881,6 +2876,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -2987,11 +2987,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/source-map/lexical/element_2" @@ -3002,6 +2997,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -3029,11 +3029,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/source-map/lexical/element_1" @@ -3041,6 +3036,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/source-map/parent-end-point/element_0" + } ] }, { @@ -3169,11 +3169,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/source-map/lexical/element_2" @@ -3184,6 +3179,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -3335,11 +3335,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/source-map/lexical/element_2" @@ -3350,6 +3345,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -3426,16 +3426,16 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version/source-map/lexical/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version/source-map/virtual-element/element_0" } - ] + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version/source-map/lexical/element_0" + } + ] }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/source-map/lexical/element_0", @@ -3642,22 +3642,17 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId/source-map/virtual-element/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -3673,6 +3668,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(110,2)-(266,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/supportedOperation/post/source-map", "@type": [ @@ -3725,14 +3725,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -3741,11 +3741,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy", @@ -3756,6 +3751,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(120,4)-(120,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/supportedOperation/post/source-map", "@type": [ @@ -3808,14 +3808,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -3824,11 +3824,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch", @@ -3839,6 +3834,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(123,4)-(123,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/supportedOperation/post/source-map", "@type": [ @@ -3891,14 +3891,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -3907,11 +3907,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash", @@ -3922,6 +3917,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(126,4)-(126,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/supportedOperation/post/source-map", "@type": [ @@ -3974,14 +3974,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -3990,11 +3990,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash", @@ -4005,6 +4000,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(129,4)-(129,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/supportedOperation/get/source-map", "@type": [ @@ -4071,14 +4071,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -4087,11 +4087,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents", @@ -4102,6 +4097,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(132,4)-(132,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/supportedOperation/get/source-map", "@type": [ @@ -4168,14 +4168,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -4228,11 +4228,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -4248,6 +4243,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(137,6)-(146,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/supportedOperation/get/source-map", "@type": [ @@ -4314,14 +4314,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -4330,11 +4330,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions", @@ -4345,6 +4340,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(146,4)-(146,16)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/supportedOperation/get/source-map", "@type": [ @@ -4458,14 +4458,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -4518,11 +4518,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -4538,6 +4533,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(154,6)-(178,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/supportedOperation/get/source-map", "@type": [ @@ -4587,14 +4587,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -4603,11 +4603,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions", @@ -4618,6 +4613,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(178,4)-(178,14)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/supportedOperation/get/source-map", "@type": [ @@ -4700,14 +4700,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -4760,11 +4760,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -4780,6 +4775,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(180,6)-(193,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/supportedOperation/get/source-map", "@type": [ @@ -4843,14 +4843,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -4859,11 +4859,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments", @@ -4874,6 +4869,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(193,4)-(193,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/supportedOperation/get/source-map", "@type": [ @@ -4962,14 +4962,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -5018,22 +5018,17 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId/source-map/virtual-element/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D", @@ -5044,6 +5039,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(198,6)-(198,18)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/supportedOperation/get/source-map", "@type": [ @@ -5104,14 +5104,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -5158,14 +5158,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -5174,11 +5174,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies", @@ -5189,6 +5184,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(209,8)-(209,16)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/supportedOperation/get/source-map", "@type": [ @@ -5283,14 +5283,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -5337,14 +5337,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -5397,11 +5397,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -5417,6 +5412,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(214,10)-(231,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/supportedOperation/get/source-map", "@type": [ @@ -5486,14 +5486,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -5502,11 +5502,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime", @@ -5517,6 +5512,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(231,4)-(231,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/supportedOperation/get/source-map", "@type": [ @@ -5583,14 +5583,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -5599,11 +5599,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties", @@ -5614,6 +5609,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(246,4)-(246,15)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/supportedOperation/get/source-map", "@type": [ @@ -5696,14 +5696,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -5756,11 +5756,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -5776,6 +5771,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(253,6)-(266,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash/supportedOperation/delete/source-map", "@type": [ @@ -5790,11 +5790,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash", @@ -5805,6 +5800,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(266,2)-(266,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2Ftrash", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/supportedOperation/post/source-map", "@type": [ @@ -5873,22 +5873,17 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId/source-map/virtual-element/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren", @@ -5899,6 +5894,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(269,2)-(269,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/supportedOperation/delete/source-map", "@type": [ @@ -5965,14 +5965,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -6021,22 +6021,17 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId/source-map/virtual-element/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D", @@ -6047,6 +6042,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(276,4)-(276,14)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fabout/supportedOperation/get/source-map", "@type": [ @@ -6160,11 +6160,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -6180,6 +6175,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(290,2)-(298,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request", "@type": [ @@ -6213,11 +6213,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch", @@ -6228,6 +6223,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(298,2)-(298,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/supportedOperation/get/source-map", "@type": [ @@ -6388,11 +6388,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -6408,6 +6403,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(324,2)-(331,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchannels%2Fstop/supportedOperation/post/source-map", "@type": [ @@ -6567,11 +6567,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -6587,6 +6582,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(345,2)-(356,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", @@ -6598,14 +6598,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,34)-(5,43)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/server/https%3A%2F%2Fapi.mulesoft.com%2F%7Bversion%7D/variable/parameter/path/version", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(5,34)-(5,43)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles/supportedOperation/post/source-map/lexical/element_2", @@ -6735,14 +6735,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/supportedOperation/post/source-map/lexical/element_1", @@ -6780,14 +6780,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcopy/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -6830,14 +6830,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftouch/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -6880,14 +6880,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Ftrash/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -6930,14 +6930,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Funtrash/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -6990,14 +6990,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -7050,14 +7050,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -7069,11 +7069,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema/source-map/lexical/element_2" @@ -7084,6 +7079,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -7152,14 +7152,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -7248,14 +7248,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -7267,11 +7267,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/permissionId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/permissionId/scalar/schema/source-map/lexical/element_2" @@ -7282,6 +7277,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/permissionId/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/permissionId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -7335,14 +7335,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -7395,14 +7395,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -7414,11 +7414,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/lexical/element_2" @@ -7429,6 +7424,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -7492,14 +7492,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -7562,14 +7562,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -7602,14 +7602,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(198,7)-(198,18)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D/parameter/parameter/path/commentId", - "http://a.ml/vocabularies/document-source-maps#value": "[(198,7)-(198,18)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/supportedOperation/get/source-map/lexical/element_0", @@ -7647,14 +7647,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -7687,14 +7687,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(198,7)-(198,18)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId", - "http://a.ml/vocabularies/document-source-maps#value": "[(198,7)-(198,18)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies/parameter/parameter/path/commentId/source-map/virtual-element/element_0", @@ -7767,14 +7767,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -7807,14 +7807,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(198,7)-(198,18)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId", - "http://a.ml/vocabularies/document-source-maps#value": "[(198,7)-(198,18)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/commentId/source-map/virtual-element/element_0", @@ -7826,11 +7826,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/replyId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/replyId/scalar/schema/source-map/lexical/element_2" @@ -7841,6 +7836,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/replyId/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/replyId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -7914,14 +7914,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frealtime/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -7974,14 +7974,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -8034,14 +8034,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,3)-(110,11)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/fileId/source-map/virtual-element/element_0", @@ -8053,11 +8053,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/propertyKey/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/propertyKey/scalar/schema/source-map/lexical/element_2" @@ -8068,6 +8063,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/propertyKey/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/propertyKey/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8146,14 +8146,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(269,3)-(269,13)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren/parameter/parameter/path/folderId", - "http://a.ml/vocabularies/document-source-maps#value": "[(269,3)-(269,13)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/supportedOperation/delete/source-map/lexical/element_1", @@ -8201,14 +8201,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(269,3)-(269,13)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId", - "http://a.ml/vocabularies/document-source-maps#value": "[(269,3)-(269,13)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/folderId/source-map/virtual-element/element_0", @@ -8241,14 +8241,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(276,5)-(276,14)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfolderId%7D%2Fchildren%2F%7BchildId%7D/parameter/parameter/path/childId", - "http://a.ml/vocabularies/document-source-maps#value": "[(276,5)-(276,14)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fabout/supportedOperation/get/source-map/lexical/element_1", @@ -8280,11 +8280,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema/source-map/lexical/element_2" @@ -8295,6 +8290,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8379,11 +8379,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/parameter/parameter/path/email/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/parameter/parameter/path/email/scalar/schema/source-map/lexical/element_2" @@ -8394,6 +8389,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/parameter/parameter/path/email/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/parameter/parameter/path/email/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8441,11 +8441,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema/source-map/lexical/element_2" @@ -8456,6 +8451,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8558,6 +8558,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema/source-map/default-node/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema/source-map/lexical/element_1" @@ -8565,11 +8570,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema/source-map/default-node/element_0" - } ] }, { @@ -8623,11 +8623,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles/supportedOperation/get/security/default-requirement_1", "http://a.ml/vocabularies/document-source-maps#value": "[(102,16)-(102,21)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(140,12)-(140,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -8643,16 +8638,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(139,10)-(142,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fparents%2F%7BparentId%7D/parameter/parameter/path/parentId/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(140,12)-(140,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/supportedOperation/delete/returns/resp/204/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/supportedOperation/delete/returns/resp/204", "http://a.ml/vocabularies/document-source-maps#value": "[(172,12)-(173,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/permissionId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/permissionId/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(157,12)-(157,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/permissionId/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -8669,9 +8664,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(156,10)-(159,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(183,12)-(183,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/permissionId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fpermissions%2F%7BpermissionId%7D/parameter/parameter/path/permissionId/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(157,12)-(157,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/lexical/element_2", @@ -8689,9 +8684,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(182,10)-(185,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/replyId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/replyId/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(217,16)-(217,20)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Frevisions%2F%7BrevisionId%7D/parameter/parameter/path/revisionId/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(183,12)-(183,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/replyId/scalar/schema/source-map/lexical/element_2", @@ -8709,9 +8704,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(216,14)-(219,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/propertyKey/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/propertyKey/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(256,12)-(256,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/replyId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fcomments%2F%7BcommentId%7D%2Freplies%2F%7BreplyId%7D/parameter/parameter/path/replyId/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(217,16)-(217,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/propertyKey/scalar/schema/source-map/lexical/element_2", @@ -8729,9 +8724,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(255,10)-(258,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(293,8)-(293,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/propertyKey/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Ffiles%2F%7BfileId%7D%2Fproperties%2F%7BpropertyKey%7D/parameter/parameter/path/propertyKey/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(256,12)-(256,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema/source-map/lexical/element_2", @@ -8748,6 +8743,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(292,6)-(295,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2F%7BchangeId%7D/parameter/parameter/path/changeId/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(293,8)-(293,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema", "@type": [ @@ -8805,11 +8805,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/parameter/parameter/path/email/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/parameter/parameter/path/email/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(315,6)-(315,10)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/parameter/parameter/path/email/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -8826,9 +8821,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(314,4)-(317,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(327,8)-(327,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/parameter/parameter/path/email/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2FpermissionIds%2F%7Bemail%7D/parameter/parameter/path/email/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(315,6)-(315,10)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema/source-map/lexical/element_2", @@ -8845,11 +8840,21 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(326,6)-(329,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fapps%2F%7BappId%7D/parameter/parameter/path/appId/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(327,8)-(327,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema", @@ -8860,21 +8865,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(348,8)-(349,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fteamdrives%2F%7BteamDriveId%7D/parameter/parameter/path/teamDriveId/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic/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/production/raml10/demo-api/api.raml#/declares/scheme/basic/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic/source-map/lexical/element_3" @@ -8888,6 +8883,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic/source-map/declared-element/element_0" + } ] }, { @@ -8900,11 +8900,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema/source-map/lexical/element_2" @@ -8915,6 +8910,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -8942,11 +8942,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces", "http://a.ml/vocabularies/document-source-maps#value": "[(301,8)-(310,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -8968,9 +8963,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(10,2)-(14,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(302,10)-(302,14)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/basic", + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema/source-map/lexical/element_2", @@ -8987,6 +8982,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(301,8)-(310,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/web-api/endpoint/%2Fchanges%2Fwatch/supportedOperation/post/expects/request/parameter/parameter/query/spaces/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(302,10)-(302,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml", "http://a.ml/vocabularies/document#declares": [ @@ -9271,11 +9271,6 @@ "@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/production/raml10/demo-api/api.raml#/declares/array/Arrable/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable/source-map/lexical/element_2" @@ -9287,6 +9282,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable/source-map/type-property-lexical-info/element_0" @@ -9298,11 +9298,6 @@ "@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/production/raml10/demo-api/api.raml#/declares/shape/AppPerson/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson/source-map/lexical/element_1" @@ -9310,6 +9305,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson/source-map/declared-element/element_0" + } ] }, { @@ -9350,6 +9350,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/source-map/lexical/element_2" @@ -9360,11 +9365,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/source-map/declared-element/element_0" - } ] }, { @@ -9425,6 +9425,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/source-map/lexical/element_2" @@ -9435,11 +9440,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/source-map/declared-element/element_0" - } ] }, { @@ -9447,11 +9447,6 @@ "@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/production/raml10/demo-api/api.raml#/declares/shape/Resource/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Resource/source-map/lexical/element_1" @@ -9459,6 +9454,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Resource/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Resource/source-map/declared-element/element_0" + } ] }, { @@ -9466,11 +9466,6 @@ "@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/production/raml10/demo-api/api.raml#/declares/shape/Product/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product/source-map/lexical/element_1" @@ -9478,6 +9473,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product/source-map/declared-element/element_0" + } ] }, { @@ -9485,11 +9485,6 @@ "@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/production/raml10/demo-api/api.raml#/declares/shape/Image/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image/source-map/lexical/element_1" @@ -9497,6 +9492,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image/source-map/declared-element/element_0" + } ] }, { @@ -9538,6 +9538,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/source-map/lexical/element_4" @@ -9554,11 +9559,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/source-map/lexical/element_3" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/source-map/declared-element/element_0" - } ] }, { @@ -9720,6 +9720,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/source-map/lexical/element_2" @@ -9730,11 +9735,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/source-map/declared-element/element_0" - } ] }, { @@ -9742,11 +9742,6 @@ "@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/production/raml10/demo-api/api.raml#/declares/scheme/other/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/other/source-map/lexical/element_3" @@ -9760,6 +9755,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/other/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/other/source-map/declared-element/element_0" + } ] }, { @@ -9781,11 +9781,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", @@ -9802,14 +9797,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(75,2)-(78,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable", - "http://a.ml/vocabularies/document-source-maps#value": "[(76,4)-(76,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable", + "http://a.ml/vocabularies/document-source-maps#value": "[(76,4)-(76,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson/source-map/lexical/element_1", @@ -9821,6 +9816,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(28,2)-(28,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/AppPerson", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union/anyOf/shape/default-node", "@type": [ @@ -9868,14 +9868,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union/source-map/type-expression/element_0" } ] }, @@ -9889,6 +9889,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable", "http://a.ml/vocabularies/document-source-maps#value": "[(74,4)-(74,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -9904,11 +9909,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable", "http://a.ml/vocabularies/document-source-maps#value": "[(73,2)-(75,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source", "@type": [ @@ -10000,6 +10000,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -10015,16 +10020,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat", "http://a.ml/vocabularies/document-source-maps#value": "[(63,2)-(73,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Resource/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Resource", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Resource/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Resource", @@ -10036,8 +10031,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(27,2)-(27,10)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Resource/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Resource", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -10051,8 +10046,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(29,2)-(29,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Product", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -10065,6 +10060,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(26,2)-(26,7)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Image", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url", "@type": [ @@ -10119,6 +10119,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture", "http://a.ml/vocabularies/document-source-maps#value": "[(32,4)-(32,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -10144,11 +10149,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(34,15)-(39,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind", "@type": [ @@ -10430,6 +10430,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property", "http://a.ml/vocabularies/document-source-maps#value": "[(40,4)-(40,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -10445,16 +10450,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property", "http://a.ml/vocabularies/document-source-maps#value": "[(39,2)-(63,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/other/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/other", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/other/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -10475,6 +10470,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/other", "http://a.ml/vocabularies/document-source-maps#value": "[(14,2)-(18,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/other/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/scheme/other", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/array/Arrable/shape/items/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -10523,25 +10523,20 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "ImportFormat | Picture" + "http://a.ml/vocabularies/document-source-maps#value": "[(74,4)-(75,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "[(74,4)-(75,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "ImportFormat | Picture" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source/source-map/lexical/element_2" @@ -10552,6 +10547,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10599,11 +10599,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/source-map/lexical/element_1" @@ -10611,6 +10606,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10638,11 +10638,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url/source-map/lexical/element_2" @@ -10653,6 +10648,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10707,11 +10707,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind/source-map/lexical/element_5" @@ -10731,6 +10726,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind/source-map/lexical/element_4" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10758,11 +10758,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/etag/scalar/etag/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/etag/scalar/etag/source-map/lexical/element_2" @@ -10773,6 +10768,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/etag/scalar/etag/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/etag/scalar/etag/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10800,11 +10800,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/selfLink/scalar/selfLink/source-map/lexical/element_2" @@ -10815,6 +10810,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/selfLink/scalar/selfLink/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10842,11 +10842,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/key/scalar/key/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/key/scalar/key/source-map/lexical/element_2" @@ -10857,6 +10852,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/key/scalar/key/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/key/scalar/key/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10884,11 +10884,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/visibility/scalar/visibility/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/visibility/scalar/visibility/source-map/lexical/element_2" @@ -10899,6 +10894,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/visibility/scalar/visibility/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/visibility/scalar/visibility/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10926,11 +10926,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/value/scalar/value/source-map/lexical/element_2" @@ -10941,6 +10936,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/value/scalar/value/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -10983,11 +10983,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Unionable/inherits/union/default-union/anyOf/shape/default-node_1", "http://a.ml/vocabularies/document-source-maps#value": "[(74,25)-(74,32)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source", - "http://a.ml/vocabularies/document-source-maps#value": "[(66,8)-(66,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -11003,27 +10998,27 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source", "http://a.ml/vocabularies/document-source-maps#value": "[(65,6)-(69,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/source/scalar/source", + "http://a.ml/vocabularies/document-source-maps#value": "[(66,8)-(66,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets", - "http://a.ml/vocabularies/document-source-maps#value": "[(71,8)-(71,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets", @@ -11035,9 +11030,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(70,8)-(71,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url", - "http://a.ml/vocabularies/document-source-maps#value": "[(36,8)-(36,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets", + "http://a.ml/vocabularies/document-source-maps#value": "[(71,8)-(71,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url/source-map/lexical/element_2", @@ -11054,6 +11049,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url", "http://a.ml/vocabularies/document-source-maps#value": "[(35,6)-(39,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Picture/property/property/url/scalar/url", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,8)-(36,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind/scalar_1/source-map", "@type": [ @@ -11093,11 +11093,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind", - "http://a.ml/vocabularies/document-source-maps#value": "[(44,8)-(44,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#in", @@ -11129,9 +11124,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(45,8)-(46,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/etag/scalar/etag/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/etag/scalar/etag", - "http://a.ml/vocabularies/document-source-maps#value": "[(49,8)-(49,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind", + "http://a.ml/vocabularies/document-source-maps#value": "[(44,8)-(44,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/etag/scalar/etag/source-map/lexical/element_2", @@ -11149,9 +11144,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(48,6)-(51,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/selfLink/scalar/selfLink", - "http://a.ml/vocabularies/document-source-maps#value": "[(52,8)-(52,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/etag/scalar/etag/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/etag/scalar/etag", + "http://a.ml/vocabularies/document-source-maps#value": "[(49,8)-(49,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/selfLink/scalar/selfLink/source-map/lexical/element_2", @@ -11169,9 +11164,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(51,6)-(54,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/key/scalar/key/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/key/scalar/key", - "http://a.ml/vocabularies/document-source-maps#value": "[(55,8)-(55,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/selfLink/scalar/selfLink/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/selfLink/scalar/selfLink", + "http://a.ml/vocabularies/document-source-maps#value": "[(52,8)-(52,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/key/scalar/key/source-map/lexical/element_2", @@ -11189,9 +11184,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(54,6)-(57,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/visibility/scalar/visibility/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/visibility/scalar/visibility", - "http://a.ml/vocabularies/document-source-maps#value": "[(58,8)-(58,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/key/scalar/key/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/key/scalar/key", + "http://a.ml/vocabularies/document-source-maps#value": "[(55,8)-(55,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/visibility/scalar/visibility/source-map/lexical/element_2", @@ -11209,9 +11204,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(57,6)-(60,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/value/scalar/value", - "http://a.ml/vocabularies/document-source-maps#value": "[(61,8)-(61,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/visibility/scalar/visibility/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/visibility/scalar/visibility", + "http://a.ml/vocabularies/document-source-maps#value": "[(58,8)-(58,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/value/scalar/value/source-map/lexical/element_2", @@ -11229,15 +11224,20 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(60,6)-(63,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar/source-map/type-expression/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar", - "http://a.ml/vocabularies/document-source-maps#value": "string" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/value/scalar/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(61,8)-(61,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar", "http://a.ml/vocabularies/document-source-maps#value": "[(71,14)-(71,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar/source-map/type-expression/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/ImportFormat/property/property/targets/array/targets/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "string" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/demo-api/api.raml#/declares/shape/Property/property/property/kind/scalar/kind/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", diff --git a/amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml.expanded.jsonld index 1795362296..2c21bfa7a7 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml.expanded.jsonld @@ -664,6 +664,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "{\n \"a\": 1,\n \"b\": 2\n}" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1/source-map/lexical/element_2", @@ -704,21 +719,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "{\n \"a\": 1,\n \"b\": 2\n}" - } - ] - } ] } ] @@ -795,6 +795,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema" + } + ], + "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/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/source-map/lexical/element_3", @@ -848,21 +863,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml.flattened.jsonld index 6d1c6fa23a..a841be47f7 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml.flattened.jsonld @@ -219,6 +219,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/source-map/lexical/element_3" @@ -232,11 +237,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0" - } ] }, { @@ -377,6 +377,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -397,11 +402,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(9,48)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/references/0/external/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/references/0/external", @@ -525,6 +525,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1/source-map/lexical/element_2" @@ -535,11 +540,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" - } ] }, { @@ -615,6 +615,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1", + "http://a.ml/vocabularies/document-source-maps#value": "{\n \"a\": 1,\n \"b\": 2\n}" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#a", @@ -630,11 +635,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1", "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(4,1)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "{\n \"a\": 1,\n \"b\": 2\n}" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonchema-apiexternalexample/api.raml#/declares/shape/jsonSchema/examples/example/default-example/object_1/a/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", diff --git a/amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml.expanded.jsonld index 175e55bfec..77ccc07555 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml.expanded.jsonld @@ -207,9 +207,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street" @@ -217,35 +217,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(16,16)]" + "@value": "[(15,8)-(17,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,8)-(17,9)]" + "@value": "[(16,10)-(16,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(16,26)]" + "@value": "[(16,10)-(16,16)]" } ] } @@ -342,9 +342,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number" @@ -352,35 +352,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,10)-(19,16)]" + "@value": "[(18,8)-(20,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,8)-(20,9)]" + "@value": "[(19,10)-(19,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,10)-(19,26)]" + "@value": "[(19,10)-(19,16)]" } ] } @@ -506,9 +506,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state" @@ -516,35 +516,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,10)-(30,16)]" + "@value": "[(29,8)-(31,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,8)-(31,9)]" + "@value": "[(30,10)-(30,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,10)-(30,26)]" + "@value": "[(30,10)-(30,16)]" } ] } @@ -641,9 +641,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country" @@ -651,35 +651,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,10)-(33,16)]" + "@value": "[(32,8)-(34,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,8)-(34,9)]" + "@value": "[(33,10)-(33,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,10)-(33,26)]" + "@value": "[(33,10)-(33,16)]" } ] } @@ -764,9 +764,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location" @@ -774,35 +774,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,4)-(36,5)]" + "@value": "[(27,6)-(27,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,6)-(35,7)]" + "@value": "[(26,4)-(36,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,6)-(27,12)]" + "@value": "[(28,6)-(35,7)]" } ] } @@ -892,6 +892,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(13,6)-(13,12)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#external-fragment-ref": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/external-fragment-ref/element_0", @@ -907,9 +922,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema" @@ -917,7 +932,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,6)-(13,12)]" + "@value": "" } ] } @@ -962,21 +977,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml.flattened.jsonld index de85c80d7c..7a0a936f8f 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml.flattened.jsonld @@ -224,14 +224,19 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#external-fragment-ref": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/external-fragment-ref/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0" } ], "http://a.ml/vocabularies/document-source-maps#lexical": [ @@ -244,11 +249,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0" - } ] }, { @@ -382,15 +382,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,6)-(13,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/external-fragment-ref/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema", "http://a.ml/vocabularies/document-source-maps#value": "/definitions/address" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,6)-(13,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/lexical/element_2", @@ -407,11 +412,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema", "http://a.ml/vocabularies/document-source-maps#value": "[(12,4)-(25,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/references/0/external/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/references/0/external", @@ -422,11 +422,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street/source-map/lexical/element_1" @@ -434,6 +429,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -451,11 +451,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number/source-map/lexical/element_1" @@ -463,6 +458,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -533,6 +533,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/source-map/lexical/element_1" @@ -540,11 +545,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -557,11 +557,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location", "http://a.ml/vocabularies/document-source-maps#value": "[(21,8)-(23,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street", @@ -573,9 +568,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,10)-(19,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/street/scalar/street", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number/source-map/lexical/element_1", @@ -587,6 +582,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(19,10)-(19,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/number/scalar/number", + "http://a.ml/vocabularies/document-source-maps#value": "[(19,10)-(19,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state", "@type": [ @@ -666,6 +666,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,6)-(27,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location", @@ -676,21 +681,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(28,6)-(35,7)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,6)-(27,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state/source-map/lexical/element_1" @@ -698,6 +693,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -715,11 +715,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country/source-map/lexical/element_1" @@ -727,6 +722,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -739,11 +739,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country", "http://a.ml/vocabularies/document-source-maps#value": "[(32,8)-(34,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(30,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state", @@ -755,9 +750,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(30,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country", - "http://a.ml/vocabularies/document-source-maps#value": "[(33,10)-(33,16)]" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/state/scalar/state", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(30,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country/source-map/lexical/element_1", @@ -768,6 +763,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(33,10)-(33,26)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema-apiwithfragmentref/api.raml#/declares/shape/jsonSchema/property/property/location/shape/location/property/property/country/scalar/country", + "http://a.ml/vocabularies/document-source-maps#value": "[(33,10)-(33,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml.expanded.jsonld index ce92da5e98..1ec5f79267 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml.expanded.jsonld @@ -207,9 +207,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age" @@ -217,35 +217,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,10)-(13,16)]" + "@value": "[(12,8)-(14,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(14,9)]" + "@value": "[(13,10)-(13,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,10)-(13,26)]" + "@value": "[(13,10)-(13,16)]" } ] } @@ -318,21 +318,6 @@ "@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/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema" - } - ], - "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/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/source-map/lexical/element_3", @@ -387,6 +372,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/source-map/type-property-lexical-info/element_0", diff --git a/amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml.flattened.jsonld index 858a9fc2ad..4fa30ca59e 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml.flattened.jsonld @@ -165,11 +165,6 @@ "@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/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/source-map/lexical/element_3" @@ -184,6 +179,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/source-map/type-property-lexical-info/element_0" @@ -241,11 +241,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -266,6 +261,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema", "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(16,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema", @@ -286,11 +286,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age/source-map/lexical/element_1" @@ -298,6 +293,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -310,11 +310,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,13)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age", @@ -324,6 +319,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,26)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/jsonschema/api.raml#/declares/shape/jsonSchema/property/property/age/scalar/age", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml.expanded.jsonld index b43d6d1b16..c178558388 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml.expanded.jsonld @@ -191,9 +191,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations" @@ -201,14 +201,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(12,10)-(13,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations" @@ -216,7 +216,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,10)-(13,0)]" + "@value": "" } ] } @@ -2384,21 +2384,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(12,10)-(12,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/lexical/element_2", @@ -2439,6 +2424,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(12,10)-(12,14)]" + } + ] + } ] } ] @@ -2715,9 +2715,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str" @@ -2725,14 +2725,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(20,10)-(21,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str" @@ -2740,7 +2740,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,10)-(21,0)]" + "@value": "" } ] } @@ -2755,21 +2755,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(20,10)-(20,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_2", @@ -2810,6 +2795,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(20,10)-(20,14)]" + } + ] + } ] } ] @@ -3094,9 +3094,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body" @@ -3104,14 +3104,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,8)-(27,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body" @@ -3119,7 +3119,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(26,8)-(27,0)]" } ] } @@ -3407,9 +3407,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body" @@ -3417,14 +3417,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,8)-(33,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body" @@ -3432,7 +3432,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(32,8)-(33,0)]" } ] } @@ -3976,9 +3976,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation" @@ -3986,14 +3986,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(16,4)-(17,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation" @@ -4001,7 +4001,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,4)-(17,0)]" + "@value": "" } ] } @@ -4046,6 +4046,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location" + } + ], + "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/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/source-map/lexical/element_3", @@ -4099,21 +4114,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -4421,9 +4421,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType" @@ -4431,35 +4431,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,6)-(15,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#in" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(15,0)]" + "@value": "[(12,6)-(15,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType" + "@value": "http://www.w3.org/ns/shacl#in" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(13,8)-(15,0)]" } ] } @@ -4580,9 +4580,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData" @@ -4590,14 +4590,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(10,4)-(11,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData" @@ -4605,7 +4605,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,4)-(11,0)]" + "@value": "" } ] } @@ -4650,6 +4650,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation" + } + ], + "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/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/source-map/lexical/element_3", @@ -4703,21 +4718,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -4925,6 +4925,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj" + } + ], + "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/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/source-map/lexical/element_2", @@ -4965,21 +4980,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -5009,21 +5009,6 @@ "@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/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str" - } - ], - "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/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str/source-map/lexical/element_2", @@ -5064,6 +5049,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -5146,21 +5146,6 @@ "@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/production/raml10/locations-api/api.raml#/references/0/declares/array/arr/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr" - } - ], - "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/production/raml10/locations-api/api.raml#/references/0/declares/array/arr/source-map/lexical/element_2", @@ -5202,6 +5187,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr/source-map/type-property-lexical-info/element_0", @@ -5283,9 +5283,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node" @@ -5293,14 +5293,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,10)-(21,20)]" + "@value": "Location" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node" @@ -5308,7 +5308,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "Location" + "@value": "[(21,10)-(21,20)]" } ] } @@ -5328,9 +5328,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations" @@ -5338,35 +5338,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(20,2)-(22,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,2)-(22,0)]" + "@value": "[(20,2)-(20,11)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,2)-(20,11)]" + "@value": "" } ] } @@ -5452,9 +5452,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country" @@ -5462,14 +5462,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(7,6)-(8,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country" @@ -5477,7 +5477,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(8,0)]" + "@value": "true" } ] } @@ -5600,9 +5600,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/state/scalar/state/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/state/scalar/state/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/state/scalar/state" @@ -5610,14 +5610,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(8,6)-(9,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/state/scalar/state/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/state/scalar/state/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/state/scalar/state" @@ -5625,7 +5625,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,6)-(9,0)]" + "@value": "true" } ] } @@ -5748,9 +5748,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/city/scalar/city/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/city/scalar/city/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/city/scalar/city" @@ -5758,14 +5758,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,6)-(10,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/city/scalar/city/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/city/scalar/city/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/city/scalar/city" @@ -5773,7 +5773,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(10,0)]" + "@value": "true" } ] } @@ -5896,9 +5896,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address" @@ -5906,14 +5906,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(10,6)-(11,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address" @@ -5921,7 +5921,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(11,0)]" + "@value": "true" } ] } @@ -6178,6 +6178,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData" + } + ], + "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/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/source-map/lexical/element_2", @@ -6218,21 +6233,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -6368,9 +6368,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#aliases-array": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/aliases-array/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0" @@ -6378,35 +6378,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "address->file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0::file://amf-cli/shared/src/test/resources/production/raml10/locations-api/exchange_modules/a6d4cdc7-ecb0-4315-a6a6-216c71ba0b54/commons-datatypes/1.0.0/locationTypes.raml::../../commons-datatypes/1.0.0/locationTypes.raml" + "@value": "[(1,0)-(29,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0" + "@value": "http://a.ml/vocabularies/document#usage" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(29,17)]" + "@value": "[(3,0)-(5,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#aliases-array": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/aliases-array/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/document#usage" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,0)-(5,0)]" + "@value": "address->file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0::file://amf-cli/shared/src/test/resources/production/raml10/locations-api/exchange_modules/a6d4cdc7-ecb0-4315-a6a6-216c71ba0b54/commons-datatypes/1.0.0/locationTypes.raml::../../commons-datatypes/1.0.0/locationTypes.raml" } ] } diff --git a/amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml.flattened.jsonld index 3a4e4f6e45..886cd6af0f 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml.flattened.jsonld @@ -979,11 +979,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/lexical/element_2" @@ -994,6 +989,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1033,11 +1033,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_2" @@ -1048,6 +1043,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1073,14 +1073,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0" } ] }, @@ -1107,14 +1107,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body/source-map/lexical/element_0" } ] }, @@ -1133,14 +1133,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations/source-map/auto-generated-name/element_0" } ] }, @@ -1194,11 +1194,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(12,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", @@ -1214,27 +1209,27 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default", "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(14,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(12,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str/source-map/auto-generated-name/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1250,6 +1245,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default", "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(21,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -1261,14 +1261,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body", - "http://a.ml/vocabularies/document-source-maps#value": "[(26,8)-(27,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fobj/supportedOperation/get/returns/resp/200/payload/default/shape/body", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(26,8)-(27,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body/source-map/synthesized-field/element_1", @@ -1280,26 +1280,26 @@ "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/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body", - "http://a.ml/vocabularies/document-source-maps#value": "[(32,8)-(33,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body", "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Farr/supportedOperation/get/returns/resp/200/payload/default/array/body", + "http://a.ml/vocabularies/document-source-maps#value": "[(32,8)-(33,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations", "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(13,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/inherits/array/Locations", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/examples/example/blah/array_1/member/object_2", "@type": [ @@ -1437,14 +1437,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(21,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Fstr/supportedOperation/get/returns/resp/200/payload/default/scalar/default/inherits/scalar/str", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(21,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/returns/resp/200/payload/default/array/default/examples/example/blah/array_1/member/object_2/id", @@ -3108,11 +3108,6 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#aliases-array": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/aliases-array/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/lexical/element_1" @@ -3121,6 +3116,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#aliases-array": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/aliases-array/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/virtual-element/element_0" @@ -3221,6 +3221,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/source-map/lexical/element_3" @@ -3234,11 +3239,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/source-map/declared-element/element_0" - } ] }, { @@ -3302,6 +3302,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/source-map/lexical/element_3" @@ -3315,11 +3320,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/source-map/declared-element/element_0" - } ] }, { @@ -3361,6 +3361,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/source-map/lexical/element_2" @@ -3371,11 +3376,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/source-map/declared-element/element_0" - } ] }, { @@ -3383,11 +3383,6 @@ "@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/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str/source-map/lexical/element_2" @@ -3398,6 +3393,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str/source-map/declared-element/element_0" + } ] }, { @@ -3426,11 +3426,6 @@ "@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/production/raml10/locations-api/api.raml#/references/0/declares/array/arr/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr/source-map/lexical/element_2" @@ -3442,6 +3437,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr/source-map/type-property-lexical-info/element_0" @@ -3474,11 +3474,6 @@ "@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/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/lexical/element_1" @@ -3487,6 +3482,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/type-property-lexical-info/element_0" @@ -3559,11 +3559,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#references", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/aliases-array/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0", - "http://a.ml/vocabularies/document-source-maps#value": "address->file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0::file://amf-cli/shared/src/test/resources/production/raml10/locations-api/exchange_modules/a6d4cdc7-ecb0-4315-a6a6-216c71ba0b54/commons-datatypes/1.0.0/locationTypes.raml::../../commons-datatypes/1.0.0/locationTypes.raml" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0", @@ -3574,6 +3569,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#usage", "http://a.ml/vocabularies/document-source-maps#value": "[(3,0)-(5,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/aliases-array/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0", + "http://a.ml/vocabularies/document-source-maps#value": "address->file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0::file://amf-cli/shared/src/test/resources/production/raml10/locations-api/exchange_modules/a6d4cdc7-ecb0-4315-a6a6-216c71ba0b54/commons-datatypes/1.0.0/locationTypes.raml::../../commons-datatypes/1.0.0/locationTypes.raml" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#declares", @@ -3632,14 +3632,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation/source-map/auto-generated-name/element_0" } ] }, @@ -3653,6 +3653,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location", "http://a.ml/vocabularies/document-source-maps#value": "[(16,4)-(16,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -3673,11 +3678,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location", "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(20,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType", "@type": [ @@ -3729,14 +3729,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData/source-map/auto-generated-name/element_0" } ] }, @@ -3750,6 +3750,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation", "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(10,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -3770,11 +3775,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(15,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/property/property/a/scalar/a", "@type": [ @@ -3828,6 +3828,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj", "http://a.ml/vocabularies/document-source-maps#value": "[(24,4)-(24,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -3843,16 +3848,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj", "http://a.ml/vocabularies/document-source-maps#value": "[(23,2)-(27,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -3868,6 +3863,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str", "http://a.ml/vocabularies/document-source-maps#value": "[(22,2)-(23,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/scalar/str", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr/scalar/items/source-map", "@type": [ @@ -3882,11 +3882,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", @@ -3902,6 +3897,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr", "http://a.ml/vocabularies/document-source-maps#value": "[(27,2)-(29,17)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/arr", @@ -3920,22 +3920,17 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node/source-map/type-expression/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node/source-map/lexical/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations", @@ -3946,6 +3941,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(20,2)-(20,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations", @@ -4081,6 +4081,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/source-map/lexical/element_2" @@ -4091,11 +4096,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/source-map/declared-element/element_0" - } ] }, { @@ -4148,14 +4148,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(18,10)-(18,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(16,4)-(17,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/inherits/shape/NewLocation", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,4)-(17,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/list", @@ -4180,6 +4180,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/source-map/default-node/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/source-map/lexical/element_1" @@ -4187,11 +4192,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/source-map/default-node/element_0" - } ] }, { @@ -4215,14 +4215,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(12,18)-(15,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(11,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/inherits/shape/AddressData", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(11,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/property/property/a/scalar/a/source-map", @@ -4279,14 +4279,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "[(21,10)-(21,20)]" + "http://a.ml/vocabularies/document-source-maps#value": "Location" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/array/Locations/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "Location" + "http://a.ml/vocabularies/document-source-maps#value": "[(21,10)-(21,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country", @@ -4508,6 +4508,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -4523,11 +4528,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(11,17)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/property/property/id/scalar/id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/Location/property/property/id/scalar/id", @@ -4603,6 +4603,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType", @@ -4613,11 +4618,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#in", "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(15,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/NewLocation/property/property/addressType/scalar/addressType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/declares/shape/obj/property/property/a/scalar/a", @@ -4633,14 +4633,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country/source-map/synthesized-field/element_0" } ] }, @@ -4669,14 +4669,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/state/scalar/state/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/state/scalar/state/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/state/scalar/state/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/state/scalar/state/source-map/synthesized-field/element_0" } ] }, @@ -4705,14 +4705,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/city/scalar/city/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/city/scalar/city/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/city/scalar/city/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/city/scalar/city/source-map/synthesized-field/element_0" } ] }, @@ -4741,14 +4741,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address/source-map/synthesized-field/element_0" } ] }, @@ -4863,19 +4863,14 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country/source-map/synthesized-field/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country", "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(8,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/state/scalar/state/source-map/synthesized-field/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/state/scalar/state", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/country/scalar/country", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { @@ -4884,8 +4879,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(9,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/city/scalar/city/source-map/synthesized-field/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/city/scalar/city", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/state/scalar/state/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/state/scalar/state", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { @@ -4894,8 +4889,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(10,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address/source-map/synthesized-field/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/city/scalar/city/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/city/scalar/city", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { @@ -4903,6 +4898,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address", "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(11,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/street_address/scalar/street_address", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/zip/scalar/zip/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/locations-api/api.raml#/references/0/references/0/declares/shape/AddressData/property/property/zip/scalar/zip", diff --git a/amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml.expanded.jsonld index fbcc7f20f4..90ac2eb865 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml.expanded.jsonld @@ -976,6 +976,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer" + } + ], + "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/production/raml10/xsdexample/api.raml#/declares/shape/Customer/source-map/lexical/element_3", @@ -1029,21 +1044,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml.flattened.jsonld index edc6cba65e..fa71f853a8 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml.flattened.jsonld @@ -237,6 +237,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer/source-map/lexical/element_3" @@ -250,11 +255,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer/source-map/declared-element/element_0" - } ] }, { @@ -411,6 +411,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -431,11 +436,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(13,33)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdexample/api.raml#/declares/shape/Customer/property/property/name/scalar/name/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml.expanded.jsonld index 8ff7ce40d0..327012c2cd 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml.expanded.jsonld @@ -203,9 +203,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema" @@ -213,35 +213,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,57)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,11)]" + "@value": "[(5,2)-(5,57)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,2)-(5,11)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml.flattened.jsonld index b603f03d3c..c816e18aec 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml.flattened.jsonld @@ -144,6 +144,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_1" @@ -151,11 +156,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/declared-element/element_0" - } ] }, { @@ -173,6 +173,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema", "http://a.ml/vocabularies/document-source-maps#value": "address" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema", @@ -182,11 +187,6 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,11)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema-withfragmentref/api.raml#/declares/schema/xmlSchema", - "http://a.ml/vocabularies/document-source-maps#value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml.expanded.jsonld index b19153f1f2..94add7411f 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml.expanded.jsonld @@ -188,9 +188,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema" @@ -198,35 +198,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,32)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,11)]" + "@value": "[(5,2)-(5,32)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,2)-(5,11)]" } ] } diff --git a/amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml.flattened.jsonld index 55c5db8b3d..33535e8f2e 100644 --- a/amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml.flattened.jsonld @@ -139,6 +139,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/lexical/element_1" @@ -146,11 +151,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/declared-element/element_0" - } ] }, { @@ -163,6 +163,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#location", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema", @@ -172,11 +177,6 @@ "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,11)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/raml10/xsdschema/api.raml#/declares/schema/xsdSchema", - "http://a.ml/vocabularies/document-source-maps#value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/production/recursive-union.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/recursive-union.raml.expanded.jsonld index 437653ae3a..5f8a440460 100644 --- a/amf-cli/shared/src/test/resources/production/recursive-union.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/recursive-union.raml.expanded.jsonld @@ -533,9 +533,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType" @@ -543,35 +543,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(14,2)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(18,0)]" + "@value": "[(14,2)-(14,13)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(14,13)]" + "@value": "" } ] } @@ -631,9 +631,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType" @@ -641,35 +641,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(11,2)-(14,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,2)-(14,0)]" + "@value": "[(11,2)-(11,13)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,2)-(11,13)]" + "@value": "" } ] } @@ -873,9 +873,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType" @@ -883,35 +883,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(14,2)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(18,0)]" + "@value": "[(14,2)-(14,13)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(14,13)]" + "@value": "" } ] } @@ -971,9 +971,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType" @@ -981,35 +981,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,2)-(8,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(8,0)]" + "@value": "[(5,2)-(5,10)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,10)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/production/recursive-union.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/recursive-union.raml.flattened.jsonld index daee6b948a..2946595ea9 100644 --- a/amf-cli/shared/src/test/resources/production/recursive-union.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/recursive-union.raml.flattened.jsonld @@ -268,11 +268,6 @@ "@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/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/lexical/element_1" @@ -281,6 +276,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/type-property-lexical-info/element_0" @@ -362,11 +362,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType", @@ -377,6 +372,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType", @@ -408,11 +408,6 @@ "@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/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/lexical/element_1" @@ -421,6 +416,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/type-property-lexical-info/element_0" @@ -458,11 +458,6 @@ "@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/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/lexical/element_1" @@ -471,6 +466,11 @@ "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/type-property-lexical-info/element_0" @@ -498,11 +498,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType", @@ -513,6 +508,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(11,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array/any/AnotherType", @@ -534,11 +534,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType", @@ -549,6 +544,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(14,2)-(14,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/recursive-union.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/inherits/any/SomeType/inherits/array/SomeUnion/inherits/union/default-union/anyOf/array/default-array_1/any/OneMoreType", diff --git a/amf-cli/shared/src/test/resources/production/recursive3.editing.expanded.jsonld b/amf-cli/shared/src/test/resources/production/recursive3.editing.expanded.jsonld index 9e8b644d1a..77fa4bd1d2 100644 --- a/amf-cli/shared/src/test/resources/production/recursive3.editing.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/recursive3.editing.expanded.jsonld @@ -188,14 +188,14 @@ "synthesized-field": { "doc:recursive": "true" }, + "declared-element": { + "#8": "" + }, "type-property-lexical-info": { "#8": "[(19,4)-(19,8)]" }, "lexical": { "#8": "[(18,2)-(20,0)]" - }, - "declared-element": { - "#8": "" } } } @@ -215,12 +215,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#7": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#7": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#7": "amf://id#3" } } } @@ -234,6 +234,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#6": "[(17,4)-(17,8)]" + }, + "resolved-link": { + "#6": "amf://id#9" + }, + "inherited-shapes": { + "#6": "amf://id#3" + }, "resolved-link-target": { "#6": "amf://id#6" }, @@ -243,15 +252,6 @@ "lexical": { "shacl:name": "[(16,2)-(16,17)]", "#6": "[(16,2)-(18,0)]" - }, - "type-property-lexical-info": { - "#6": "[(17,4)-(17,8)]" - }, - "resolved-link": { - "#6": "amf://id#9" - }, - "inherited-shapes": { - "#6": "amf://id#3" } } }, @@ -282,20 +282,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#10": "amf://id#11" - }, "type-property-lexical-info": { "#10": "[(7,4)-(7,8)]" }, - "lexical": { - "#10": "[(6,2)-(11,0)]" + "resolved-link": { + "#10": "amf://id#11" + }, + "resolved-link-target": { + "#10": "amf://id#1" }, "declared-element": { "#10": "" }, - "resolved-link-target": { - "#10": "amf://id#1" + "lexical": { + "#10": "[(6,2)-(11,0)]" } } } @@ -306,15 +306,15 @@ } ], "smaps": { - "declared-element": { - "#5": "" - }, "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#5": "[(18,2)-(20,0)]" }, "type-property-lexical-info": { "#5": "[(19,4)-(19,8)]" + }, + "declared-element": { + "#5": "" } } } @@ -334,12 +334,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#4": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#3" } } } @@ -353,21 +353,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#13" - }, "type-property-lexical-info": { "#3": "[(12,4)-(12,8)]" }, - "lexical": { - "shacl:name": "[(11,2)-(11,16)]", - "#3": "[(11,2)-(16,0)]" + "resolved-link": { + "#3": "amf://id#13" + }, + "resolved-link-target": { + "#3": "amf://id#3" }, "declared-element": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#3" + "lexical": { + "shacl:name": "[(11,2)-(11,16)]", + "#3": "[(11,2)-(16,0)]" } } } @@ -403,21 +403,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#11" - }, "type-property-lexical-info": { "#1": "[(7,4)-(7,8)]" }, - "lexical": { - "shacl:name": "[(6,2)-(6,16)]", - "#1": "[(6,2)-(11,0)]" + "resolved-link": { + "#1": "amf://id#11" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#1" + "lexical": { + "shacl:name": "[(6,2)-(6,16)]", + "#1": "[(6,2)-(11,0)]" } } }, @@ -516,14 +516,14 @@ "synthesized-field": { "doc:recursive": "true" }, + "declared-element": { + "#8": "" + }, "type-property-lexical-info": { "#8": "[(19,4)-(19,8)]" }, "lexical": { "#8": "[(18,2)-(20,0)]" - }, - "declared-element": { - "#8": "" } } } @@ -543,12 +543,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#7": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#7": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#7": "amf://id#3" } } } @@ -562,6 +562,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#6": "[(17,4)-(17,8)]" + }, + "resolved-link": { + "#6": "amf://id#9" + }, + "inherited-shapes": { + "#6": "amf://id#3" + }, "resolved-link-target": { "#6": "amf://id#6" }, @@ -571,15 +580,6 @@ "lexical": { "shacl:name": "[(16,2)-(16,17)]", "#6": "[(16,2)-(18,0)]" - }, - "type-property-lexical-info": { - "#6": "[(17,4)-(17,8)]" - }, - "resolved-link": { - "#6": "amf://id#9" - }, - "inherited-shapes": { - "#6": "amf://id#3" } } }, @@ -610,20 +610,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#10": "amf://id#11" - }, "type-property-lexical-info": { "#10": "[(7,4)-(7,8)]" }, - "lexical": { - "#10": "[(6,2)-(11,0)]" + "resolved-link": { + "#10": "amf://id#11" + }, + "resolved-link-target": { + "#10": "amf://id#1" }, "declared-element": { "#10": "" }, - "resolved-link-target": { - "#10": "amf://id#1" + "lexical": { + "#10": "[(6,2)-(11,0)]" } } } @@ -634,15 +634,15 @@ } ], "smaps": { - "declared-element": { - "#5": "" - }, "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#5": "[(18,2)-(20,0)]" }, "type-property-lexical-info": { "#5": "[(19,4)-(19,8)]" + }, + "declared-element": { + "#5": "" } } } @@ -662,12 +662,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#4": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#3" } } } @@ -681,21 +681,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#13" - }, "type-property-lexical-info": { "#3": "[(12,4)-(12,8)]" }, - "lexical": { - "shacl:name": "[(11,2)-(11,16)]", - "#3": "[(11,2)-(16,0)]" + "resolved-link": { + "#3": "amf://id#13" + }, + "resolved-link-target": { + "#3": "amf://id#3" }, "declared-element": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#3" + "lexical": { + "shacl:name": "[(11,2)-(11,16)]", + "#3": "[(11,2)-(16,0)]" } } }, @@ -755,14 +755,14 @@ "synthesized-field": { "doc:recursive": "true" }, + "declared-element": { + "#8": "" + }, "type-property-lexical-info": { "#8": "[(19,4)-(19,8)]" }, "lexical": { "#8": "[(18,2)-(20,0)]" - }, - "declared-element": { - "#8": "" } } } @@ -782,12 +782,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#7": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#7": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#7": "amf://id#3" } } } @@ -801,6 +801,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#6": "[(17,4)-(17,8)]" + }, + "resolved-link": { + "#6": "amf://id#9" + }, + "inherited-shapes": { + "#6": "amf://id#3" + }, "resolved-link-target": { "#6": "amf://id#6" }, @@ -810,15 +819,6 @@ "lexical": { "shacl:name": "[(16,2)-(16,17)]", "#6": "[(16,2)-(18,0)]" - }, - "type-property-lexical-info": { - "#6": "[(17,4)-(17,8)]" - }, - "resolved-link": { - "#6": "amf://id#9" - }, - "inherited-shapes": { - "#6": "amf://id#3" } } }, @@ -888,14 +888,14 @@ "synthesized-field": { "doc:recursive": "true" }, + "declared-element": { + "#8": "" + }, "type-property-lexical-info": { "#8": "[(19,4)-(19,8)]" }, "lexical": { "#8": "[(18,2)-(20,0)]" - }, - "declared-element": { - "#8": "" } } } @@ -915,12 +915,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#7": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#7": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#7": "amf://id#3" } } } @@ -934,6 +934,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#6": "[(17,4)-(17,8)]" + }, + "resolved-link": { + "#6": "amf://id#9" + }, + "inherited-shapes": { + "#6": "amf://id#3" + }, "resolved-link-target": { "#6": "amf://id#6" }, @@ -943,15 +952,6 @@ "lexical": { "shacl:name": "[(16,2)-(16,17)]", "#6": "[(16,2)-(18,0)]" - }, - "type-property-lexical-info": { - "#6": "[(17,4)-(17,8)]" - }, - "resolved-link": { - "#6": "amf://id#9" - }, - "inherited-shapes": { - "#6": "amf://id#3" } } }, @@ -982,20 +982,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#10": "amf://id#11" - }, "type-property-lexical-info": { "#10": "[(7,4)-(7,8)]" }, - "lexical": { - "#10": "[(6,2)-(11,0)]" + "resolved-link": { + "#10": "amf://id#11" + }, + "resolved-link-target": { + "#10": "amf://id#1" }, "declared-element": { "#10": "" }, - "resolved-link-target": { - "#10": "amf://id#1" + "lexical": { + "#10": "[(6,2)-(11,0)]" } } } @@ -1006,15 +1006,15 @@ } ], "smaps": { - "declared-element": { - "#5": "" - }, "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#5": "[(18,2)-(20,0)]" }, "type-property-lexical-info": { "#5": "[(19,4)-(19,8)]" + }, + "declared-element": { + "#5": "" } } } diff --git a/amf-cli/shared/src/test/resources/production/recursive3.editing.flattened.jsonld b/amf-cli/shared/src/test/resources/production/recursive3.editing.flattened.jsonld index 9cfd0e8f1d..30967e7421 100644 --- a/amf-cli/shared/src/test/resources/production/recursive3.editing.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/recursive3.editing.flattened.jsonld @@ -77,21 +77,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#11" - }, "type-property-lexical-info": { "#1": "[(7,4)-(7,8)]" }, - "lexical": { - "shacl:name": "[(6,2)-(6,16)]", - "#1": "[(6,2)-(11,0)]" + "resolved-link": { + "#1": "amf://id#11" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#1" + "lexical": { + "shacl:name": "[(6,2)-(6,16)]", + "#1": "[(6,2)-(11,0)]" } } }, @@ -115,21 +115,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#13" - }, "type-property-lexical-info": { "#3": "[(12,4)-(12,8)]" }, - "lexical": { - "shacl:name": "[(11,2)-(11,16)]", - "#3": "[(11,2)-(16,0)]" + "resolved-link": { + "#3": "amf://id#13" + }, + "resolved-link-target": { + "#3": "amf://id#3" }, "declared-element": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#3" + "lexical": { + "shacl:name": "[(11,2)-(11,16)]", + "#3": "[(11,2)-(16,0)]" } } }, @@ -153,6 +153,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#6": "[(17,4)-(17,8)]" + }, + "resolved-link": { + "#6": "amf://id#9" + }, + "inherited-shapes": { + "#6": "amf://id#3" + }, "resolved-link-target": { "#6": "amf://id#6" }, @@ -162,15 +171,6 @@ "lexical": { "shacl:name": "[(16,2)-(16,17)]", "#6": "[(16,2)-(18,0)]" - }, - "type-property-lexical-info": { - "#6": "[(17,4)-(17,8)]" - }, - "resolved-link": { - "#6": "amf://id#9" - }, - "inherited-shapes": { - "#6": "amf://id#3" } } }, @@ -193,15 +193,15 @@ ], "shacl:name": "Value", "smaps": { - "declared-element": { - "#5": "" - }, "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#5": "[(18,2)-(20,0)]" }, "type-property-lexical-info": { "#5": "[(19,4)-(19,8)]" + }, + "declared-element": { + "#5": "" } } }, @@ -257,12 +257,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#4": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#3" } } }, @@ -289,12 +289,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#7": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#7": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#7": "amf://id#3" } } }, @@ -317,20 +317,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#10": "amf://id#11" - }, "type-property-lexical-info": { "#10": "[(7,4)-(7,8)]" }, - "lexical": { - "#10": "[(6,2)-(11,0)]" + "resolved-link": { + "#10": "amf://id#11" + }, + "resolved-link-target": { + "#10": "amf://id#1" }, "declared-element": { "#10": "" }, - "resolved-link-target": { - "#10": "amf://id#1" + "lexical": { + "#10": "[(6,2)-(11,0)]" } } }, @@ -353,14 +353,14 @@ "synthesized-field": { "doc:recursive": "true" }, + "declared-element": { + "#8": "" + }, "type-property-lexical-info": { "#8": "[(19,4)-(19,8)]" }, "lexical": { "#8": "[(18,2)-(20,0)]" - }, - "declared-element": { - "#8": "" } } } diff --git a/amf-cli/shared/src/test/resources/production/recursive4.editing.expanded.jsonld b/amf-cli/shared/src/test/resources/production/recursive4.editing.expanded.jsonld index bde7c835ca..db9b4e7157 100644 --- a/amf-cli/shared/src/test/resources/production/recursive4.editing.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/recursive4.editing.expanded.jsonld @@ -250,14 +250,14 @@ "synthesized-field": { "doc:recursive": "true" }, + "declared-element": { + "#10": "" + }, "type-property-lexical-info": { "#10": "[(19,4)-(19,8)]" }, "lexical": { "#10": "[(18,2)-(22,0)]" - }, - "declared-element": { - "#10": "" } } } @@ -277,12 +277,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#9": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#9": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#9": "amf://id#3" } } } @@ -296,6 +296,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#6": "[(19,4)-(19,8)]" + }, + "resolved-link": { + "#6": "amf://id#12" + }, + "inherited-shapes": { + "#6": "amf://id#11" + }, "resolved-link-target": { "#6": "amf://id#5" }, @@ -305,15 +314,6 @@ "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#6": "[(18,2)-(22,0)]" - }, - "type-property-lexical-info": { - "#6": "[(19,4)-(19,8)]" - }, - "resolved-link": { - "#6": "amf://id#11" - }, - "inherited-shapes": { - "#6": "amf://id#12" } } }, @@ -435,20 +435,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#15": "amf://id#17" - }, "type-property-lexical-info": { "#15": "[(12,4)-(12,8)]" }, - "lexical": { - "#15": "[(11,2)-(16,0)]" + "resolved-link": { + "#15": "amf://id#17" + }, + "resolved-link-target": { + "#15": "amf://id#3" }, "declared-element": { "#15": "" }, - "resolved-link-target": { - "#15": "amf://id#3" + "lexical": { + "#15": "[(11,2)-(16,0)]" } } } @@ -468,12 +468,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#14": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(9,18)-(11,0)]", "#14": "[(9,6)-(11,0)]" - }, - "inheritance-provenance": { - "#14": "amf://id#1" } } } @@ -487,6 +487,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#13": "[(19,4)-(19,8)]" + }, + "resolved-link": { + "#13": "amf://id#12" + }, + "inherited-shapes": { + "#13": "amf://id#1" + }, "resolved-link-target": { "#13": "amf://id#5" }, @@ -496,15 +505,6 @@ "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#13": "[(18,2)-(22,0)]" - }, - "type-property-lexical-info": { - "#13": "[(19,4)-(19,8)]" - }, - "resolved-link": { - "#13": "amf://id#11" - }, - "inherited-shapes": { - "#13": "amf://id#1" } } } @@ -515,15 +515,15 @@ } ], "smaps": { - "declared-element": { - "#5": "" - }, "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#5": "[(18,2)-(22,0)]" }, "type-property-lexical-info": { "#5": "[(19,4)-(19,8)]" + }, + "declared-element": { + "#5": "" } } } @@ -543,12 +543,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#4": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#3" } } } @@ -562,21 +562,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#17" - }, "type-property-lexical-info": { "#3": "[(12,4)-(12,8)]" }, - "lexical": { - "shacl:name": "[(11,2)-(11,16)]", - "#3": "[(11,2)-(16,0)]" + "resolved-link": { + "#3": "amf://id#17" + }, + "resolved-link-target": { + "#3": "amf://id#3" }, "declared-element": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#3" + "lexical": { + "shacl:name": "[(11,2)-(11,16)]", + "#3": "[(11,2)-(16,0)]" } } } @@ -596,12 +596,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(9,18)-(11,0)]", "#2": "[(9,6)-(11,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } } @@ -615,21 +615,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#18" - }, "type-property-lexical-info": { "#1": "[(7,4)-(7,8)]" }, - "lexical": { - "shacl:name": "[(6,2)-(6,16)]", - "#1": "[(6,2)-(11,0)]" + "resolved-link": { + "#1": "amf://id#18" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#1" + "lexical": { + "shacl:name": "[(6,2)-(6,16)]", + "#1": "[(6,2)-(11,0)]" } } }, @@ -790,14 +790,14 @@ "synthesized-field": { "doc:recursive": "true" }, + "declared-element": { + "#10": "" + }, "type-property-lexical-info": { "#10": "[(19,4)-(19,8)]" }, "lexical": { "#10": "[(18,2)-(22,0)]" - }, - "declared-element": { - "#10": "" } } } @@ -817,12 +817,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#9": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#9": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#9": "amf://id#3" } } } @@ -836,6 +836,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#6": "[(19,4)-(19,8)]" + }, + "resolved-link": { + "#6": "amf://id#12" + }, + "inherited-shapes": { + "#6": "amf://id#11" + }, "resolved-link-target": { "#6": "amf://id#5" }, @@ -845,15 +854,6 @@ "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#6": "[(18,2)-(22,0)]" - }, - "type-property-lexical-info": { - "#6": "[(19,4)-(19,8)]" - }, - "resolved-link": { - "#6": "amf://id#11" - }, - "inherited-shapes": { - "#6": "amf://id#12" } } }, @@ -975,20 +975,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#15": "amf://id#17" - }, "type-property-lexical-info": { "#15": "[(12,4)-(12,8)]" }, - "lexical": { - "#15": "[(11,2)-(16,0)]" + "resolved-link": { + "#15": "amf://id#17" + }, + "resolved-link-target": { + "#15": "amf://id#3" }, "declared-element": { "#15": "" }, - "resolved-link-target": { - "#15": "amf://id#3" + "lexical": { + "#15": "[(11,2)-(16,0)]" } } } @@ -1008,12 +1008,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#14": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(9,18)-(11,0)]", "#14": "[(9,6)-(11,0)]" - }, - "inheritance-provenance": { - "#14": "amf://id#1" } } } @@ -1027,6 +1027,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#13": "[(19,4)-(19,8)]" + }, + "resolved-link": { + "#13": "amf://id#12" + }, + "inherited-shapes": { + "#13": "amf://id#1" + }, "resolved-link-target": { "#13": "amf://id#5" }, @@ -1036,15 +1045,6 @@ "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#13": "[(18,2)-(22,0)]" - }, - "type-property-lexical-info": { - "#13": "[(19,4)-(19,8)]" - }, - "resolved-link": { - "#13": "amf://id#11" - }, - "inherited-shapes": { - "#13": "amf://id#1" } } } @@ -1055,15 +1055,15 @@ } ], "smaps": { - "declared-element": { - "#5": "" - }, "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#5": "[(18,2)-(22,0)]" }, "type-property-lexical-info": { "#5": "[(19,4)-(19,8)]" + }, + "declared-element": { + "#5": "" } } } @@ -1083,12 +1083,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#4": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#3" } } } @@ -1102,26 +1102,26 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#17" - }, "type-property-lexical-info": { "#3": "[(12,4)-(12,8)]" }, - "lexical": { - "shacl:name": "[(11,2)-(11,16)]", - "#3": "[(11,2)-(16,0)]" + "resolved-link": { + "#3": "amf://id#17" + }, + "resolved-link-target": { + "#3": "amf://id#3" }, "declared-element": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#3" + "lexical": { + "shacl:name": "[(11,2)-(11,16)]", + "#3": "[(11,2)-(16,0)]" } } }, { - "@id": "#12", + "@id": "#11", "@type": [ "shacl:NodeShape", "raml-shapes:AnyShape", @@ -1277,14 +1277,14 @@ "synthesized-field": { "doc:recursive": "true" }, + "declared-element": { + "#10": "" + }, "type-property-lexical-info": { "#10": "[(19,4)-(19,8)]" }, "lexical": { "#10": "[(18,2)-(22,0)]" - }, - "declared-element": { - "#10": "" } } } @@ -1304,12 +1304,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#9": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#9": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#9": "amf://id#3" } } } @@ -1323,6 +1323,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#6": "[(19,4)-(19,8)]" + }, + "resolved-link": { + "#6": "amf://id#12" + }, + "inherited-shapes": { + "#6": "amf://id#11" + }, "resolved-link-target": { "#6": "amf://id#5" }, @@ -1332,15 +1341,6 @@ "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#6": "[(18,2)-(22,0)]" - }, - "type-property-lexical-info": { - "#6": "[(19,4)-(19,8)]" - }, - "resolved-link": { - "#6": "amf://id#11" - }, - "inherited-shapes": { - "#6": "amf://id#12" } } }, @@ -1462,20 +1462,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#15": "amf://id#17" - }, "type-property-lexical-info": { "#15": "[(12,4)-(12,8)]" }, - "lexical": { - "#15": "[(11,2)-(16,0)]" + "resolved-link": { + "#15": "amf://id#17" + }, + "resolved-link-target": { + "#15": "amf://id#3" }, "declared-element": { "#15": "" }, - "resolved-link-target": { - "#15": "amf://id#3" + "lexical": { + "#15": "[(11,2)-(16,0)]" } } } @@ -1495,12 +1495,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#14": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(9,18)-(11,0)]", "#14": "[(9,6)-(11,0)]" - }, - "inheritance-provenance": { - "#14": "amf://id#1" } } } @@ -1514,6 +1514,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#13": "[(19,4)-(19,8)]" + }, + "resolved-link": { + "#13": "amf://id#12" + }, + "inherited-shapes": { + "#13": "amf://id#1" + }, "resolved-link-target": { "#13": "amf://id#5" }, @@ -1523,15 +1532,6 @@ "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#13": "[(18,2)-(22,0)]" - }, - "type-property-lexical-info": { - "#13": "[(19,4)-(19,8)]" - }, - "resolved-link": { - "#13": "amf://id#11" - }, - "inherited-shapes": { - "#13": "amf://id#1" } } } @@ -1542,15 +1542,15 @@ } ], "smaps": { - "declared-element": { - "#5": "" - }, "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#5": "[(18,2)-(22,0)]" }, "type-property-lexical-info": { "#5": "[(19,4)-(19,8)]" + }, + "declared-element": { + "#5": "" } } } @@ -1570,12 +1570,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#4": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#3" } } } @@ -1589,24 +1589,24 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#11": "[(17,4)-(17,8)]" + }, + "resolved-link": { + "#11": "amf://id#19" + }, + "inherited-shapes": { + "#11": "amf://id#3" + }, "resolved-link-target": { - "#12": "amf://id#12" + "#11": "amf://id#11" }, "declared-element": { - "#12": "" + "#11": "" }, "lexical": { "shacl:name": "[(16,2)-(16,17)]", - "#12": "[(16,2)-(18,0)]" - }, - "type-property-lexical-info": { - "#12": "[(17,4)-(17,8)]" - }, - "resolved-link": { - "#12": "amf://id#19" - }, - "inherited-shapes": { - "#12": "amf://id#3" + "#11": "[(16,2)-(18,0)]" } } }, @@ -1738,14 +1738,14 @@ "synthesized-field": { "doc:recursive": "true" }, + "declared-element": { + "#10": "" + }, "type-property-lexical-info": { "#10": "[(19,4)-(19,8)]" }, "lexical": { "#10": "[(18,2)-(22,0)]" - }, - "declared-element": { - "#10": "" } } } @@ -1765,12 +1765,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#9": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#9": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#9": "amf://id#3" } } } @@ -1784,6 +1784,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#6": "[(19,4)-(19,8)]" + }, + "resolved-link": { + "#6": "amf://id#12" + }, + "inherited-shapes": { + "#6": "amf://id#11" + }, "resolved-link-target": { "#6": "amf://id#5" }, @@ -1793,15 +1802,6 @@ "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#6": "[(18,2)-(22,0)]" - }, - "type-property-lexical-info": { - "#6": "[(19,4)-(19,8)]" - }, - "resolved-link": { - "#6": "amf://id#11" - }, - "inherited-shapes": { - "#6": "amf://id#12" } } }, @@ -1923,20 +1923,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#15": "amf://id#17" - }, "type-property-lexical-info": { "#15": "[(12,4)-(12,8)]" }, - "lexical": { - "#15": "[(11,2)-(16,0)]" + "resolved-link": { + "#15": "amf://id#17" + }, + "resolved-link-target": { + "#15": "amf://id#3" }, "declared-element": { "#15": "" }, - "resolved-link-target": { - "#15": "amf://id#3" + "lexical": { + "#15": "[(11,2)-(16,0)]" } } } @@ -1956,12 +1956,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#14": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(9,18)-(11,0)]", "#14": "[(9,6)-(11,0)]" - }, - "inheritance-provenance": { - "#14": "amf://id#1" } } } @@ -1975,6 +1975,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#13": "[(19,4)-(19,8)]" + }, + "resolved-link": { + "#13": "amf://id#12" + }, + "inherited-shapes": { + "#13": "amf://id#1" + }, "resolved-link-target": { "#13": "amf://id#5" }, @@ -1984,15 +1993,6 @@ "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#13": "[(18,2)-(22,0)]" - }, - "type-property-lexical-info": { - "#13": "[(19,4)-(19,8)]" - }, - "resolved-link": { - "#13": "amf://id#11" - }, - "inherited-shapes": { - "#13": "amf://id#1" } } } @@ -2003,15 +2003,15 @@ } ], "smaps": { - "declared-element": { - "#5": "" - }, "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#5": "[(18,2)-(22,0)]" }, "type-property-lexical-info": { "#5": "[(19,4)-(19,8)]" + }, + "declared-element": { + "#5": "" } } } diff --git a/amf-cli/shared/src/test/resources/production/recursive4.editing.flattened.jsonld b/amf-cli/shared/src/test/resources/production/recursive4.editing.flattened.jsonld index c15fe9e5c7..95d1c6c2b5 100644 --- a/amf-cli/shared/src/test/resources/production/recursive4.editing.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/recursive4.editing.flattened.jsonld @@ -37,7 +37,7 @@ "@id": "#3" }, { - "@id": "#12" + "@id": "#11" }, { "@id": "#5" @@ -77,21 +77,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#18" - }, "type-property-lexical-info": { "#1": "[(7,4)-(7,8)]" }, - "lexical": { - "shacl:name": "[(6,2)-(6,16)]", - "#1": "[(6,2)-(11,0)]" + "resolved-link": { + "#1": "amf://id#18" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#1" + "lexical": { + "shacl:name": "[(6,2)-(6,16)]", + "#1": "[(6,2)-(11,0)]" } } }, @@ -115,26 +115,26 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#17" - }, "type-property-lexical-info": { "#3": "[(12,4)-(12,8)]" }, - "lexical": { - "shacl:name": "[(11,2)-(11,16)]", - "#3": "[(11,2)-(16,0)]" + "resolved-link": { + "#3": "amf://id#17" + }, + "resolved-link-target": { + "#3": "amf://id#3" }, "declared-element": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#3" + "lexical": { + "shacl:name": "[(11,2)-(11,16)]", + "#3": "[(11,2)-(16,0)]" } } }, { - "@id": "#12", + "@id": "#11", "@type": [ "shacl:NodeShape", "raml-shapes:AnyShape", @@ -153,24 +153,24 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#11": "[(17,4)-(17,8)]" + }, + "resolved-link": { + "#11": "amf://id#19" + }, + "inherited-shapes": { + "#11": "amf://id#3" + }, "resolved-link-target": { - "#12": "amf://id#12" + "#11": "amf://id#11" }, "declared-element": { - "#12": "" + "#11": "" }, "lexical": { "shacl:name": "[(16,2)-(16,17)]", - "#12": "[(16,2)-(18,0)]" - }, - "type-property-lexical-info": { - "#12": "[(17,4)-(17,8)]" - }, - "resolved-link": { - "#12": "amf://id#19" - }, - "inherited-shapes": { - "#12": "amf://id#3" + "#11": "[(16,2)-(18,0)]" } } }, @@ -193,15 +193,15 @@ ], "shacl:name": "Value", "smaps": { - "declared-element": { - "#5": "" - }, "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#5": "[(18,2)-(22,0)]" }, "type-property-lexical-info": { "#5": "[(19,4)-(19,8)]" + }, + "declared-element": { + "#5": "" } } }, @@ -228,12 +228,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(9,18)-(11,0)]", "#2": "[(9,6)-(11,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -260,12 +260,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#4": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#3" } } }, @@ -292,6 +292,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#6": "[(19,4)-(19,8)]" + }, + "resolved-link": { + "#6": "amf://id#12" + }, + "inherited-shapes": { + "#6": "amf://id#11" + }, "resolved-link-target": { "#6": "amf://id#5" }, @@ -301,15 +310,6 @@ "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#6": "[(18,2)-(22,0)]" - }, - "type-property-lexical-info": { - "#6": "[(19,4)-(19,8)]" - }, - "resolved-link": { - "#6": "amf://id#11" - }, - "inherited-shapes": { - "#6": "amf://id#12" } } }, @@ -336,6 +336,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#13": "[(19,4)-(19,8)]" + }, + "resolved-link": { + "#13": "amf://id#12" + }, + "inherited-shapes": { + "#13": "amf://id#1" + }, "resolved-link-target": { "#13": "amf://id#5" }, @@ -345,15 +354,6 @@ "lexical": { "shacl:name": "[(18,2)-(18,7)]", "#13": "[(18,2)-(22,0)]" - }, - "type-property-lexical-info": { - "#13": "[(19,4)-(19,8)]" - }, - "resolved-link": { - "#13": "amf://id#11" - }, - "inherited-shapes": { - "#13": "amf://id#1" } } }, @@ -409,12 +409,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#9": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(14,14)-(16,0)]", "#9": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#9": "amf://id#3" } } }, @@ -441,12 +441,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#14": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(9,18)-(11,0)]", "#14": "[(9,6)-(11,0)]" - }, - "inheritance-provenance": { - "#14": "amf://id#1" } } }, @@ -491,14 +491,14 @@ "synthesized-field": { "doc:recursive": "true" }, + "declared-element": { + "#10": "" + }, "type-property-lexical-info": { "#10": "[(19,4)-(19,8)]" }, "lexical": { "#10": "[(18,2)-(22,0)]" - }, - "declared-element": { - "#10": "" } } }, @@ -521,20 +521,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#15": "amf://id#17" - }, "type-property-lexical-info": { "#15": "[(12,4)-(12,8)]" }, - "lexical": { - "#15": "[(11,2)-(16,0)]" + "resolved-link": { + "#15": "amf://id#17" + }, + "resolved-link-target": { + "#15": "amf://id#3" }, "declared-element": { "#15": "" }, - "resolved-link-target": { - "#15": "amf://id#3" + "lexical": { + "#15": "[(11,2)-(16,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml.expanded.jsonld index 1363c58146..d8192f6778 100644 --- a/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml.expanded.jsonld @@ -127,9 +127,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson" @@ -137,14 +137,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(11,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson" @@ -152,7 +152,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(10,6)-(11,0)]" } ] } @@ -343,9 +343,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson" @@ -353,14 +353,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(13,27)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson" @@ -368,7 +368,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(13,8)-(13,27)]" } ] } @@ -645,21 +645,6 @@ "@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/production/resolution-dumpjsonld/api.raml#/declares/array/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/declares/array/A" - } - ], - "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/production/resolution-dumpjsonld/api.raml#/declares/array/A/source-map/lexical/element_2", @@ -700,6 +685,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/declares/array/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/declares/array/A" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml.flattened.jsonld index 6ccdbd47de..1f34ef2a04 100644 --- a/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml.flattened.jsonld @@ -370,14 +370,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/lexical/element_0" } ] }, @@ -399,14 +399,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/lexical/element_0" } ] }, @@ -426,14 +426,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(11,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(11,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/synthesized-field/element_1", @@ -446,14 +446,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,27)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/payload/application%2Fjson/array/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,27)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml", @@ -521,11 +521,6 @@ "@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/production/resolution-dumpjsonld/api.raml#/declares/array/A/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/declares/array/A/source-map/lexical/element_2" @@ -536,6 +531,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/declares/array/A/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/declares/array/A/source-map/declared-element/element_0" + } ] }, { @@ -552,11 +552,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/declares/array/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/declares/array/A", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/declares/array/A/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", @@ -572,6 +567,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/declares/array/A", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(7,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/declares/array/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/declares/array/A", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/declares/array/A/scalar/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/declares/array/A/scalar/items", diff --git a/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.resolved.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.resolved.raml.expanded.jsonld index 562be94421..d8b98d00f0 100644 --- a/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.resolved.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.resolved.raml.expanded.jsonld @@ -508,9 +508,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A" @@ -518,35 +518,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(4,2)-(7,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(7,0)]" + "@value": "[(4,2)-(4,3)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(4,3)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.resolved.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.resolved.raml.flattened.jsonld index 0e0c526129..a018b31713 100644 --- a/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.resolved.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.resolved.raml.flattened.jsonld @@ -359,11 +359,6 @@ "@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/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/source-map/lexical/element_1" @@ -371,6 +366,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/source-map/declared-element/element_0" + } ] }, { @@ -397,11 +397,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A", @@ -412,6 +407,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,3)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/scalar/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/resolution-dumpjsonld/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/array/A/scalar/items", diff --git a/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-after.expanded.jsonld b/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-after.expanded.jsonld index 0c79f539f0..ccae5d1cb8 100644 --- a/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-after.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-after.expanded.jsonld @@ -103,12 +103,12 @@ } ], "smaps": { + "virtual-element": { + "#16": "true" + }, "lexical": { "apiContract:payload": "[(25,4)-(27,24)]", "#16": "[(25,9)-(27,24)]" - }, - "virtual-element": { - "#16": "true" } } } @@ -215,12 +215,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(11,8)-(11,12)]" - }, "lexical": { "shacl:datatype": "[(11,8)-(13,0)]", "#3": "[(10,6)-(13,0)]" + }, + "type-property-lexical-info": { + "#3": "[(11,8)-(11,12)]" } } } @@ -253,22 +253,22 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#5" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(6,2)-(6,17)]", "#1": "[(6,2)-(13,0)]", "shacl:closed": "[(8,4)-(9,0)]" }, - "type-property-lexical-info": { - "#1": "[(7,4)-(7,8)]" + "declared-element": { + "#1": "" }, - "resolved-link": { + "resolved-link-target": { "#1": "amf://id#4" + }, + "resolved-link": { + "#1": "amf://id#5" + }, + "type-property-lexical-info": { + "#1": "[(7,4)-(7,8)]" } } }, @@ -321,12 +321,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#8": "[(17,8)-(17,12)]" - }, "lexical": { "shacl:datatype": "[(17,8)-(19,0)]", "#8": "[(16,6)-(19,0)]" + }, + "type-property-lexical-info": { + "#8": "[(17,8)-(17,12)]" } } } @@ -362,21 +362,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#6": "amf://id#9" - }, "type-property-lexical-info": { "#6": "[(14,4)-(14,8)]" }, - "lexical": { - "shacl:name": "[(13,2)-(13,11)]", - "#6": "[(13,2)-(19,0)]" + "resolved-link": { + "#6": "amf://id#10" + }, + "resolved-link-target": { + "#6": "amf://id#9" }, "declared-element": { "#6": "" }, - "resolved-link-target": { - "#6": "amf://id#10" + "lexical": { + "shacl:name": "[(13,2)-(13,11)]", + "#6": "[(13,2)-(19,0)]" } } }, @@ -439,12 +439,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(11,8)-(11,12)]" - }, "lexical": { "shacl:datatype": "[(11,8)-(13,0)]", "#3": "[(10,6)-(13,0)]" + }, + "type-property-lexical-info": { + "#3": "[(11,8)-(11,12)]" } } } @@ -477,22 +477,22 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#5" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(6,2)-(6,17)]", "#1": "[(6,2)-(13,0)]", "shacl:closed": "[(8,4)-(9,0)]" }, - "type-property-lexical-info": { - "#1": "[(7,4)-(7,8)]" + "declared-element": { + "#1": "" }, - "resolved-link": { + "resolved-link-target": { "#1": "amf://id#4" + }, + "resolved-link": { + "#1": "amf://id#5" + }, + "type-property-lexical-info": { + "#1": "[(7,4)-(7,8)]" } } }, @@ -545,12 +545,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#8": "[(17,8)-(17,12)]" - }, "lexical": { "shacl:datatype": "[(17,8)-(19,0)]", "#8": "[(16,6)-(19,0)]" + }, + "type-property-lexical-info": { + "#8": "[(17,8)-(17,12)]" } } } @@ -586,21 +586,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#6": "amf://id#9" - }, "type-property-lexical-info": { "#6": "[(14,4)-(14,8)]" }, - "lexical": { - "shacl:name": "[(13,2)-(13,11)]", - "#6": "[(13,2)-(19,0)]" + "resolved-link": { + "#6": "amf://id#10" + }, + "resolved-link-target": { + "#6": "amf://id#9" }, "declared-element": { "#6": "" }, - "resolved-link-target": { - "#6": "amf://id#10" + "lexical": { + "shacl:name": "[(13,2)-(13,11)]", + "#6": "[(13,2)-(19,0)]" } } } @@ -611,15 +611,15 @@ } ], "smaps": { - "declared-element": { - "#11": "" - }, "lexical": { "shacl:name": "[(19,2)-(19,12)]", "#11": "[(19,2)-(23,0)]" }, "type-property-lexical-info": { "#11": "[(20,4)-(20,8)]" + }, + "declared-element": { + "#11": "" } } } diff --git a/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-after.flattened.jsonld b/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-after.flattened.jsonld index 01cad67999..de62d917b4 100644 --- a/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-after.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-after.flattened.jsonld @@ -84,12 +84,12 @@ } ], "smaps": { + "virtual-element": { + "#16": "true" + }, "lexical": { "apiContract:payload": "[(25,4)-(27,24)]", "#16": "[(25,9)-(27,24)]" - }, - "virtual-element": { - "#16": "true" } } }, @@ -129,15 +129,15 @@ ], "shacl:name": "unionShape", "smaps": { - "declared-element": { - "#11": "" - }, "lexical": { "shacl:name": "[(19,2)-(19,12)]", "#11": "[(19,2)-(23,0)]" }, "type-property-lexical-info": { "#11": "[(20,4)-(20,8)]" + }, + "declared-element": { + "#11": "" } } }, @@ -158,22 +158,22 @@ ], "shacl:name": "closedShapeType", "smaps": { - "resolved-link-target": { - "#1": "amf://id#5" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(6,2)-(6,17)]", "#1": "[(6,2)-(13,0)]", "shacl:closed": "[(8,4)-(9,0)]" }, - "type-property-lexical-info": { - "#1": "[(7,4)-(7,8)]" + "declared-element": { + "#1": "" }, - "resolved-link": { + "resolved-link-target": { "#1": "amf://id#4" + }, + "resolved-link": { + "#1": "amf://id#5" + }, + "type-property-lexical-info": { + "#1": "[(7,4)-(7,8)]" } } }, @@ -197,21 +197,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#6": "amf://id#9" - }, "type-property-lexical-info": { "#6": "[(14,4)-(14,8)]" }, - "lexical": { - "shacl:name": "[(13,2)-(13,11)]", - "#6": "[(13,2)-(19,0)]" + "resolved-link": { + "#6": "amf://id#10" + }, + "resolved-link-target": { + "#6": "amf://id#9" }, "declared-element": { "#6": "" }, - "resolved-link-target": { - "#6": "amf://id#10" + "lexical": { + "shacl:name": "[(13,2)-(13,11)]", + "#6": "[(13,2)-(19,0)]" } } }, @@ -289,12 +289,12 @@ ], "shacl:name": "payment", "smaps": { - "type-property-lexical-info": { - "#3": "[(11,8)-(11,12)]" - }, "lexical": { "shacl:datatype": "[(11,8)-(13,0)]", "#3": "[(10,6)-(13,0)]" + }, + "type-property-lexical-info": { + "#3": "[(11,8)-(11,12)]" } } }, @@ -314,12 +314,12 @@ ], "shacl:name": "order", "smaps": { - "type-property-lexical-info": { - "#8": "[(17,8)-(17,12)]" - }, "lexical": { "shacl:datatype": "[(17,8)-(19,0)]", "#8": "[(16,6)-(19,0)]" + }, + "type-property-lexical-info": { + "#8": "[(17,8)-(17,12)]" } } }, diff --git a/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-before.expanded.jsonld b/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-before.expanded.jsonld index ef76a4f2be..d6725e2108 100644 --- a/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-before.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-before.expanded.jsonld @@ -103,12 +103,12 @@ } ], "smaps": { + "virtual-element": { + "#16": "true" + }, "lexical": { "apiContract:payload": "[(25,4)-(27,24)]", "#16": "[(25,9)-(27,24)]" - }, - "virtual-element": { - "#16": "true" } } } @@ -225,12 +225,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#4": "[(15,8)-(15,12)]" - }, "lexical": { "shacl:datatype": "[(15,8)-(17,0)]", "#4": "[(14,6)-(17,0)]" + }, + "type-property-lexical-info": { + "#4": "[(15,8)-(15,12)]" } } } @@ -263,22 +263,22 @@ } ], "smaps": { - "resolved-link-target": { - "#2": "amf://id#6" - }, - "declared-element": { - "#2": "" - }, "lexical": { "shacl:name": "[(10,2)-(10,17)]", "#2": "[(10,2)-(17,0)]", "shacl:closed": "[(12,4)-(13,0)]" }, - "type-property-lexical-info": { - "#2": "[(11,4)-(11,8)]" + "declared-element": { + "#2": "" }, - "resolved-link": { + "resolved-link-target": { "#2": "amf://id#5" + }, + "resolved-link": { + "#2": "amf://id#6" + }, + "type-property-lexical-info": { + "#2": "[(11,4)-(11,8)]" } } }, @@ -331,12 +331,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#9": "[(21,8)-(21,12)]" - }, "lexical": { "shacl:datatype": "[(21,8)-(23,0)]", "#9": "[(20,6)-(23,0)]" + }, + "type-property-lexical-info": { + "#9": "[(21,8)-(21,12)]" } } } @@ -372,21 +372,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#7": "amf://id#10" - }, "type-property-lexical-info": { "#7": "[(18,4)-(18,8)]" }, - "lexical": { - "shacl:name": "[(17,2)-(17,11)]", - "#7": "[(17,2)-(23,0)]" + "resolved-link": { + "#7": "amf://id#11" + }, + "resolved-link-target": { + "#7": "amf://id#10" }, "declared-element": { "#7": "" }, - "resolved-link-target": { - "#7": "amf://id#11" + "lexical": { + "shacl:name": "[(17,2)-(17,11)]", + "#7": "[(17,2)-(23,0)]" } } } @@ -397,15 +397,15 @@ } ], "smaps": { - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(6,2)-(6,12)]", "#1": "[(6,2)-(10,0)]" }, "type-property-lexical-info": { "#1": "[(7,4)-(7,8)]" + }, + "declared-element": { + "#1": "" } } }, @@ -458,12 +458,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#4": "[(15,8)-(15,12)]" - }, "lexical": { "shacl:datatype": "[(15,8)-(17,0)]", "#4": "[(14,6)-(17,0)]" + }, + "type-property-lexical-info": { + "#4": "[(15,8)-(15,12)]" } } } @@ -496,22 +496,22 @@ } ], "smaps": { - "resolved-link-target": { - "#2": "amf://id#6" - }, - "declared-element": { - "#2": "" - }, "lexical": { "shacl:name": "[(10,2)-(10,17)]", "#2": "[(10,2)-(17,0)]", "shacl:closed": "[(12,4)-(13,0)]" }, - "type-property-lexical-info": { - "#2": "[(11,4)-(11,8)]" + "declared-element": { + "#2": "" }, - "resolved-link": { + "resolved-link-target": { "#2": "amf://id#5" + }, + "resolved-link": { + "#2": "amf://id#6" + }, + "type-property-lexical-info": { + "#2": "[(11,4)-(11,8)]" } } }, @@ -564,12 +564,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#9": "[(21,8)-(21,12)]" - }, "lexical": { "shacl:datatype": "[(21,8)-(23,0)]", "#9": "[(20,6)-(23,0)]" + }, + "type-property-lexical-info": { + "#9": "[(21,8)-(21,12)]" } } } @@ -605,21 +605,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#7": "amf://id#10" - }, "type-property-lexical-info": { "#7": "[(18,4)-(18,8)]" }, - "lexical": { - "shacl:name": "[(17,2)-(17,11)]", - "#7": "[(17,2)-(23,0)]" + "resolved-link": { + "#7": "amf://id#11" + }, + "resolved-link-target": { + "#7": "amf://id#10" }, "declared-element": { "#7": "" }, - "resolved-link-target": { - "#7": "amf://id#11" + "lexical": { + "shacl:name": "[(17,2)-(17,11)]", + "#7": "[(17,2)-(23,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-before.flattened.jsonld b/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-before.flattened.jsonld index 0d52e83f6a..c72fb12d4d 100644 --- a/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-before.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/union-type-with-composing-closed-type/additional-prop-and-defined-before.flattened.jsonld @@ -84,12 +84,12 @@ } ], "smaps": { + "virtual-element": { + "#16": "true" + }, "lexical": { "apiContract:payload": "[(25,4)-(27,24)]", "#16": "[(25,9)-(27,24)]" - }, - "virtual-element": { - "#16": "true" } } }, @@ -129,15 +129,15 @@ ], "shacl:name": "unionShape", "smaps": { - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(6,2)-(6,12)]", "#1": "[(6,2)-(10,0)]" }, "type-property-lexical-info": { "#1": "[(7,4)-(7,8)]" + }, + "declared-element": { + "#1": "" } } }, @@ -158,22 +158,22 @@ ], "shacl:name": "closedShapeType", "smaps": { - "resolved-link-target": { - "#2": "amf://id#6" - }, - "declared-element": { - "#2": "" - }, "lexical": { "shacl:name": "[(10,2)-(10,17)]", "#2": "[(10,2)-(17,0)]", "shacl:closed": "[(12,4)-(13,0)]" }, - "type-property-lexical-info": { - "#2": "[(11,4)-(11,8)]" + "declared-element": { + "#2": "" }, - "resolved-link": { + "resolved-link-target": { "#2": "amf://id#5" + }, + "resolved-link": { + "#2": "amf://id#6" + }, + "type-property-lexical-info": { + "#2": "[(11,4)-(11,8)]" } } }, @@ -197,21 +197,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#7": "amf://id#10" - }, "type-property-lexical-info": { "#7": "[(18,4)-(18,8)]" }, - "lexical": { - "shacl:name": "[(17,2)-(17,11)]", - "#7": "[(17,2)-(23,0)]" + "resolved-link": { + "#7": "amf://id#11" + }, + "resolved-link-target": { + "#7": "amf://id#10" }, "declared-element": { "#7": "" }, - "resolved-link-target": { - "#7": "amf://id#11" + "lexical": { + "shacl:name": "[(17,2)-(17,11)]", + "#7": "[(17,2)-(23,0)]" } } }, @@ -289,12 +289,12 @@ ], "shacl:name": "payment", "smaps": { - "type-property-lexical-info": { - "#4": "[(15,8)-(15,12)]" - }, "lexical": { "shacl:datatype": "[(15,8)-(17,0)]", "#4": "[(14,6)-(17,0)]" + }, + "type-property-lexical-info": { + "#4": "[(15,8)-(15,12)]" } } }, @@ -314,12 +314,12 @@ ], "shacl:name": "order", "smaps": { - "type-property-lexical-info": { - "#9": "[(21,8)-(21,12)]" - }, "lexical": { "shacl:datatype": "[(21,8)-(23,0)]", "#9": "[(20,6)-(23,0)]" + }, + "type-property-lexical-info": { + "#9": "[(21,8)-(21,12)]" } } }, diff --git a/amf-cli/shared/src/test/resources/production/union-type/api.raml.resolved.jsonld b/amf-cli/shared/src/test/resources/production/union-type/api.raml.resolved.jsonld index fa9eaa5589..2b7ed7284f 100644 --- a/amf-cli/shared/src/test/resources/production/union-type/api.raml.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/production/union-type/api.raml.resolved.jsonld @@ -519,9 +519,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/a/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/a/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/a" @@ -529,35 +529,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(8,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/a/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/a" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(4,3)]" + "@value": "[(4,2)-(8,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/a/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/a/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/a" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(4,2)-(4,3)]" } ] } @@ -768,9 +768,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/b/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/b/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/b" @@ -778,35 +778,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,2)-(12,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/b/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/b/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/b" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,2)-(8,3)]" + "@value": "[(8,2)-(12,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/b/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/b/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/inherits/union/default-union/anyOf/shape/b" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(8,2)-(8,3)]" } ] } @@ -826,21 +826,6 @@ "@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/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c" - } - ], - "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/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/source-map/lexical/element_1", @@ -883,6 +868,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/union-type/api.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/c" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/production/unions-example.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/production/unions-example.raml.expanded.jsonld index b2cb7fc3ec..5a3d2132c5 100644 --- a/amf-cli/shared/src/test/resources/production/unions-example.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/unions-example.raml.expanded.jsonld @@ -822,21 +822,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(68,8)-(68,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema/source-map/lexical/element_4", @@ -903,6 +888,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(68,8)-(68,12)]" + } + ] + } ] } ] @@ -1507,21 +1507,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/requiredProperty/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/requiredProperty/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(73,8)-(73,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/requiredProperty/scalar/schema/source-map/lexical/element_4", @@ -1588,6 +1573,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/requiredProperty/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/requiredProperty/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(73,8)-(73,12)]" + } + ] + } ] } ] @@ -1913,21 +1913,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(78,8)-(78,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema/source-map/lexical/element_2", @@ -1968,6 +1953,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(78,8)-(78,12)]" + } + ] + } ] } ] @@ -2336,21 +2336,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(62,8)-(62,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema/source-map/lexical/element_2", @@ -2391,6 +2376,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(62,8)-(62,12)]" + } + ] + } ] } ] @@ -2620,9 +2620,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema" @@ -2630,14 +2630,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(84,8)-(84,12)]" + "@value": "[(83,6)-(85,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema" @@ -2645,7 +2645,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(83,6)-(85,0)]" + "@value": "[(84,8)-(84,12)]" } ] } @@ -2784,21 +2784,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/limit/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(34,8)-(34,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/lexical/element_5", @@ -2878,6 +2863,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/limit/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(34,8)-(34,12)]" + } + ] + } ] } ] @@ -3235,21 +3235,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(86,8)-(86,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema/source-map/lexical/element_2", @@ -3290,6 +3275,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(86,8)-(86,12)]" + } + ] + } ] } ] @@ -3414,9 +3414,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version" @@ -3424,14 +3424,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,38)-(4,47)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version" @@ -3439,7 +3439,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(4,38)-(4,47)]" } ] } @@ -3754,21 +3754,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(48,6)-(48,10)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema/source-map/lexical/element_5", @@ -3848,6 +3833,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(48,6)-(48,10)]" + } + ] + } ] } ] @@ -3996,21 +3996,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileId/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(53,6)-(53,10)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileId/scalar/schema/source-map/lexical/element_5", @@ -4090,6 +4075,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileId/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,6)-(53,10)]" + } + ] + } ] } ] @@ -4286,21 +4286,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(28,10)-(28,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_2", @@ -4341,6 +4326,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,10)-(28,14)]" + } + ] + } ] } ] @@ -4576,21 +4576,6 @@ "@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/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2" - } - ], - "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/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/source-map/lexical/element_4", @@ -4657,6 +4642,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -4948,21 +4948,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(28,10)-(28,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_2", @@ -5003,6 +4988,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,10)-(28,14)]" + } + ] + } ] } ] @@ -5238,21 +5238,6 @@ "@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/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2" - } - ], - "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/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/source-map/lexical/element_4", @@ -5319,6 +5304,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/production/unions-example.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/production/unions-example.raml.flattened.jsonld index 0d4415f517..92f5ed60e5 100644 --- a/amf-cli/shared/src/test/resources/production/unions-example.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/unions-example.raml.flattened.jsonld @@ -1056,14 +1056,14 @@ "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/virtual-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/lexical/element_0" } ] }, @@ -1308,11 +1308,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema/source-map/lexical/element_4" @@ -1329,6 +1324,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1455,11 +1455,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/requiredProperty/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/requiredProperty/scalar/schema/source-map/lexical/element_4" @@ -1476,6 +1471,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/requiredProperty/scalar/schema/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/requiredProperty/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1569,11 +1569,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema/source-map/lexical/element_2" @@ -1584,6 +1579,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1649,11 +1649,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema/source-map/lexical/element_2" @@ -1664,6 +1659,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1725,14 +1725,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema/source-map/type-property-lexical-info/element_0" } ] }, @@ -1756,11 +1756,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/lexical/element_5" @@ -1780,6 +1775,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/lexical/element_4" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1820,11 +1820,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema/source-map/lexical/element_2" @@ -1835,6 +1830,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1858,14 +1858,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version", - "http://a.ml/vocabularies/document-source-maps#value": "[(4,38)-(4,47)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/server/http%3A%2F%2Fdomain.api.domain.com%2F%7Bversion%7D%2F/variable/parameter/path/version", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(4,38)-(4,47)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema/list", @@ -1885,11 +1885,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema/source-map/lexical/element_5" @@ -1909,6 +1904,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema/source-map/lexical/element_4" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1936,11 +1936,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileId/scalar/schema/source-map/lexical/element_5" @@ -1960,6 +1955,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileId/scalar/schema/source-map/lexical/element_4" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2029,11 +2029,6 @@ "@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/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/source-map/lexical/element_4" @@ -2050,6 +2045,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/source-map/declared-element/element_0" + } ] }, { @@ -2197,11 +2197,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(68,8)-(68,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValueStr", @@ -2227,6 +2222,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(68,8)-(69,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(68,8)-(68,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/customDomainProperties/clearanceLevel/object_1/level/source-map", "@type": [ @@ -2348,11 +2348,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/requiredProperty/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/requiredProperty/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(73,8)-(73,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/requiredProperty/scalar/schema/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValueStr", @@ -2378,6 +2373,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(73,8)-(74,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/requiredProperty/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/requiredProperty/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(73,8)-(73,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-union/union/schema/inherits/union/default-union/anyOf/scalar/default-scalar/source-map", "@type": [ @@ -2405,11 +2405,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-union/union/schema/inherits/union/default-union", "http://a.ml/vocabularies/document-source-maps#value": "[(82,8)-(83,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(78,8)-(78,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -2425,6 +2420,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(77,6)-(81,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/x-number/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(78,8)-(78,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema/examples/example/default-example/scalar_1", "@type": [ @@ -2488,11 +2488,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(62,8)-(62,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -2508,6 +2503,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(60,6)-(64,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(62,8)-(62,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/basic/customDomainProperties/deprecated/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -2534,20 +2534,15 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(84,8)-(84,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(83,6)-(85,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/limit/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(34,8)-(34,12)]" + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/repeatable/array/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(84,8)-(84,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/lexical/element_5", @@ -2579,6 +2574,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minInclusive", "http://a.ml/vocabularies/document-source-maps#value": "[(37,8)-(37,18)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/limit/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/limit/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(34,8)-(34,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema/in/scalar_1", "@type": [ @@ -2639,11 +2639,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(86,8)-(86,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -2659,6 +2654,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(85,6)-(87,31)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/enumable/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(86,8)-(86,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema/in/scalar_1", "@type": [ @@ -2719,11 +2719,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(48,6)-(48,10)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -2755,9 +2750,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(50,6)-(51,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileId/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(53,6)-(53,10)]" + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(48,6)-(48,10)]" }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileId/scalar/schema/source-map/lexical/element_5", @@ -2789,6 +2784,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minInclusive", "http://a.ml/vocabularies/document-source-maps#value": "[(54,6)-(55,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileId/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,6)-(53,10)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema", "@type": [ @@ -2869,11 +2869,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#parameter", @@ -2899,6 +2894,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(18,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/supportedOperation/get/expects/request/parameter/parameter/query/optional/scalar/schema/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -3283,11 +3283,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_2" @@ -3298,6 +3293,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3531,11 +3531,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/parameter/parameter/path/fileType/scalar/schema/in/scalar_3", "http://a.ml/vocabularies/document-source-maps#value": "[(49,27)-(49,32)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -3551,6 +3546,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(27,8)-(30,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/parameter/parameter/query/access_token/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/production/unions-example.raml#/web-api/endpoint/%2Fendpoint%2F%7BfileType%7D%2F%7BfileId%7D/security/default-requirement_1/schemes/oauth2/scheme/oauth2/settings/oauth2/flows/default-flow/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#accessTokenUri", diff --git a/amf-cli/shared/src/test/resources/references/data-type-fragment.json.expanded.jsonld b/amf-cli/shared/src/test/resources/references/data-type-fragment.json.expanded.jsonld index 45a0d9c1f1..a83e20fc1d 100644 --- a/amf-cli/shared/src/test/resources/references/data-type-fragment.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/references/data-type-fragment.json.expanded.jsonld @@ -177,9 +177,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name" @@ -187,35 +187,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(9,12)]" + "@value": "[(8,4)-(10,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,4)-(10,5)]" + "@value": "[(9,6)-(9,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(9,22)]" + "@value": "[(9,6)-(9,12)]" } ] } @@ -298,9 +298,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type" @@ -308,35 +308,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(11,3)]" + "@value": "[(3,2)-(3,8)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(11,3)]" + "@value": "[(3,2)-(11,3)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(3,8)]" + "@value": "[(7,2)-(11,3)]" } ] } @@ -457,9 +457,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person" @@ -467,35 +467,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,4)-(11,5)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,4)-(9,12)]" + "@value": "[(9,4)-(11,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,4)-(9,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/references/data-type-fragment.json.flattened.jsonld b/amf-cli/shared/src/test/resources/references/data-type-fragment.json.flattened.jsonld index c099af0959..4efae013f7 100644 --- a/amf-cli/shared/src/test/resources/references/data-type-fragment.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/references/data-type-fragment.json.flattened.jsonld @@ -188,6 +188,11 @@ "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person/source-map/lexical/element_1" @@ -195,11 +200,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person/source-map/declared-element/element_0" - } ] }, { @@ -236,6 +236,11 @@ "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/source-map/lexical/element_1" @@ -243,11 +248,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -265,6 +265,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#recursive", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person", @@ -275,11 +280,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(9,12)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/declares/shape/person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name", "@type": [ @@ -320,6 +320,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type", + "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(3,8)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type", @@ -330,21 +335,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(11,3)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(3,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_1" @@ -352,6 +347,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -364,11 +364,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,10)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(9,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name", @@ -378,6 +373,11 @@ "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(9,22)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/data-type-fragment.json#/references/0/shape/type/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(9,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/references/data-type-fragment.reference.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/references/data-type-fragment.reference.resolved.expanded.jsonld index 81953f239e..a0a949cc0d 100644 --- a/amf-cli/shared/src/test/resources/references/data-type-fragment.reference.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/references/data-type-fragment.reference.resolved.expanded.jsonld @@ -121,12 +121,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(4,4)-(4,8)]" - }, "lexical": { "shacl:datatype": "[(4,4)-(5,0)]", "#5": "[(3,2)-(5,0)]" + }, + "type-property-lexical-info": { + "#5": "[(4,4)-(4,8)]" } } } @@ -248,12 +248,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(4,4)-(4,8)]" - }, "lexical": { "shacl:datatype": "[(4,4)-(5,0)]", "#5": "[(3,2)-(5,0)]" + }, + "type-property-lexical-info": { + "#5": "[(4,4)-(4,8)]" } } } @@ -289,17 +289,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#6": "amf://id#3" - }, - "lexical": { - "#6": "[(2,0)-(5,0)]" - }, "resolved-link": { "#6": "amf://id#6" }, "declared-element": { "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#3" + }, + "lexical": { + "#6": "[(2,0)-(5,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/references/data-type-fragment.reference.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/references/data-type-fragment.reference.resolved.flattened.jsonld index 2cc1cb4dda..c69c5fc070 100644 --- a/amf-cli/shared/src/test/resources/references/data-type-fragment.reference.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/references/data-type-fragment.reference.resolved.flattened.jsonld @@ -93,17 +93,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#6": "amf://id#3" - }, - "lexical": { - "#6": "[(2,0)-(5,0)]" - }, "resolved-link": { "#6": "amf://id#6" }, "declared-element": { "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#3" + }, + "lexical": { + "#6": "[(2,0)-(5,0)]" } } }, @@ -185,12 +185,12 @@ ], "shacl:name": "name", "smaps": { - "type-property-lexical-info": { - "#5": "[(4,4)-(4,8)]" - }, "lexical": { "shacl:datatype": "[(4,4)-(5,0)]", "#5": "[(3,2)-(5,0)]" + }, + "type-property-lexical-info": { + "#5": "[(4,4)-(4,8)]" } } } diff --git a/amf-cli/shared/src/test/resources/references/lib/lib.json.expanded.jsonld b/amf-cli/shared/src/test/resources/references/lib/lib.json.expanded.jsonld index f6e05044bd..c2d152878e 100644 --- a/amf-cli/shared/src/test/resources/references/lib/lib.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/references/lib/lib.json.expanded.jsonld @@ -124,9 +124,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], -"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ +"http://a.ml/vocabularies/document-source-maps#lexical": [ { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1" @@ -134,35 +134,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { -"@value": "[(8,10)-(8,16)]" +"@value": "[(7,8)-(9,9)]" } ] -} -], -"http://a.ml/vocabularies/document-source-maps#lexical": [ +}, { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1", +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { -"@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1" +"@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { -"@value": "[(7,8)-(9,9)]" +"@value": "[(8,10)-(8,26)]" } ] -}, +} +], +"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_0", +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { -"@value": "http://www.w3.org/ns/shacl#datatype" +"@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { -"@value": "[(8,10)-(8,26)]" +"@value": "[(8,10)-(8,16)]" } ] } @@ -259,9 +259,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], -"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ +"http://a.ml/vocabularies/document-source-maps#lexical": [ { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2" @@ -269,35 +269,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { -"@value": "[(11,10)-(11,16)]" +"@value": "[(10,8)-(12,9)]" } ] -} -], -"http://a.ml/vocabularies/document-source-maps#lexical": [ +}, { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1", +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { -"@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2" +"@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { -"@value": "[(10,8)-(12,9)]" +"@value": "[(11,10)-(11,26)]" } ] -}, +} +], +"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0", +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { -"@value": "http://www.w3.org/ns/shacl#datatype" +"@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { -"@value": "[(11,10)-(11,26)]" +"@value": "[(11,10)-(11,16)]" } ] } @@ -397,6 +397,21 @@ ] } ], +"http://a.ml/vocabularies/document-source-maps#declared-element": [ +{ +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", +"http://a.ml/vocabularies/document-source-maps#element": [ +{ +"@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType" +} +], +"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/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/lexical/element_2", @@ -437,21 +452,6 @@ } ] } -], -"http://a.ml/vocabularies/document-source-maps#declared-element": [ -{ -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", -"http://a.ml/vocabularies/document-source-maps#element": [ -{ -"@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType" -} -], -"http://a.ml/vocabularies/document-source-maps#value": [ -{ -"@value": "" -} -] -} ] } ] diff --git a/amf-cli/shared/src/test/resources/references/lib/lib.json.flattened.jsonld b/amf-cli/shared/src/test/resources/references/lib/lib.json.flattened.jsonld index ca6073d4d2..428f0d404d 100644 --- a/amf-cli/shared/src/test/resources/references/lib/lib.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/references/lib/lib.json.flattened.jsonld @@ -132,6 +132,11 @@ "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/type-property-lexical-info/element_0" } ], +"http://a.ml/vocabularies/document-source-maps#declared-element": [ +{ +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0" +} +], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/lexical/element_2" @@ -142,11 +147,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/lexical/element_1" } -], -"http://a.ml/vocabularies/document-source-maps#declared-element": [ -{ -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0" -} ] }, { @@ -244,6 +244,11 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,12)]" }, { +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", +"http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType", +"http://a.ml/vocabularies/document-source-maps#value": "" +}, +{ "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(13,7)]" @@ -259,20 +264,10 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(4,4)-(14,5)]" }, { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", -"http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType", -"http://a.ml/vocabularies/document-source-maps#value": "" -}, -{ "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], -"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ -{ -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0" -} -], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1" @@ -280,6 +275,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_0" } +], +"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ +{ +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0" +} ] }, { @@ -297,11 +297,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], -"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ -{ -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0" -} -], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1" @@ -309,6 +304,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0" } +], +"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ +{ +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0" +} ] }, { @@ -322,11 +322,6 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(12,9)]" }, { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", -"http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1", -"http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,16)]" -}, -{ "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1", "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(9,9)]" @@ -337,9 +332,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,26)]" }, { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", -"http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2", -"http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,16)]" +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", +"http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1", +"http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1", @@ -350,6 +345,11 @@ "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,26)]" +}, +{ +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", +"http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2", +"http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/references/lib/lib.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/references/lib/lib.raml.expanded.jsonld index 576fa8a6e9..cabed37d3f 100644 --- a/amf-cli/shared/src/test/resources/references/lib/lib.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/references/lib/lib.raml.expanded.jsonld @@ -124,9 +124,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], -"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ +"http://a.ml/vocabularies/document-source-maps#lexical": [ { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1" @@ -134,35 +134,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { -"@value": "[(7,8)-(7,12)]" +"@value": "[(6,6)-(8,0)]" } ] -} -], -"http://a.ml/vocabularies/document-source-maps#lexical": [ +}, { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1", +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { -"@value": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1" +"@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { -"@value": "[(6,6)-(8,0)]" +"@value": "[(7,8)-(8,0)]" } ] -}, +} +], +"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_0", +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { -"@value": "http://www.w3.org/ns/shacl#datatype" +"@value": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { -"@value": "[(7,8)-(8,0)]" +"@value": "[(7,8)-(7,12)]" } ] } @@ -285,9 +285,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], -"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ +"http://a.ml/vocabularies/document-source-maps#lexical": [ { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2" @@ -295,35 +295,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { -"@value": "[(9,8)-(9,12)]" +"@value": "[(8,6)-(10,0)]" } ] -} -], -"http://a.ml/vocabularies/document-source-maps#lexical": [ +}, { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1", +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { -"@value": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2" +"@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { -"@value": "[(8,6)-(10,0)]" +"@value": "[(9,8)-(10,0)]" } ] -}, +} +], +"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0", +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { -"@value": "http://www.w3.org/ns/shacl#datatype" +"@value": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { -"@value": "[(9,8)-(10,0)]" +"@value": "[(9,8)-(9,12)]" } ] } @@ -434,6 +434,21 @@ ] } ], +"http://a.ml/vocabularies/document-source-maps#declared-element": [ +{ +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", +"http://a.ml/vocabularies/document-source-maps#element": [ +{ +"@value": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType" +} +], +"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/references/libraries.raml#/references/0/declares/shape/ObjectType/source-map/lexical/element_2", @@ -474,21 +489,6 @@ } ] } -], -"http://a.ml/vocabularies/document-source-maps#declared-element": [ -{ -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", -"http://a.ml/vocabularies/document-source-maps#element": [ -{ -"@value": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType" -} -], -"http://a.ml/vocabularies/document-source-maps#value": [ -{ -"@value": "" -} -] -} ] } ] diff --git a/amf-cli/shared/src/test/resources/references/lib/lib.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/references/lib/lib.raml.flattened.jsonld index 2a9572f7a2..c964b546e8 100644 --- a/amf-cli/shared/src/test/resources/references/lib/lib.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/references/lib/lib.raml.flattened.jsonld @@ -127,6 +127,11 @@ "@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/source-map/synthesized-field/element_0" } ], +"http://a.ml/vocabularies/document-source-maps#declared-element": [ +{ +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0" +} +], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/source-map/lexical/element_2" @@ -137,11 +142,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/source-map/lexical/element_1" } -], -"http://a.ml/vocabularies/document-source-maps#declared-element": [ -{ -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0" -} ] }, { @@ -246,6 +246,11 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", +"http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType", +"http://a.ml/vocabularies/document-source-maps#value": "" +}, +{ "@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(5,15)-(10,0)]" @@ -261,20 +266,10 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(10,0)]" }, { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", -"http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType", -"http://a.ml/vocabularies/document-source-maps#value": "" -}, -{ "@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], -"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ -{ -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0" -} -], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1" @@ -282,6 +277,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_0" } +], +"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ +{ +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0" +} ] }, { @@ -309,11 +309,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], -"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ -{ -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0" -} -], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1" @@ -321,6 +316,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0" } +], +"http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ +{ +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0" +} ] }, { @@ -344,11 +344,6 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,15)-(10,0)]" }, { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", -"http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1", -"http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" -}, -{ "@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1", "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(8,0)]" @@ -359,9 +354,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(8,0)]" }, { -"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", -"http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2", -"http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", +"http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1", +"http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1", @@ -372,6 +367,11 @@ "@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(10,0)]" +}, +{ +"@id": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", +"http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2", +"http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/references/libraries.json.expanded.jsonld b/amf-cli/shared/src/test/resources/references/libraries.json.expanded.jsonld index d345fcaa50..9f2d3c48c8 100644 --- a/amf-cli/shared/src/test/resources/references/libraries.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/references/libraries.json.expanded.jsonld @@ -199,9 +199,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1" @@ -209,35 +209,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,10)-(8,16)]" + "@value": "[(7,8)-(9,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(9,9)]" + "@value": "[(8,10)-(8,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,10)-(8,26)]" + "@value": "[(8,10)-(8,16)]" } ] } @@ -334,9 +334,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2" @@ -344,35 +344,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,10)-(11,16)]" + "@value": "[(10,8)-(12,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(12,9)]" + "@value": "[(11,10)-(11,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,10)-(11,26)]" + "@value": "[(11,10)-(11,16)]" } ] } @@ -472,6 +472,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType" + } + ], + "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/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/lexical/element_2", @@ -512,21 +527,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/references/libraries.json.flattened.jsonld b/amf-cli/shared/src/test/resources/references/libraries.json.flattened.jsonld index 6b370e3317..87b5a9e8b7 100644 --- a/amf-cli/shared/src/test/resources/references/libraries.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/references/libraries.json.flattened.jsonld @@ -244,6 +244,11 @@ "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/lexical/element_2" @@ -254,11 +259,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0" - } ] }, { @@ -360,6 +360,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType", "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -375,21 +380,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType", "http://a.ml/vocabularies/document-source-maps#value": "[(4,4)-(14,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1" @@ -397,6 +392,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -414,11 +414,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1" @@ -426,6 +421,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -438,11 +438,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2", "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(12,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1", @@ -454,9 +449,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,16)]" + "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1", @@ -467,6 +462,11 @@ "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,26)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/references/libraries.json#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.jsonld b/amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.jsonld index 5366c72766..7840712ecc 100644 --- a/amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.jsonld +++ b/amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.jsonld @@ -441,9 +441,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal" @@ -451,35 +451,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,2)-(6,48)]" + "@value": "[(3,4)-(3,8)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,4)-(6,48)]" + "@value": "[(2,2)-(6,48)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,4)-(3,8)]" + "@value": "[(4,4)-(6,48)]" } ] } @@ -579,6 +579,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.yaml#/declares/shape/pet/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.yaml#/declares/shape/pet" + } + ], + "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/references/oas/oas-references/oas-2-root.yaml#/declares/shape/pet/source-map/lexical/element_2", @@ -619,21 +634,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.yaml#/declares/shape/pet/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-2-root.yaml#/declares/shape/pet" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.jsonld b/amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.jsonld index 3e441ad8d0..9ee0ec1ed1 100644 --- a/amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.jsonld +++ b/amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.jsonld @@ -441,9 +441,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal" @@ -451,35 +451,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,2)-(6,55)]" + "@value": "[(3,4)-(3,8)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,4)-(6,55)]" + "@value": "[(2,2)-(6,55)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.yaml#/declares/shape/pet/property/property/animalRef/shape/animal" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,4)-(3,8)]" + "@value": "[(4,4)-(6,55)]" } ] } @@ -579,6 +579,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.yaml#/declares/shape/pet/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.yaml#/declares/shape/pet" + } + ], + "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/references/oas/oas-references/oas-3-root.yaml#/declares/shape/pet/source-map/lexical/element_2", @@ -619,21 +634,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.yaml#/declares/shape/pet/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/references/oas/oas-references/oas-3-root.yaml#/declares/shape/pet" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/render/recursion.expanded.jsonld b/amf-cli/shared/src/test/resources/render/recursion.expanded.jsonld index 58e64a84a7..2821e3a302 100644 --- a/amf-cli/shared/src/test/resources/render/recursion.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/render/recursion.expanded.jsonld @@ -121,9 +121,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "amf://id#18/source-map/lexical/element_1", + "@id": "amf://id#18/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#18" @@ -131,35 +131,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,9)-(21,15)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#18/source-map/lexical/element_0", + "@id": "amf://id#18/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#payload" + "@value": "amf://id#18" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,4)-(21,15)]" + "@value": "[(19,9)-(21,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "amf://id#18/source-map/virtual-element/element_0", + "@id": "amf://id#18/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#18" + "@value": "http://a.ml/vocabularies/apiContract#payload" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(19,4)-(21,15)]" } ] } @@ -400,9 +400,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#5/source-map/resolved-link/element_0", + "@id": "amf://id#5/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#5" @@ -410,14 +410,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#6" + "@value": "[(7,4)-(7,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#5/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#5/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#5" @@ -425,14 +425,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,4)-(7,8)]" + "@value": "amf://id#7" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#5/source-map/lexical/element_0", + "@id": "amf://id#5/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#5" @@ -440,7 +440,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(11,0)]" + "@value": "amf://id#6" } ] } @@ -460,9 +460,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#5/source-map/resolved-link-target/element_0", + "@id": "amf://id#5/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#5" @@ -470,7 +470,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#7" + "@value": "[(6,2)-(11,0)]" } ] } @@ -727,9 +727,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#3/source-map/resolved-link/element_0", + "@id": "amf://id#3/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#3" @@ -737,14 +737,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#3" + "@value": "[(12,4)-(12,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#3/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#3/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#3" @@ -752,14 +752,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,4)-(12,8)]" + "@value": "amf://id#11" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#3/source-map/lexical/element_1", + "@id": "amf://id#3/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#3" @@ -767,27 +767,29 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,2)-(17,0)]" + "@value": "amf://id#10" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#3/source-map/lexical/element_0", + "@id": "amf://id#3/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#3" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,2)-(11,3)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#3/source-map/declared-element/element_0", + "@id": "amf://id#3/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#3" @@ -795,22 +797,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(11,2)-(17,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#3/source-map/resolved-link-target/element_0", + "@id": "amf://id#3/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#3" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#11" + "@value": "[(11,2)-(11,3)]" } ] } @@ -1067,9 +1067,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#1/source-map/resolved-link/element_0", + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1077,14 +1077,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#6" + "@value": "[(7,4)-(7,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1092,14 +1092,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,4)-(7,8)]" + "@value": "amf://id#7" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_1", + "@id": "amf://id#1/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1107,27 +1107,29 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(11,0)]" + "@value": "amf://id#6" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#1/source-map/lexical/element_0", + "@id": "amf://id#1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,3)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/declared-element/element_0", + "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1135,22 +1137,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "@id": "amf://id#1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#1" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#7" + "@value": "[(6,2)-(6,3)]" } ] } @@ -1231,9 +1231,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#5/source-map/resolved-link/element_0", + "@id": "amf://id#5/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#5" @@ -1241,14 +1241,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#6" + "@value": "[(7,4)-(7,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#5/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#5/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#5" @@ -1256,14 +1256,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,4)-(7,8)]" + "@value": "amf://id#7" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#5/source-map/lexical/element_0", + "@id": "amf://id#5/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#5" @@ -1271,7 +1271,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(11,0)]" + "@value": "amf://id#6" } ] } @@ -1291,9 +1291,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#5/source-map/resolved-link-target/element_0", + "@id": "amf://id#5/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#5" @@ -1301,7 +1301,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#7" + "@value": "[(6,2)-(11,0)]" } ] } @@ -1558,9 +1558,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#3/source-map/resolved-link/element_0", + "@id": "amf://id#3/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#3" @@ -1568,14 +1568,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#3" + "@value": "[(12,4)-(12,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#3/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#3/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#3" @@ -1583,14 +1583,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,4)-(12,8)]" + "@value": "amf://id#11" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#3/source-map/lexical/element_1", + "@id": "amf://id#3/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#3" @@ -1598,27 +1598,29 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,2)-(17,0)]" + "@value": "amf://id#10" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#3/source-map/lexical/element_0", + "@id": "amf://id#3/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#3" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,2)-(11,3)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#3/source-map/declared-element/element_0", + "@id": "amf://id#3/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#3" @@ -1626,22 +1628,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(11,2)-(17,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#3/source-map/resolved-link-target/element_0", + "@id": "amf://id#3/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#3" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#11" + "@value": "[(11,2)-(11,3)]" } ] } diff --git a/amf-cli/shared/src/test/resources/render/recursion.flattened.jsonld b/amf-cli/shared/src/test/resources/render/recursion.flattened.jsonld index 1d20ced15d..25cc64b469 100644 --- a/amf-cli/shared/src/test/resources/render/recursion.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/render/recursion.flattened.jsonld @@ -166,6 +166,11 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "amf://id#18/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#18/source-map/lexical/element_1" @@ -173,11 +178,6 @@ { "@id": "amf://id#18/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "amf://id#18/source-map/virtual-element/element_0" - } ] }, { @@ -221,6 +221,11 @@ } ] }, + { + "@id": "amf://id#18/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#18", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "amf://id#18/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#18", @@ -231,11 +236,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#payload", "http://a.ml/vocabularies/document-source-maps#value": "[(19,4)-(21,15)]" }, - { - "@id": "amf://id#18/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#18", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "amf://id#4", "@type": [ @@ -294,22 +294,19 @@ "@id": "amf://id#3/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "amf://id#3/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "amf://id#3/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#3/source-map/lexical/element_1" - }, + "@id": "amf://id#3/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#3/source-map/lexical/element_0" + "@id": "amf://id#3/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -317,9 +314,12 @@ "@id": "amf://id#3/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#3/source-map/resolved-link-target/element_0" + "@id": "amf://id#3/source-map/lexical/element_1" + }, + { + "@id": "amf://id#3/source-map/lexical/element_0" } ] }, @@ -419,25 +419,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "amf://id#3/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#3" - }, { "@id": "amf://id#3/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", "http://a.ml/vocabularies/document-source-maps#value": "[(12,4)-(12,8)]" }, { - "@id": "amf://id#3/source-map/lexical/element_1", + "@id": "amf://id#3/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(17,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#11" }, { - "@id": "amf://id#3/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(11,3)]" + "@id": "amf://id#3/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#10" }, { "@id": "amf://id#3/source-map/declared-element/element_0", @@ -445,9 +440,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#3/source-map/resolved-link-target/element_0", + "@id": "amf://id#3/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#3", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#11" + "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(17,0)]" + }, + { + "@id": "amf://id#3/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(11,3)]" }, { "@id": "amf://id#5/source-map", @@ -459,19 +459,19 @@ "@id": "amf://id#5/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#5/source-map/resolved-link/element_0" + "@id": "amf://id#5/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#5/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#5/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#5/source-map/lexical/element_0" + "@id": "amf://id#5/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -479,9 +479,9 @@ "@id": "amf://id#5/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#5/source-map/resolved-link-target/element_0" + "@id": "amf://id#5/source-map/lexical/element_0" } ] }, @@ -545,19 +545,19 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#5/source-map/resolved-link/element_0", + "@id": "amf://id#5/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" + "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" }, { - "@id": "amf://id#5/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#5/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" }, { - "@id": "amf://id#5/source-map/lexical/element_0", + "@id": "amf://id#5/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(11,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" }, { "@id": "amf://id#5/source-map/declared-element/element_0", @@ -565,9 +565,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#5/source-map/resolved-link-target/element_0", + "@id": "amf://id#5/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#5", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(11,0)]" }, { "@id": "amf://id#9/source-map/lexical/element_1", @@ -686,22 +686,19 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "amf://id#1/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/lexical/element_1" - }, + "@id": "amf://id#1/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_0" + "@id": "amf://id#1/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -709,9 +706,12 @@ "@id": "amf://id#1/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" + "@id": "amf://id#1/source-map/lexical/element_1" + }, + { + "@id": "amf://id#1/source-map/lexical/element_0" } ] }, @@ -785,25 +785,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "amf://id#1/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" - }, { "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" }, { - "@id": "amf://id#1/source-map/lexical/element_1", + "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(11,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" }, { - "@id": "amf://id#1/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" }, { "@id": "amf://id#1/source-map/declared-element/element_0", @@ -811,9 +806,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(11,0)]" + }, + { + "@id": "amf://id#1/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" }, { "@id": "amf://id#2/source-map/synthesized-field/element_1", diff --git a/amf-cli/shared/src/test/resources/render/types.expanded.jsonld b/amf-cli/shared/src/test/resources/render/types.expanded.jsonld index 08fa4a7193..4540f1a673 100644 --- a/amf-cli/shared/src/test/resources/render/types.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/render/types.expanded.jsonld @@ -121,9 +121,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "amf://id#17/source-map/lexical/element_1", + "@id": "amf://id#17/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#17" @@ -131,35 +131,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,9)-(21,15)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#17/source-map/lexical/element_0", + "@id": "amf://id#17/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#payload" + "@value": "amf://id#17" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,4)-(21,15)]" + "@value": "[(19,9)-(21,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "amf://id#17/source-map/virtual-element/element_0", + "@id": "amf://id#17/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#17" + "@value": "http://a.ml/vocabularies/apiContract#payload" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(19,4)-(21,15)]" } ] } @@ -632,9 +632,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#1/source-map/resolved-link/element_0", + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -642,14 +642,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#6" + "@value": "[(7,4)-(7,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -657,14 +657,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,4)-(7,8)]" + "@value": "amf://id#7" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_1", + "@id": "amf://id#1/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -672,27 +672,29 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(11,0)]" + "@value": "amf://id#6" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#1/source-map/lexical/element_0", + "@id": "amf://id#1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,3)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/declared-element/element_0", + "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -700,22 +702,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "@id": "amf://id#1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#1" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#7" + "@value": "[(6,2)-(6,3)]" } ] } @@ -1086,9 +1086,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#1/source-map/resolved-link/element_0", + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1096,14 +1096,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#6" + "@value": "[(7,4)-(7,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1111,14 +1111,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,4)-(7,8)]" + "@value": "amf://id#7" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_1", + "@id": "amf://id#1/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1126,27 +1126,29 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(11,0)]" + "@value": "amf://id#6" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#1/source-map/lexical/element_0", + "@id": "amf://id#1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,3)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/declared-element/element_0", + "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1154,22 +1156,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "@id": "amf://id#1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#1" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#7" + "@value": "[(6,2)-(6,3)]" } ] } @@ -1426,9 +1426,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#8/source-map/resolved-link/element_0", + "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -1436,14 +1436,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#8" + "@value": "[(12,4)-(12,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#8/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -1451,14 +1451,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,4)-(12,8)]" + "@value": "amf://id#8" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#8/source-map/lexical/element_1", + "@id": "amf://id#8/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -1466,27 +1466,29 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,2)-(17,0)]" + "@value": "amf://id#12" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#8/source-map/lexical/element_0", + "@id": "amf://id#8/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#8" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,2)-(11,3)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#8/source-map/declared-element/element_0", + "@id": "amf://id#8/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -1494,22 +1496,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(11,2)-(17,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#8/source-map/resolved-link-target/element_0", + "@id": "amf://id#8/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#8" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#12" + "@value": "[(11,2)-(11,3)]" } ] } diff --git a/amf-cli/shared/src/test/resources/render/types.flattened.jsonld b/amf-cli/shared/src/test/resources/render/types.flattened.jsonld index 7cf7fde6c2..1fb160d455 100644 --- a/amf-cli/shared/src/test/resources/render/types.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/render/types.flattened.jsonld @@ -166,6 +166,11 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "amf://id#17/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#17/source-map/lexical/element_1" @@ -173,11 +178,6 @@ { "@id": "amf://id#17/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "amf://id#17/source-map/virtual-element/element_0" - } ] }, { @@ -221,6 +221,11 @@ } ] }, + { + "@id": "amf://id#17/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#17", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "amf://id#17/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#17", @@ -231,11 +236,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#payload", "http://a.ml/vocabularies/document-source-maps#value": "[(19,4)-(21,15)]" }, - { - "@id": "amf://id#17/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#17", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "amf://id#9", "@type": [ @@ -294,22 +294,19 @@ "@id": "amf://id#8/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "amf://id#8/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "amf://id#8/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#8/source-map/lexical/element_1" - }, + "@id": "amf://id#8/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#8/source-map/lexical/element_0" + "@id": "amf://id#8/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -317,9 +314,12 @@ "@id": "amf://id#8/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#8/source-map/resolved-link-target/element_0" + "@id": "amf://id#8/source-map/lexical/element_1" + }, + { + "@id": "amf://id#8/source-map/lexical/element_0" } ] }, @@ -423,25 +423,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "amf://id#8/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" - }, { "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", "http://a.ml/vocabularies/document-source-maps#value": "[(12,4)-(12,8)]" }, { - "@id": "amf://id#8/source-map/lexical/element_1", + "@id": "amf://id#8/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(17,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#8" }, { - "@id": "amf://id#8/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(11,3)]" + "@id": "amf://id#8/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#12" }, { "@id": "amf://id#8/source-map/declared-element/element_0", @@ -449,9 +444,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#8/source-map/resolved-link-target/element_0", + "@id": "amf://id#8/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#12" + "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(17,0)]" + }, + { + "@id": "amf://id#8/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(11,3)]" }, { "@id": "amf://id#2", @@ -511,22 +511,19 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "amf://id#1/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/lexical/element_1" - }, + "@id": "amf://id#1/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_0" + "@id": "amf://id#1/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -534,9 +531,12 @@ "@id": "amf://id#1/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" + "@id": "amf://id#1/source-map/lexical/element_1" + }, + { + "@id": "amf://id#1/source-map/lexical/element_0" } ] }, @@ -685,25 +685,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "amf://id#1/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" - }, { "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" }, { - "@id": "amf://id#1/source-map/lexical/element_1", + "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(11,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" }, { - "@id": "amf://id#1/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" }, { "@id": "amf://id#1/source-map/declared-element/element_0", @@ -711,9 +706,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(11,0)]" + }, + { + "@id": "amf://id#1/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" }, { "@id": "amf://id#11/source-map/lexical/element_1", diff --git a/amf-cli/shared/src/test/resources/render/union.expanded.jsonld b/amf-cli/shared/src/test/resources/render/union.expanded.jsonld index 47eb2b6323..e9fd81191d 100644 --- a/amf-cli/shared/src/test/resources/render/union.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/render/union.expanded.jsonld @@ -121,9 +121,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "amf://id#20/source-map/lexical/element_1", + "@id": "amf://id#20/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#20" @@ -131,35 +131,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,9)-(23,15)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#20/source-map/lexical/element_0", + "@id": "amf://id#20/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#payload" + "@value": "amf://id#20" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,4)-(23,15)]" + "@value": "[(21,9)-(23,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "amf://id#20/source-map/virtual-element/element_0", + "@id": "amf://id#20/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#20" + "@value": "http://a.ml/vocabularies/apiContract#payload" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(21,4)-(23,15)]" } ] } @@ -632,9 +632,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#1/source-map/resolved-link/element_0", + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -642,14 +642,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#6" + "@value": "[(7,4)-(7,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -657,14 +657,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,4)-(7,8)]" + "@value": "amf://id#7" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_1", + "@id": "amf://id#1/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -672,27 +672,29 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(11,0)]" + "@value": "amf://id#6" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#1/source-map/lexical/element_0", + "@id": "amf://id#1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,3)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/declared-element/element_0", + "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -700,22 +702,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "@id": "amf://id#1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#1" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#7" + "@value": "[(6,2)-(6,3)]" } ] } @@ -1057,9 +1057,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#8/source-map/resolved-link/element_0", + "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -1067,14 +1067,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#13" + "@value": "[(12,4)-(12,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#8/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -1082,14 +1082,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,4)-(12,8)]" + "@value": "amf://id#14" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#8/source-map/lexical/element_1", + "@id": "amf://id#8/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -1097,27 +1097,29 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,2)-(16,0)]" + "@value": "amf://id#13" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#8/source-map/lexical/element_0", + "@id": "amf://id#8/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#8" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,2)-(11,3)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#8/source-map/declared-element/element_0", + "@id": "amf://id#8/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -1125,22 +1127,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(11,2)-(16,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#8/source-map/resolved-link-target/element_0", + "@id": "amf://id#8/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#8" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#14" + "@value": "[(11,2)-(11,3)]" } ] } @@ -1492,9 +1492,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#1/source-map/resolved-link/element_0", + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1502,14 +1502,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#6" + "@value": "[(7,4)-(7,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1517,14 +1517,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,4)-(7,8)]" + "@value": "amf://id#7" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_1", + "@id": "amf://id#1/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1532,27 +1532,29 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(11,0)]" + "@value": "amf://id#6" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#1/source-map/lexical/element_0", + "@id": "amf://id#1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,3)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/declared-element/element_0", + "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1560,22 +1562,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "@id": "amf://id#1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#1" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#7" + "@value": "[(6,2)-(6,3)]" } ] } @@ -1917,9 +1917,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#8/source-map/resolved-link/element_0", + "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -1927,14 +1927,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#13" + "@value": "[(12,4)-(12,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#8/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -1942,14 +1942,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,4)-(12,8)]" + "@value": "amf://id#14" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#8/source-map/lexical/element_1", + "@id": "amf://id#8/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -1957,27 +1957,29 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,2)-(16,0)]" + "@value": "amf://id#13" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#8/source-map/lexical/element_0", + "@id": "amf://id#8/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#8" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,2)-(11,3)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#8/source-map/declared-element/element_0", + "@id": "amf://id#8/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -1985,22 +1987,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(11,2)-(16,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#8/source-map/resolved-link-target/element_0", + "@id": "amf://id#8/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#8" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#14" + "@value": "[(11,2)-(11,3)]" } ] } @@ -2020,21 +2020,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#15/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#15" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#15/source-map/lexical/element_1", @@ -2077,6 +2062,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#15/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#15" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/render/union.flattened.jsonld b/amf-cli/shared/src/test/resources/render/union.flattened.jsonld index b9e207a852..b074efa552 100644 --- a/amf-cli/shared/src/test/resources/render/union.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/render/union.flattened.jsonld @@ -166,6 +166,11 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "amf://id#20/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#20/source-map/lexical/element_1" @@ -173,11 +178,6 @@ { "@id": "amf://id#20/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "amf://id#20/source-map/virtual-element/element_0" - } ] }, { @@ -220,6 +220,11 @@ } ] }, + { + "@id": "amf://id#20/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#20", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "amf://id#20/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#20", @@ -230,11 +235,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#payload", "http://a.ml/vocabularies/document-source-maps#value": "[(21,4)-(23,15)]" }, - { - "@id": "amf://id#20/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#20", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "amf://id#1", "@type": [ @@ -290,11 +290,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#15/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#15/source-map/lexical/element_1" @@ -307,6 +302,11 @@ { "@id": "amf://id#15/source-map/type-property-lexical-info/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#15/source-map/declared-element/element_0" + } ] }, { @@ -372,22 +372,19 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "amf://id#1/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/lexical/element_1" - }, + "@id": "amf://id#1/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_0" + "@id": "amf://id#1/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -395,9 +392,12 @@ "@id": "amf://id#1/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" + "@id": "amf://id#1/source-map/lexical/element_1" + }, + { + "@id": "amf://id#1/source-map/lexical/element_0" } ] }, @@ -459,22 +459,19 @@ "@id": "amf://id#8/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ - { - "@id": "amf://id#8/source-map/resolved-link/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "amf://id#8/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#8/source-map/lexical/element_1" - }, + "@id": "amf://id#8/source-map/resolved-link/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#8/source-map/lexical/element_0" + "@id": "amf://id#8/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ @@ -482,17 +479,15 @@ "@id": "amf://id#8/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#8/source-map/resolved-link-target/element_0" + "@id": "amf://id#8/source-map/lexical/element_1" + }, + { + "@id": "amf://id#8/source-map/lexical/element_0" } ] }, - { - "@id": "amf://id#15/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#15", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "amf://id#15/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#15", @@ -508,6 +503,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#15", "http://a.ml/vocabularies/document-source-maps#value": "[(17,4)-(17,8)]" }, + { + "@id": "amf://id#15/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#15", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "amf://id#3", "@type": [ @@ -599,25 +599,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "amf://id#1/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" - }, { "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" }, { - "@id": "amf://id#1/source-map/lexical/element_1", + "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(11,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" }, { - "@id": "amf://id#1/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#6" }, { "@id": "amf://id#1/source-map/declared-element/element_0", @@ -625,9 +620,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(11,0)]" + }, + { + "@id": "amf://id#1/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,3)]" }, { "@id": "amf://id#10", @@ -720,25 +720,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "amf://id#8/source-map/resolved-link/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#13" - }, { "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", "http://a.ml/vocabularies/document-source-maps#value": "[(12,4)-(12,8)]" }, { - "@id": "amf://id#8/source-map/lexical/element_1", + "@id": "amf://id#8/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(16,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#14" }, { - "@id": "amf://id#8/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(11,3)]" + "@id": "amf://id#8/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#13" }, { "@id": "amf://id#8/source-map/declared-element/element_0", @@ -746,9 +741,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#8/source-map/resolved-link-target/element_0", + "@id": "amf://id#8/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#14" + "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(16,0)]" + }, + { + "@id": "amf://id#8/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(11,3)]" }, { "@id": "amf://id#3/source-map", diff --git a/amf-cli/shared/src/test/resources/resolution/async20/async-2.3-components.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/async-2.3-components.expanded.jsonld index 0fb27c8c23..40ddb12166 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/async-2.3-components.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/async-2.3-components.expanded.jsonld @@ -44,12 +44,6 @@ } ], "smaps": { - "resolved-link-target": { - "#6": "amf://id#1" - }, - "declared-element": { - "#6": "" - }, "lexical": { "apiContract:protocol": "[(9,6)-(10,0)]", "#6": "[(7,4)-(10,0)]", @@ -57,6 +51,12 @@ }, "resolved-link": { "#6": "amf://id#6" + }, + "resolved-link-target": { + "#6": "amf://id#1" + }, + "declared-element": { + "#6": "" } } } @@ -106,12 +106,6 @@ } ], "smaps": { - "resolved-link-target": { - "#6": "amf://id#1" - }, - "declared-element": { - "#6": "" - }, "lexical": { "apiContract:protocol": "[(9,6)-(10,0)]", "#6": "[(7,4)-(10,0)]", @@ -119,6 +113,12 @@ }, "resolved-link": { "#6": "amf://id#6" + }, + "resolved-link-target": { + "#6": "amf://id#1" + }, + "declared-element": { + "#6": "" } } } @@ -127,18 +127,18 @@ "synthesized-field": { "apiContract:server": "true" }, + "declared-element": { + "#5": "" + }, + "resolved-link-target": { + "#5": "amf://id#2" + }, "resolved-link": { "#5": "amf://id#5" }, "lexical": { "core:description": "[(12,6)-(13,0)]", "#5": "[(11,4)-(13,0)]" - }, - "declared-element": { - "#5": "" - }, - "resolved-link-target": { - "#5": "amf://id#2" } } } @@ -205,13 +205,13 @@ } ], "smaps": { - "declared-element": { - "#1": "" - }, "lexical": { "apiContract:protocol": "[(9,6)-(10,0)]", "#1": "[(7,4)-(10,0)]", "core:urlTemplate": "[(8,6)-(9,0)]" + }, + "declared-element": { + "#1": "" } } }, @@ -232,12 +232,12 @@ } ], "smaps": { - "declared-element": { - "#2": "" - }, "lexical": { "core:description": "[(12,6)-(13,0)]", "#2": "[(11,4)-(13,0)]" + }, + "declared-element": { + "#2": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/async-2.3-components.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/async-2.3-components.flattened.jsonld index 62c8721444..c9fca5cd14 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/async-2.3-components.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/async-2.3-components.flattened.jsonld @@ -49,12 +49,6 @@ "core:urlTemplate": "http://localhost:5000/ws", "apiContract:protocol": "ws", "smaps": { - "resolved-link-target": { - "#6": "amf://id#1" - }, - "declared-element": { - "#6": "" - }, "lexical": { "apiContract:protocol": "[(9,6)-(10,0)]", "#6": "[(7,4)-(10,0)]", @@ -62,6 +56,12 @@ }, "resolved-link": { "#6": "amf://id#6" + }, + "resolved-link-target": { + "#6": "amf://id#1" + }, + "declared-element": { + "#6": "" } } }, @@ -82,18 +82,18 @@ "synthesized-field": { "apiContract:server": "true" }, + "declared-element": { + "#5": "" + }, + "resolved-link-target": { + "#5": "amf://id#2" + }, "resolved-link": { "#5": "amf://id#5" }, "lexical": { "core:description": "[(12,6)-(13,0)]", "#5": "[(11,4)-(13,0)]" - }, - "declared-element": { - "#5": "" - }, - "resolved-link-target": { - "#5": "amf://id#2" } } }, @@ -131,13 +131,13 @@ "core:urlTemplate": "http://localhost:5000/ws", "apiContract:protocol": "ws", "smaps": { - "declared-element": { - "#1": "" - }, "lexical": { "apiContract:protocol": "[(9,6)-(10,0)]", "#1": "[(7,4)-(10,0)]", "core:urlTemplate": "[(8,6)-(9,0)]" + }, + "declared-element": { + "#1": "" } } }, @@ -150,12 +150,12 @@ "apiContract:path": "myChannel", "core:description": "mychannel", "smaps": { - "declared-element": { - "#2": "" - }, "lexical": { "core:description": "[(12,6)-(13,0)]", "#2": "[(11,4)-(13,0)]" + }, + "declared-element": { + "#2": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.expanded.jsonld index a433bc1183..123473aad5 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.expanded.jsonld @@ -234,12 +234,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#7": "[(29,10)-(29,14)]" - }, "lexical": { "shacl:datatype": "[(29,10)-(30,0)]", "#7": "[(28,8)-(30,0)]" + }, + "type-property-lexical-info": { + "#7": "[(29,10)-(29,14)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.flattened.jsonld index e5bd0e00ed..90aa17a6d3 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.flattened.jsonld @@ -224,12 +224,12 @@ ], "shacl:name": "schema", "smaps": { - "type-property-lexical-info": { - "#7": "[(29,10)-(29,14)]" - }, "lexical": { "shacl:datatype": "[(29,10)-(30,0)]", "#7": "[(28,8)-(30,0)]" + }, + "type-property-lexical-info": { + "#7": "[(29,10)-(29,14)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.expanded.jsonld index 29fb14c0cd..0379c0ddaf 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.expanded.jsonld @@ -133,12 +133,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#9": "[(15,14)-(15,18)]" - }, "lexical": { "shacl:datatype": "[(15,14)-(16,0)]", "#9": "[(14,12)-(16,0)]" + }, + "type-property-lexical-info": { + "#9": "[(15,14)-(15,18)]" } } } @@ -172,11 +172,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#7": "[(11,8)-(16,0)]" - }, "type-property-lexical-info": { "#7": "[(12,10)-(12,14)]" + }, + "lexical": { + "#7": "[(11,8)-(16,0)]" } } } @@ -291,12 +291,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#15": "[(23,14)-(23,18)]" - }, "lexical": { "shacl:datatype": "[(23,14)-(24,0)]", "#15": "[(22,12)-(24,0)]" + }, + "type-property-lexical-info": { + "#15": "[(23,14)-(23,18)]" } } } @@ -330,11 +330,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#13": "[(19,8)-(24,0)]" - }, "type-property-lexical-info": { "#13": "[(20,10)-(20,14)]" + }, + "lexical": { + "#13": "[(19,8)-(24,0)]" } } } @@ -473,12 +473,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#22": "[(31,14)-(31,18)]" - }, "lexical": { "shacl:datatype": "[(31,14)-(32,0)]", "#22": "[(30,12)-(32,0)]" + }, + "type-property-lexical-info": { + "#22": "[(31,14)-(31,18)]" } } } @@ -512,11 +512,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#20": "[(27,8)-(32,0)]" - }, "type-property-lexical-info": { "#20": "[(28,10)-(28,14)]" + }, + "lexical": { + "#20": "[(27,8)-(32,0)]" } } } @@ -630,12 +630,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#28": "[(38,14)-(38,18)]" - }, "lexical": { "shacl:datatype": "[(38,14)-(38,26)]", "#28": "[(37,12)-(38,26)]" + }, + "type-property-lexical-info": { + "#28": "[(38,14)-(38,18)]" } } } @@ -669,11 +669,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#26": "[(34,8)-(38,26)]" - }, "type-property-lexical-info": { "#26": "[(35,10)-(35,14)]" + }, + "lexical": { + "#26": "[(34,8)-(38,26)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.flattened.jsonld index 0d42b42dbd..7f7a6caaf8 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.flattened.jsonld @@ -358,11 +358,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#7": "[(11,8)-(16,0)]" - }, "type-property-lexical-info": { "#7": "[(12,10)-(12,14)]" + }, + "lexical": { + "#7": "[(11,8)-(16,0)]" } } }, @@ -386,11 +386,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#13": "[(19,8)-(24,0)]" - }, "type-property-lexical-info": { "#13": "[(20,10)-(20,14)]" + }, + "lexical": { + "#13": "[(19,8)-(24,0)]" } } }, @@ -414,11 +414,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#20": "[(27,8)-(32,0)]" - }, "type-property-lexical-info": { "#20": "[(28,10)-(28,14)]" + }, + "lexical": { + "#20": "[(27,8)-(32,0)]" } } }, @@ -442,11 +442,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#26": "[(34,8)-(38,26)]" - }, "type-property-lexical-info": { "#26": "[(35,10)-(35,14)]" + }, + "lexical": { + "#26": "[(34,8)-(38,26)]" } } }, @@ -574,12 +574,12 @@ ], "shacl:name": "name", "smaps": { - "type-property-lexical-info": { - "#9": "[(15,14)-(15,18)]" - }, "lexical": { "shacl:datatype": "[(15,14)-(16,0)]", "#9": "[(14,12)-(16,0)]" + }, + "type-property-lexical-info": { + "#9": "[(15,14)-(15,18)]" } } }, @@ -599,12 +599,12 @@ ], "shacl:name": "name", "smaps": { - "type-property-lexical-info": { - "#15": "[(23,14)-(23,18)]" - }, "lexical": { "shacl:datatype": "[(23,14)-(24,0)]", "#15": "[(22,12)-(24,0)]" + }, + "type-property-lexical-info": { + "#15": "[(23,14)-(23,18)]" } } }, @@ -624,12 +624,12 @@ ], "shacl:name": "name", "smaps": { - "type-property-lexical-info": { - "#22": "[(31,14)-(31,18)]" - }, "lexical": { "shacl:datatype": "[(31,14)-(32,0)]", "#22": "[(30,12)-(32,0)]" + }, + "type-property-lexical-info": { + "#22": "[(31,14)-(31,18)]" } } }, @@ -649,12 +649,12 @@ ], "shacl:name": "name", "smaps": { - "type-property-lexical-info": { - "#28": "[(38,14)-(38,18)]" - }, "lexical": { "shacl:datatype": "[(38,14)-(38,26)]", "#28": "[(37,12)-(38,26)]" + }, + "type-property-lexical-info": { + "#28": "[(38,14)-(38,18)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.expanded.jsonld index 0210dcd503..133c662f4b 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.expanded.jsonld @@ -118,12 +118,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#18": "[(18,14)-(18,18)]" - }, "lexical": { "shacl:datatype": "[(18,14)-(19,0)]", "#18": "[(17,12)-(19,0)]" + }, + "type-property-lexical-info": { + "#18": "[(18,14)-(18,18)]" } } } @@ -527,11 +527,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#16": "[(14,8)-(22,0)]" - }, "type-property-lexical-info": { "#16": "[(15,10)-(15,14)]" + }, + "lexical": { + "#16": "[(14,8)-(22,0)]" } } } @@ -594,12 +594,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#8": "[(13,14)-(13,18)]" - }, "lexical": { "shacl:datatype": "[(13,14)-(14,0)]", "#8": "[(12,12)-(14,0)]" + }, + "type-property-lexical-info": { + "#8": "[(13,14)-(13,18)]" } } } @@ -819,11 +819,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#6": "[(9,8)-(14,0)]" - }, "type-property-lexical-info": { "#6": "[(10,10)-(10,14)]" + }, + "lexical": { + "#6": "[(9,8)-(14,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.flattened.jsonld index abb253ee74..3842fff5fa 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.flattened.jsonld @@ -147,11 +147,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#6": "[(9,8)-(14,0)]" - }, "type-property-lexical-info": { "#6": "[(10,10)-(10,14)]" + }, + "lexical": { + "#6": "[(9,8)-(14,0)]" } } }, @@ -189,11 +189,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#16": "[(14,8)-(22,0)]" - }, "type-property-lexical-info": { "#16": "[(15,10)-(15,14)]" + }, + "lexical": { + "#16": "[(14,8)-(22,0)]" } } }, @@ -417,12 +417,12 @@ ], "shacl:name": "a", "smaps": { - "type-property-lexical-info": { - "#8": "[(13,14)-(13,18)]" - }, "lexical": { "shacl:datatype": "[(13,14)-(14,0)]", "#8": "[(12,12)-(14,0)]" + }, + "type-property-lexical-info": { + "#8": "[(13,14)-(13,18)]" } } }, @@ -484,12 +484,12 @@ ], "shacl:name": "name", "smaps": { - "type-property-lexical-info": { - "#18": "[(18,14)-(18,18)]" - }, "lexical": { "shacl:datatype": "[(18,14)-(19,0)]", "#18": "[(17,12)-(19,0)]" + }, + "type-property-lexical-info": { + "#18": "[(18,14)-(18,18)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/async20/message-references.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/message-references.expanded.jsonld index 64064fc4d5..11bb4d2e9b 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/message-references.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/message-references.expanded.jsonld @@ -104,12 +104,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#6": "[(16,8)-(16,12)]" - }, "lexical": { "shacl:datatype": "[(16,8)-(17,0)]", "#6": "[(15,6)-(17,0)]" + }, + "type-property-lexical-info": { + "#6": "[(16,8)-(16,12)]" } } } @@ -184,12 +184,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#4": "[(14,12)-(14,16)]" - }, "lexical": { "shacl:datatype": "[(14,12)-(15,0)]", "#4": "[(13,10)-(15,0)]" + }, + "type-property-lexical-info": { + "#4": "[(14,12)-(14,16)]" } } } @@ -223,11 +223,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#2": "[(10,6)-(15,0)]" - }, "type-property-lexical-info": { "#2": "[(11,8)-(11,12)]" + }, + "lexical": { + "#2": "[(10,6)-(15,0)]" } } } @@ -236,6 +236,12 @@ "virtual-element": { "apiContract:payload": "true" }, + "declared-element": { + "#11": "" + }, + "resolved-link-target": { + "#11": "amf://id#1" + }, "resolved-link": { "#11": "amf://id#12" }, @@ -245,12 +251,6 @@ "#11": "[(9,4)-(22,0)]", "core:name": "[(9,4)-(9,15)]", "core:title": "[(20,6)-(22,0)]" - }, - "declared-element": { - "#11": "" - }, - "resolved-link-target": { - "#11": "amf://id#1" } } } @@ -347,12 +347,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#6": "[(16,8)-(16,12)]" - }, "lexical": { "shacl:datatype": "[(16,8)-(17,0)]", "#6": "[(15,6)-(17,0)]" + }, + "type-property-lexical-info": { + "#6": "[(16,8)-(16,12)]" } } } @@ -427,12 +427,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#4": "[(14,12)-(14,16)]" - }, "lexical": { "shacl:datatype": "[(14,12)-(15,0)]", "#4": "[(13,10)-(15,0)]" + }, + "type-property-lexical-info": { + "#4": "[(14,12)-(14,16)]" } } } @@ -466,11 +466,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#2": "[(10,6)-(15,0)]" - }, "type-property-lexical-info": { "#2": "[(11,8)-(11,12)]" + }, + "lexical": { + "#2": "[(10,6)-(15,0)]" } } } @@ -479,6 +479,12 @@ "virtual-element": { "apiContract:payload": "true" }, + "declared-element": { + "#15": "" + }, + "resolved-link-target": { + "#15": "amf://id#1" + }, "resolved-link": { "#15": "amf://id#16" }, @@ -488,12 +494,6 @@ "#15": "[(9,4)-(22,0)]", "core:name": "[(9,4)-(9,15)]", "core:title": "[(20,6)-(22,0)]" - }, - "declared-element": { - "#15": "" - }, - "resolved-link-target": { - "#15": "amf://id#1" } } } @@ -603,12 +603,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#6": "[(16,8)-(16,12)]" - }, "lexical": { "shacl:datatype": "[(16,8)-(17,0)]", "#6": "[(15,6)-(17,0)]" + }, + "type-property-lexical-info": { + "#6": "[(16,8)-(16,12)]" } } } @@ -683,12 +683,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#4": "[(14,12)-(14,16)]" - }, "lexical": { "shacl:datatype": "[(14,12)-(15,0)]", "#4": "[(13,10)-(15,0)]" + }, + "type-property-lexical-info": { + "#4": "[(14,12)-(14,16)]" } } } @@ -722,11 +722,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#2": "[(10,6)-(15,0)]" - }, "type-property-lexical-info": { "#2": "[(11,8)-(11,12)]" + }, + "lexical": { + "#2": "[(10,6)-(15,0)]" } } } @@ -735,15 +735,15 @@ "virtual-element": { "apiContract:payload": "true" }, + "declared-element": { + "#1": "" + }, "lexical": { "apiContract:headerSchema": "[(10,6)-(15,0)]", "core:displayName": "[(19,6)-(20,0)]", "#1": "[(9,4)-(22,0)]", "core:name": "[(9,4)-(9,15)]", "core:title": "[(20,6)-(22,0)]" - }, - "declared-element": { - "#1": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/message-references.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/message-references.flattened.jsonld index 00b8e7d661..d3aef65f73 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/message-references.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/message-references.flattened.jsonld @@ -137,6 +137,12 @@ "virtual-element": { "apiContract:payload": "true" }, + "declared-element": { + "#11": "" + }, + "resolved-link-target": { + "#11": "amf://id#1" + }, "resolved-link": { "#11": "amf://id#12" }, @@ -146,12 +152,6 @@ "#11": "[(9,4)-(22,0)]", "core:name": "[(9,4)-(9,15)]", "core:title": "[(20,6)-(22,0)]" - }, - "declared-element": { - "#11": "" - }, - "resolved-link-target": { - "#11": "amf://id#1" } } }, @@ -178,6 +178,12 @@ "virtual-element": { "apiContract:payload": "true" }, + "declared-element": { + "#15": "" + }, + "resolved-link-target": { + "#15": "amf://id#1" + }, "resolved-link": { "#15": "amf://id#16" }, @@ -187,12 +193,6 @@ "#15": "[(9,4)-(22,0)]", "core:name": "[(9,4)-(9,15)]", "core:title": "[(20,6)-(22,0)]" - }, - "declared-element": { - "#15": "" - }, - "resolved-link-target": { - "#15": "amf://id#1" } } }, @@ -237,11 +237,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#2": "[(10,6)-(15,0)]" - }, "type-property-lexical-info": { "#2": "[(11,8)-(11,12)]" + }, + "lexical": { + "#2": "[(10,6)-(15,0)]" } } }, @@ -261,12 +261,12 @@ ], "shacl:name": "schema", "smaps": { - "type-property-lexical-info": { - "#6": "[(16,8)-(16,12)]" - }, "lexical": { "shacl:datatype": "[(16,8)-(17,0)]", "#6": "[(15,6)-(17,0)]" + }, + "type-property-lexical-info": { + "#6": "[(16,8)-(16,12)]" } } }, @@ -313,12 +313,12 @@ ], "shacl:name": "a", "smaps": { - "type-property-lexical-info": { - "#4": "[(14,12)-(14,16)]" - }, "lexical": { "shacl:datatype": "[(14,12)-(15,0)]", "#4": "[(13,10)-(15,0)]" + }, + "type-property-lexical-info": { + "#4": "[(14,12)-(14,16)]" } } }, @@ -364,15 +364,15 @@ "virtual-element": { "apiContract:payload": "true" }, + "declared-element": { + "#1": "" + }, "lexical": { "apiContract:headerSchema": "[(10,6)-(15,0)]", "core:displayName": "[(19,6)-(20,0)]", "#1": "[(9,4)-(22,0)]", "core:name": "[(9,4)-(9,15)]", "core:title": "[(20,6)-(22,0)]" - }, - "declared-element": { - "#1": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.expanded.jsonld index 8b13979d50..cf30e52dcb 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.expanded.jsonld @@ -127,6 +127,12 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#2" }, @@ -135,12 +141,6 @@ "core:name": "[(17,4)-(17,14)]", "#1": "[(17,4)-(20,0)]", "core:displayName": "[(18,6)-(19,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -174,6 +174,12 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, + "declared-element": { + "#3": "" + }, + "resolved-link-target": { + "#3": "amf://id#3" + }, "resolved-link": { "#3": "amf://id#4" }, @@ -182,12 +188,6 @@ "core:name": "[(20,4)-(20,15)]", "#3": "[(20,4)-(22,24)]", "core:displayName": "[(21,6)-(22,0)]" - }, - "declared-element": { - "#3": "" - }, - "resolved-link-target": { - "#3": "amf://id#3" } } } @@ -292,6 +292,12 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#2" }, @@ -300,12 +306,6 @@ "core:name": "[(17,4)-(17,14)]", "#1": "[(17,4)-(20,0)]", "core:displayName": "[(18,6)-(19,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -339,6 +339,12 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, + "declared-element": { + "#3": "" + }, + "resolved-link-target": { + "#3": "amf://id#3" + }, "resolved-link": { "#3": "amf://id#4" }, @@ -347,12 +353,6 @@ "core:name": "[(20,4)-(20,15)]", "#3": "[(20,4)-(22,24)]", "core:displayName": "[(21,6)-(22,0)]" - }, - "declared-element": { - "#3": "" - }, - "resolved-link-target": { - "#3": "amf://id#3" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.flattened.jsonld index 3dcc043f03..96484ce505 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.flattened.jsonld @@ -139,6 +139,12 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#2" }, @@ -147,12 +153,6 @@ "core:name": "[(17,4)-(17,14)]", "#1": "[(17,4)-(20,0)]", "core:displayName": "[(18,6)-(19,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -170,6 +170,12 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, + "declared-element": { + "#3": "" + }, + "resolved-link-target": { + "#3": "amf://id#3" + }, "resolved-link": { "#3": "amf://id#4" }, @@ -178,12 +184,6 @@ "core:name": "[(20,4)-(20,15)]", "#3": "[(20,4)-(22,24)]", "core:displayName": "[(21,6)-(22,0)]" - }, - "declared-element": { - "#3": "" - }, - "resolved-link-target": { - "#3": "amf://id#3" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/async20/named-parameter-with-ref.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/named-parameter-with-ref.expanded.jsonld index a57499ea88..b8bc447d60 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/named-parameter-with-ref.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/named-parameter-with-ref.expanded.jsonld @@ -82,23 +82,17 @@ } ], "smaps": { - "type-property-lexical-info": { - "#2": "[(12,8)-(12,12)]" - }, "lexical": { "shacl:datatype": "[(12,8)-(15,0)]", "#2": "[(11,6)-(15,0)]" + }, + "type-property-lexical-info": { + "#2": "[(12,8)-(12,12)]" } } } ], "smaps": { - "resolved-link-target": { - "#6": "amf://id#1" - }, - "declared-element": { - "#6": "" - }, "lexical": { "raml-shapes:schema": "[(11,6)-(15,0)]", "core:description": "[(9,6)-(10,0)]", @@ -107,6 +101,12 @@ }, "resolved-link": { "#6": "amf://id#6" + }, + "resolved-link-target": { + "#6": "amf://id#1" + }, + "declared-element": { + "#6": "" } } } @@ -205,26 +205,26 @@ } ], "smaps": { - "type-property-lexical-info": { - "#2": "[(12,8)-(12,12)]" - }, "lexical": { "shacl:datatype": "[(12,8)-(15,0)]", "#2": "[(11,6)-(15,0)]" + }, + "type-property-lexical-info": { + "#2": "[(12,8)-(12,12)]" } } } ], "smaps": { - "declared-element": { - "#1": "" - }, "lexical": { "raml-shapes:schema": "[(11,6)-(15,0)]", "core:description": "[(9,6)-(10,0)]", "#1": "[(8,4)-(15,0)]", "core:name": "[(8,4)-(8,10)]", "apiContract:binding": "[(10,6)-(11,0)]" + }, + "declared-element": { + "#1": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/named-parameter-with-ref.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/named-parameter-with-ref.flattened.jsonld index 2e58d74df5..9235e006bb 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/named-parameter-with-ref.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/named-parameter-with-ref.flattened.jsonld @@ -70,12 +70,6 @@ "@id": "#2" }, "smaps": { - "resolved-link-target": { - "#6": "amf://id#1" - }, - "declared-element": { - "#6": "" - }, "lexical": { "raml-shapes:schema": "[(11,6)-(15,0)]", "core:description": "[(9,6)-(10,0)]", @@ -84,6 +78,12 @@ }, "resolved-link": { "#6": "amf://id#6" + }, + "resolved-link-target": { + "#6": "amf://id#1" + }, + "declared-element": { + "#6": "" } } }, @@ -103,12 +103,12 @@ ], "shacl:name": "schema", "smaps": { - "type-property-lexical-info": { - "#2": "[(12,8)-(12,12)]" - }, "lexical": { "shacl:datatype": "[(12,8)-(15,0)]", "#2": "[(11,6)-(15,0)]" + }, + "type-property-lexical-info": { + "#2": "[(12,8)-(12,12)]" } } }, @@ -147,15 +147,15 @@ "@id": "#2" }, "smaps": { - "declared-element": { - "#1": "" - }, "lexical": { "raml-shapes:schema": "[(11,6)-(15,0)]", "core:description": "[(9,6)-(10,0)]", "#1": "[(8,4)-(15,0)]", "core:name": "[(8,4)-(8,10)]", "apiContract:binding": "[(10,6)-(11,0)]" + }, + "declared-element": { + "#1": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.expanded.jsonld index 21ce0d979d..a7aba004c7 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.expanded.jsonld @@ -103,6 +103,12 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#2" }, @@ -111,12 +117,6 @@ "core:name": "[(16,4)-(16,14)]", "#1": "[(16,4)-(19,0)]", "core:description": "[(18,6)-(19,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -151,6 +151,12 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, + "declared-element": { + "#3": "" + }, + "resolved-link-target": { + "#3": "amf://id#3" + }, "resolved-link": { "#3": "amf://id#4" }, @@ -158,12 +164,6 @@ "core:description": "[(20,6)-(20,36)]", "#3": "[(19,4)-(20,36)]", "core:name": "[(19,4)-(19,15)]" - }, - "declared-element": { - "#3": "" - }, - "resolved-link-target": { - "#3": "amf://id#3" } } } @@ -264,6 +264,12 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#2" }, @@ -272,12 +278,6 @@ "core:name": "[(16,4)-(16,14)]", "#1": "[(16,4)-(19,0)]", "core:description": "[(18,6)-(19,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -312,6 +312,12 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, + "declared-element": { + "#3": "" + }, + "resolved-link-target": { + "#3": "amf://id#3" + }, "resolved-link": { "#3": "amf://id#4" }, @@ -319,12 +325,6 @@ "core:description": "[(20,6)-(20,36)]", "#3": "[(19,4)-(20,36)]", "core:name": "[(19,4)-(19,15)]" - }, - "declared-element": { - "#3": "" - }, - "resolved-link-target": { - "#3": "amf://id#3" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.flattened.jsonld index d35582f0ac..4f3e1ddd13 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.flattened.jsonld @@ -99,6 +99,12 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#2" }, @@ -107,12 +113,6 @@ "core:name": "[(16,4)-(16,14)]", "#1": "[(16,4)-(19,0)]", "core:description": "[(18,6)-(19,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -131,6 +131,12 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, + "declared-element": { + "#3": "" + }, + "resolved-link-target": { + "#3": "amf://id#3" + }, "resolved-link": { "#3": "amf://id#4" }, @@ -138,12 +144,6 @@ "core:description": "[(20,6)-(20,36)]", "#3": "[(19,4)-(20,36)]", "core:name": "[(19,4)-(19,15)]" - }, - "declared-element": { - "#3": "" - }, - "resolved-link-target": { - "#3": "amf://id#3" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/async20/type-forward-referencing.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/type-forward-referencing.expanded.jsonld index 2370d50850..bda7b2efaa 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/type-forward-referencing.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/type-forward-referencing.expanded.jsonld @@ -86,21 +86,21 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#2" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:datatype": "[(11,6)-(13,0)]", "#1": "[(10,4)-(13,0)]" }, - "type-property-lexical-info": { - "#1": "[(11,6)-(11,10)]" + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#2" }, "resolved-link": { "#1": "amf://id#1" + }, + "type-property-lexical-info": { + "#1": "[(11,6)-(11,10)]" } } }, @@ -124,14 +124,14 @@ } ], "smaps": { - "declared-element": { - "#2": "" - }, "lexical": { "shacl:name": "[(10,4)-(10,12)]", "#2": "[(10,4)-(13,0)]", "shacl:datatype": "[(11,6)-(13,0)]" }, + "declared-element": { + "#2": "" + }, "type-property-lexical-info": { "#2": "[(11,6)-(11,10)]" } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/type-forward-referencing.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/type-forward-referencing.flattened.jsonld index eae43446de..1e05e3b21a 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/type-forward-referencing.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/type-forward-referencing.flattened.jsonld @@ -69,21 +69,21 @@ ], "shacl:name": "OtherSchema", "smaps": { - "resolved-link-target": { - "#1": "amf://id#2" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:datatype": "[(11,6)-(13,0)]", "#1": "[(10,4)-(13,0)]" }, - "type-property-lexical-info": { - "#1": "[(11,6)-(11,10)]" + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#2" }, "resolved-link": { "#1": "amf://id#1" + }, + "type-property-lexical-info": { + "#1": "[(11,6)-(11,10)]" } } }, @@ -103,14 +103,14 @@ ], "shacl:name": "MySchema", "smaps": { - "declared-element": { - "#2": "" - }, "lexical": { "shacl:name": "[(10,4)-(10,12)]", "#2": "[(10,4)-(13,0)]", "shacl:datatype": "[(11,6)-(13,0)]" }, + "declared-element": { + "#2": "" + }, "type-property-lexical-info": { "#2": "[(11,6)-(11,10)]" } diff --git a/amf-cli/shared/src/test/resources/resolution/binary-fragment/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/binary-fragment/api.expanded.jsonld index 39c8011f9a..c1896c0f6f 100644 --- a/amf-cli/shared/src/test/resources/resolution/binary-fragment/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/binary-fragment/api.expanded.jsonld @@ -72,12 +72,12 @@ } ], "smaps": { - "parent-end-point": { - "#8": "amf://id#6" - }, "lexical": { "apiContract:path": "[(6,2)-(6,11)]", "#8": "[(6,2)-(16,56)]" + }, + "parent-end-point": { + "#8": "amf://id#6" } } }, @@ -181,12 +181,12 @@ "core:name": "true", "apiContract:required": "true" }, - "default-node": { - "#17": "" - }, "lexical": { "#17": "[(6,3)-(6,11)]" }, + "default-node": { + "#17": "" + }, "virtual-element": { "#17": "true" } @@ -317,14 +317,14 @@ } ], "smaps": { - "auto-generated-name": { - "#13": "" - }, "lexical": { "apiContract:examples": "[(16,16)-(16,56)]", "#13": "[(14,14)-(16,56)]", "shacl:datatype": "[(15,16)-(16,0)]" }, + "auto-generated-name": { + "#13": "" + }, "type-property-lexical-info": { "#13": "[(15,16)-(15,20)]" } @@ -356,13 +356,13 @@ } ], "smaps": { - "parent-end-point": { - "#9": "amf://id#8" - }, "lexical": { "core:description": "[(8,6)-(9,0)]", "#9": "[(7,4)-(16,56)]", "apiContract:path": "[(7,4)-(7,17)]" + }, + "parent-end-point": { + "#9": "amf://id#8" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/binary-fragment/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/binary-fragment/api.flattened.jsonld index aebfcc8b27..8760ac23af 100644 --- a/amf-cli/shared/src/test/resources/resolution/binary-fragment/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/binary-fragment/api.flattened.jsonld @@ -63,12 +63,12 @@ ], "apiContract:path": "/songs/{songId}", "smaps": { - "parent-end-point": { - "#8": "amf://id#6" - }, "lexical": { "apiContract:path": "[(6,2)-(6,11)]", "#8": "[(6,2)-(16,56)]" + }, + "parent-end-point": { + "#8": "amf://id#6" } } }, @@ -86,13 +86,13 @@ } ], "smaps": { - "parent-end-point": { - "#9": "amf://id#8" - }, "lexical": { "core:description": "[(8,6)-(9,0)]", "#9": "[(7,4)-(16,56)]", "apiContract:path": "[(7,4)-(7,17)]" + }, + "parent-end-point": { + "#9": "amf://id#8" } } }, @@ -194,12 +194,12 @@ "core:name": "true", "apiContract:required": "true" }, - "default-node": { - "#17": "" - }, "lexical": { "#17": "[(6,3)-(6,11)]" }, + "default-node": { + "#17": "" + }, "virtual-element": { "#17": "true" } @@ -259,14 +259,14 @@ } ], "smaps": { - "auto-generated-name": { - "#13": "" - }, "lexical": { "apiContract:examples": "[(16,16)-(16,56)]", "#13": "[(14,14)-(16,56)]", "shacl:datatype": "[(15,16)-(16,0)]" }, + "auto-generated-name": { + "#13": "" + }, "type-property-lexical-info": { "#13": "[(15,16)-(15,20)]" } diff --git a/amf-cli/shared/src/test/resources/resolution/declared-from-library/api.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/declared-from-library/api.resolved.expanded.jsonld index 2f9e8a3488..614f8c2574 100644 --- a/amf-cli/shared/src/test/resources/resolution/declared-from-library/api.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/declared-from-library/api.resolved.expanded.jsonld @@ -157,12 +157,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#2": "" + }, "lexical": { "shacl:name": "[(3,2)-(3,3)]", "#2": "[(3,2)-(5,15)]" - }, - "declared-element": { - "#2": "" } } } @@ -288,17 +288,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#6": "amf://id#6" - }, - "lexical": { - "#6": "[(3,2)-(5,15)]" - }, "declared-element": { "#6": "" }, "resolved-link-target": { "#6": "amf://id#2" + }, + "resolved-link": { + "#6": "amf://id#6" + }, + "lexical": { + "#6": "[(3,2)-(5,15)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/declared-from-library/api.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/declared-from-library/api.resolved.flattened.jsonld index ed2b24a9c3..a9e9428d82 100644 --- a/amf-cli/shared/src/test/resources/resolution/declared-from-library/api.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/declared-from-library/api.resolved.flattened.jsonld @@ -100,17 +100,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#6": "amf://id#6" - }, - "lexical": { - "#6": "[(3,2)-(5,15)]" - }, "declared-element": { "#6": "" }, "resolved-link-target": { "#6": "amf://id#2" + }, + "resolved-link": { + "#6": "amf://id#6" + }, + "lexical": { + "#6": "[(3,2)-(5,15)]" } } }, @@ -134,12 +134,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#2": "" + }, "lexical": { "shacl:name": "[(3,2)-(3,3)]", "#2": "[(3,2)-(5,15)]" - }, - "declared-element": { - "#2": "" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/double-declare-type/api.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/double-declare-type/api.resolved.expanded.jsonld index 4730de5574..86c53cc40e 100644 --- a/amf-cli/shared/src/test/resources/resolution/double-declare-type/api.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/double-declare-type/api.resolved.expanded.jsonld @@ -277,17 +277,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#6": "amf://id#3" - }, - "lexical": { - "#6": "[(2,0)-(3,11)]" - }, "resolved-link": { "#6": "amf://id#6" }, "declared-element": { "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#3" + }, + "lexical": { + "#6": "[(2,0)-(3,11)]" } } }, @@ -378,17 +378,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#7": "amf://id#3" - }, - "lexical": { - "#7": "[(2,0)-(3,11)]" - }, "resolved-link": { "#7": "amf://id#7" }, "declared-element": { "#7": "" + }, + "resolved-link-target": { + "#7": "amf://id#3" + }, + "lexical": { + "#7": "[(2,0)-(3,11)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/double-declare-type/api.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/double-declare-type/api.resolved.flattened.jsonld index 9bd4001971..3b697ecc31 100644 --- a/amf-cli/shared/src/test/resources/resolution/double-declare-type/api.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/double-declare-type/api.resolved.flattened.jsonld @@ -94,17 +94,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#6": "amf://id#3" - }, - "lexical": { - "#6": "[(2,0)-(3,11)]" - }, "resolved-link": { "#6": "amf://id#6" }, "declared-element": { "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#3" + }, + "lexical": { + "#6": "[(2,0)-(3,11)]" } } }, @@ -128,17 +128,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#7": "amf://id#3" - }, - "lexical": { - "#7": "[(2,0)-(3,11)]" - }, "resolved-link": { "#7": "amf://id#7" }, "declared-element": { "#7": "" + }, + "resolved-link-target": { + "#7": "amf://id#3" + }, + "lexical": { + "#7": "[(2,0)-(3,11)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/double-union-inheritance/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/double-union-inheritance/api.expanded.jsonld index ff061ccb84..2f52a15553 100644 --- a/amf-cli/shared/src/test/resources/resolution/double-union-inheritance/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/double-union-inheritance/api.expanded.jsonld @@ -135,12 +135,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(8,9)-(8,15)]", "#2": "[(8,6)-(9,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } } @@ -154,18 +154,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#5" }, "lexical": { "shacl:name": "[(6,2)-(6,3)]", "#1": "[(6,2)-(9,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -240,12 +240,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#7": "amf://id#6" + }, "lexical": { "raml-shapes:range": "[(11,9)-(11,15)]", "#7": "[(11,6)-(13,0)]" - }, - "inheritance-provenance": { - "#7": "amf://id#6" } } } @@ -259,18 +259,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#6" + }, "resolved-link": { "#6": "amf://id#10" }, "lexical": { "shacl:name": "[(9,2)-(9,3)]", "#6": "[(9,2)-(13,0)]" - }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#6" } } }, @@ -355,12 +355,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(8,9)-(8,15)]", "#2": "[(8,6)-(9,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -436,18 +436,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#12": "[(14,4)-(14,8)]" + }, + "inherited-shapes": { + "#12": "amf://id#1" + }, "declared-element": { "#12": "" }, "lexical": { "shacl:name": "[(13,2)-(13,8)]", "#12": "[(13,2)-(18,0)]" - }, - "type-property-lexical-info": { - "#12": "[(14,4)-(14,8)]" - }, - "inherited-shapes": { - "#12": "amf://id#1" } } }, @@ -584,12 +584,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#7": "amf://id#6" + }, "lexical": { "raml-shapes:range": "[(11,9)-(11,15)]", "#7": "[(11,6)-(13,0)]" - }, - "inheritance-provenance": { - "#7": "amf://id#6" } } } @@ -603,18 +603,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#15": "[(14,4)-(14,8)]" + }, + "inherited-shapes": { + "#15": "amf://id#6" + }, "declared-element": { "#15": "" }, "lexical": { "shacl:name": "[(13,2)-(13,8)]", "#15": "[(13,2)-(18,0)]" - }, - "type-property-lexical-info": { - "#15": "[(14,4)-(14,8)]" - }, - "inherited-shapes": { - "#15": "amf://id#6" } } } @@ -625,15 +625,15 @@ } ], "smaps": { - "declared-element": { - "#11": "" - }, "lexical": { "shacl:name": "[(13,2)-(13,8)]", "#11": "[(13,2)-(18,0)]" }, "type-property-lexical-info": { "#11": "[(14,4)-(14,8)]" + }, + "declared-element": { + "#11": "" } } }, @@ -780,12 +780,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(8,9)-(8,15)]", "#2": "[(8,6)-(9,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } } @@ -799,18 +799,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#17": "[(19,4)-(19,8)]" + }, + "inherited-shapes": { + "#17": "amf://id#1" + }, "declared-element": { "#17": "" }, "lexical": { "shacl:name": "[(18,2)-(18,8)]", "#17": "[(18,2)-(22,0)]" - }, - "type-property-lexical-info": { - "#17": "[(19,4)-(19,8)]" - }, - "inherited-shapes": { - "#17": "amf://id#1" } } }, @@ -947,12 +947,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#7": "amf://id#6" + }, "lexical": { "raml-shapes:range": "[(11,9)-(11,15)]", "#7": "[(11,6)-(13,0)]" - }, - "inheritance-provenance": { - "#7": "amf://id#6" } } } @@ -966,18 +966,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#20": "[(19,4)-(19,8)]" + }, + "inherited-shapes": { + "#20": "amf://id#6" + }, "declared-element": { "#20": "" }, "lexical": { "shacl:name": "[(18,2)-(18,8)]", "#20": "[(18,2)-(22,0)]" - }, - "type-property-lexical-info": { - "#20": "[(19,4)-(19,8)]" - }, - "inherited-shapes": { - "#20": "amf://id#6" } } } @@ -988,15 +988,15 @@ } ], "smaps": { - "declared-element": { - "#16": "" - }, "lexical": { "shacl:name": "[(18,2)-(18,8)]", "#16": "[(18,2)-(22,0)]" }, "type-property-lexical-info": { "#16": "[(19,4)-(19,8)]" + }, + "declared-element": { + "#16": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/double-union-inheritance/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/double-union-inheritance/api.flattened.jsonld index 1950a547d8..af9359d026 100644 --- a/amf-cli/shared/src/test/resources/resolution/double-union-inheritance/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/double-union-inheritance/api.flattened.jsonld @@ -77,18 +77,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#5" }, "lexical": { "shacl:name": "[(6,2)-(6,3)]", "#1": "[(6,2)-(9,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -112,18 +112,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#6" + }, "resolved-link": { "#6": "amf://id#10" }, "lexical": { "shacl:name": "[(9,2)-(9,3)]", "#6": "[(9,2)-(13,0)]" - }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#6" } } }, @@ -146,15 +146,15 @@ ], "shacl:name": "UnionX", "smaps": { - "declared-element": { - "#11": "" - }, "lexical": { "shacl:name": "[(13,2)-(13,8)]", "#11": "[(13,2)-(18,0)]" }, "type-property-lexical-info": { "#11": "[(14,4)-(14,8)]" + }, + "declared-element": { + "#11": "" } } }, @@ -177,15 +177,15 @@ ], "shacl:name": "UnionY", "smaps": { - "declared-element": { - "#16": "" - }, "lexical": { "shacl:name": "[(18,2)-(18,8)]", "#16": "[(18,2)-(22,0)]" }, "type-property-lexical-info": { "#16": "[(19,4)-(19,8)]" + }, + "declared-element": { + "#16": "" } } }, @@ -212,12 +212,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(8,9)-(8,15)]", "#2": "[(8,6)-(9,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -244,12 +244,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#7": "amf://id#6" + }, "lexical": { "raml-shapes:range": "[(11,9)-(11,15)]", "#7": "[(11,6)-(13,0)]" - }, - "inheritance-provenance": { - "#7": "amf://id#6" } } }, @@ -276,18 +276,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#12": "[(14,4)-(14,8)]" + }, + "inherited-shapes": { + "#12": "amf://id#1" + }, "declared-element": { "#12": "" }, "lexical": { "shacl:name": "[(13,2)-(13,8)]", "#12": "[(13,2)-(18,0)]" - }, - "type-property-lexical-info": { - "#12": "[(14,4)-(14,8)]" - }, - "inherited-shapes": { - "#12": "amf://id#1" } } }, @@ -314,18 +314,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#15": "[(14,4)-(14,8)]" + }, + "inherited-shapes": { + "#15": "amf://id#6" + }, "declared-element": { "#15": "" }, "lexical": { "shacl:name": "[(13,2)-(13,8)]", "#15": "[(13,2)-(18,0)]" - }, - "type-property-lexical-info": { - "#15": "[(14,4)-(14,8)]" - }, - "inherited-shapes": { - "#15": "amf://id#6" } } }, @@ -352,18 +352,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#17": "[(19,4)-(19,8)]" + }, + "inherited-shapes": { + "#17": "amf://id#1" + }, "declared-element": { "#17": "" }, "lexical": { "shacl:name": "[(18,2)-(18,8)]", "#17": "[(18,2)-(22,0)]" - }, - "type-property-lexical-info": { - "#17": "[(19,4)-(19,8)]" - }, - "inherited-shapes": { - "#17": "amf://id#1" } } }, @@ -390,18 +390,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#20": "[(19,4)-(19,8)]" + }, + "inherited-shapes": { + "#20": "amf://id#6" + }, "declared-element": { "#20": "" }, "lexical": { "shacl:name": "[(18,2)-(18,8)]", "#20": "[(18,2)-(22,0)]" - }, - "type-property-lexical-info": { - "#20": "[(19,4)-(19,8)]" - }, - "inherited-shapes": { - "#20": "amf://id#6" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/encoded-uris-in-properties/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/encoded-uris-in-properties/api.expanded.jsonld index 63f1cd68f5..48f55441e6 100644 --- a/amf-cli/shared/src/test/resources/resolution/encoded-uris-in-properties/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/encoded-uris-in-properties/api.expanded.jsonld @@ -210,12 +210,12 @@ "type-property-lexical-info": { "#1": "[(5,4)-(5,8)]" }, + "declared-element": { + "#1": "" + }, "lexical": { "shacl:name": "[(4,2)-(4,23)]", "#1": "[(4,2)-(8,41)]" - }, - "declared-element": { - "#1": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/encoded-uris-in-properties/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/encoded-uris-in-properties/api.flattened.jsonld index 63f1cd68f5..48f55441e6 100644 --- a/amf-cli/shared/src/test/resources/resolution/encoded-uris-in-properties/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/encoded-uris-in-properties/api.flattened.jsonld @@ -210,12 +210,12 @@ "type-property-lexical-info": { "#1": "[(5,4)-(5,8)]" }, + "declared-element": { + "#1": "" + }, "lexical": { "shacl:name": "[(4,2)-(4,23)]", "#1": "[(4,2)-(8,41)]" - }, - "declared-element": { - "#1": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/example-in-resource-type/examples-defined-in-rt.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/example-in-resource-type/examples-defined-in-rt.expanded.jsonld index 2b12fe8892..26395dc6f4 100644 --- a/amf-cli/shared/src/test/resources/resolution/example-in-resource-type/examples-defined-in-rt.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/example-in-resource-type/examples-defined-in-rt.expanded.jsonld @@ -416,12 +416,6 @@ } ], "smaps": { - "resolved-link-target": { - "#10": "amf://id#22" - }, - "declared-element": { - "#10": "" - }, "lexical": { "doc:variable": "[(11,21)-(22,0)]", "core:name": "[(11,2)-(11,20)]", @@ -429,7 +423,13 @@ "doc:dataNode": "[(12,4)-(22,0)]" }, "resolved-link": { + "#10": "amf://id#22" + }, + "resolved-link-target": { "#10": "amf://id#21" + }, + "declared-element": { + "#10": "" } } } @@ -668,21 +668,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#1": "amf://id#9" - }, "declared-element": { "#1": "" }, - "lexical": { - "shacl:name": "[(5,2)-(5,9)]", - "#1": "[(5,2)-(10,0)]" - }, - "resolved-link": { + "resolved-link-target": { "#1": "amf://id#8" }, "auto-generated-name": { "#1": "" + }, + "resolved-link": { + "#1": "amf://id#9" + }, + "lexical": { + "shacl:name": "[(5,2)-(5,9)]", + "#1": "[(5,2)-(10,0)]" } } }, @@ -965,12 +965,6 @@ } ], "smaps": { - "resolved-link-target": { - "#10": "amf://id#22" - }, - "declared-element": { - "#10": "" - }, "lexical": { "doc:variable": "[(11,21)-(22,0)]", "core:name": "[(11,2)-(11,20)]", @@ -978,7 +972,13 @@ "doc:dataNode": "[(12,4)-(22,0)]" }, "resolved-link": { + "#10": "amf://id#22" + }, + "resolved-link-target": { "#10": "amf://id#21" + }, + "declared-element": { + "#10": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/example-in-resource-type/examples-defined-in-rt.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/example-in-resource-type/examples-defined-in-rt.flattened.jsonld index 61b445b9e5..e76de5ff38 100644 --- a/amf-cli/shared/src/test/resources/resolution/example-in-resource-type/examples-defined-in-rt.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/example-in-resource-type/examples-defined-in-rt.flattened.jsonld @@ -129,12 +129,6 @@ "resourcePathName" ], "smaps": { - "resolved-link-target": { - "#10": "amf://id#22" - }, - "declared-element": { - "#10": "" - }, "lexical": { "doc:variable": "[(11,21)-(22,0)]", "core:name": "[(11,2)-(11,20)]", @@ -142,7 +136,13 @@ "doc:dataNode": "[(12,4)-(22,0)]" }, "resolved-link": { + "#10": "amf://id#22" + }, + "resolved-link-target": { "#10": "amf://id#21" + }, + "declared-element": { + "#10": "" } } }, @@ -209,21 +209,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#1": "amf://id#9" - }, "declared-element": { "#1": "" }, - "lexical": { - "shacl:name": "[(5,2)-(5,9)]", - "#1": "[(5,2)-(10,0)]" - }, - "resolved-link": { + "resolved-link-target": { "#1": "amf://id#8" }, "auto-generated-name": { "#1": "" + }, + "resolved-link": { + "#1": "amf://id#9" + }, + "lexical": { + "shacl:name": "[(5,2)-(5,9)]", + "#1": "[(5,2)-(10,0)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/example-in-trait/example-in-trait.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/example-in-trait/example-in-trait.expanded.jsonld index 1d38676c47..f37205bf40 100644 --- a/amf-cli/shared/src/test/resources/resolution/example-in-trait/example-in-trait.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/example-in-trait/example-in-trait.expanded.jsonld @@ -169,14 +169,14 @@ } ], "smaps": { - "auto-generated-name": { - "#29": "" - }, "lexical": { "apiContract:examples": "[(12,12)-(12,39)]", "#29": "[(10,10)-(12,39)]", "shacl:datatype": "[(11,12)-(11,24)]" }, + "auto-generated-name": { + "#29": "" + }, "type-property-lexical-info": { "#29": "[(11,12)-(11,16)]" } @@ -414,19 +414,19 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#10" - }, - "declared-element": { - "#1": "" - }, "lexical": { "doc:dataNode": "[(7,4)-(14,0)]", "#1": "[(6,2)-(14,0)]", "core:name": "[(6,2)-(6,8)]" }, "resolved-link": { + "#1": "amf://id#10" + }, + "resolved-link-target": { "#1": "amf://id#9" + }, + "declared-element": { + "#1": "" } } } @@ -653,19 +653,19 @@ } ], "smaps": { - "resolved-link-target": { - "#11": "amf://id#20" - }, - "declared-element": { - "#11": "" - }, "lexical": { "doc:dataNode": "[(15,4)-(22,0)]", "#11": "[(14,2)-(22,0)]", "core:name": "[(14,2)-(14,8)]" }, "resolved-link": { + "#11": "amf://id#20" + }, + "resolved-link-target": { "#11": "amf://id#19" + }, + "declared-element": { + "#11": "" } } } @@ -934,19 +934,19 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#10" - }, - "declared-element": { - "#1": "" - }, "lexical": { "doc:dataNode": "[(7,4)-(14,0)]", "#1": "[(6,2)-(14,0)]", "core:name": "[(6,2)-(6,8)]" }, "resolved-link": { + "#1": "amf://id#10" + }, + "resolved-link-target": { "#1": "amf://id#9" + }, + "declared-element": { + "#1": "" } } }, @@ -1152,19 +1152,19 @@ } ], "smaps": { - "resolved-link-target": { - "#11": "amf://id#20" - }, - "declared-element": { - "#11": "" - }, "lexical": { "doc:dataNode": "[(15,4)-(22,0)]", "#11": "[(14,2)-(22,0)]", "core:name": "[(14,2)-(14,8)]" }, "resolved-link": { + "#11": "amf://id#20" + }, + "resolved-link-target": { "#11": "amf://id#19" + }, + "declared-element": { + "#11": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/example-in-trait/example-in-trait.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/example-in-trait/example-in-trait.flattened.jsonld index d798eb3997..8decd6bf68 100644 --- a/amf-cli/shared/src/test/resources/resolution/example-in-trait/example-in-trait.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/example-in-trait/example-in-trait.flattened.jsonld @@ -166,19 +166,19 @@ "@id": "#2" }, "smaps": { - "resolved-link-target": { - "#1": "amf://id#10" - }, - "declared-element": { - "#1": "" - }, "lexical": { "doc:dataNode": "[(7,4)-(14,0)]", "#1": "[(6,2)-(14,0)]", "core:name": "[(6,2)-(6,8)]" }, "resolved-link": { + "#1": "amf://id#10" + }, + "resolved-link-target": { "#1": "amf://id#9" + }, + "declared-element": { + "#1": "" } } }, @@ -194,19 +194,19 @@ "@id": "#12" }, "smaps": { - "resolved-link-target": { - "#11": "amf://id#20" - }, - "declared-element": { - "#11": "" - }, "lexical": { "doc:dataNode": "[(15,4)-(22,0)]", "#11": "[(14,2)-(22,0)]", "core:name": "[(14,2)-(14,8)]" }, "resolved-link": { + "#11": "amf://id#20" + }, + "resolved-link-target": { "#11": "amf://id#19" + }, + "declared-element": { + "#11": "" } } }, @@ -231,14 +231,14 @@ } ], "smaps": { - "auto-generated-name": { - "#29": "" - }, "lexical": { "apiContract:examples": "[(12,12)-(12,39)]", "#29": "[(10,10)-(12,39)]", "shacl:datatype": "[(11,12)-(11,24)]" }, + "auto-generated-name": { + "#29": "" + }, "type-property-lexical-info": { "#29": "[(11,12)-(11,16)]" } diff --git a/amf-cli/shared/src/test/resources/resolution/examples-shortener.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/examples-shortener.resolved.expanded.jsonld index 3106af0b42..904414504a 100644 --- a/amf-cli/shared/src/test/resources/resolution/examples-shortener.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/examples-shortener.resolved.expanded.jsonld @@ -231,13 +231,13 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, "lexical": { "apiContract:examples": "[(7,4)-(8,13)]", "#1": "[(4,2)-(8,13)]", "shacl:name": "[(4,2)-(4,3)]" - }, - "declared-element": { - "#1": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/examples-shortener.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/examples-shortener.resolved.flattened.jsonld index 5e1bfa3a4a..dc3331b403 100644 --- a/amf-cli/shared/src/test/resources/resolution/examples-shortener.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/examples-shortener.resolved.flattened.jsonld @@ -71,13 +71,13 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, "lexical": { "apiContract:examples": "[(7,4)-(8,13)]", "#1": "[(4,2)-(8,13)]", "shacl:name": "[(4,2)-(4,3)]" - }, - "declared-element": { - "#1": "" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.expanded.jsonld index 32536d6f1c..f5645895dc 100644 --- a/amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.expanded.jsonld @@ -649,9 +649,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status" @@ -659,35 +659,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,8)-(22,12)]" + "@value": "[(21,6)-(23,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,6)-(23,0)]" + "@value": "[(22,8)-(23,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,8)-(23,0)]" + "@value": "[(22,8)-(22,12)]" } ] } @@ -784,9 +784,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description" @@ -794,35 +794,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,8)-(24,12)]" + "@value": "[(23,6)-(25,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,6)-(25,0)]" + "@value": "[(24,8)-(25,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,8)-(25,0)]" + "@value": "[(24,8)-(24,12)]" } ] } @@ -1595,6 +1595,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject" + } + ], + "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/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/source-map/lexical/element_2", @@ -1635,21 +1650,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.flattened.jsonld index b4f38db334..a061073e01 100644 --- a/amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.flattened.jsonld @@ -519,6 +519,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/source-map/lexical/element_2" @@ -529,11 +534,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/source-map/declared-element/element_0" - } ] }, { @@ -733,6 +733,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject", "http://a.ml/vocabularies/document-source-maps#value": "[(19,4)-(19,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -748,21 +753,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject", "http://a.ml/vocabularies/document-source-maps#value": "[(17,2)-(25,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status/source-map/lexical/element_1" @@ -770,6 +765,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -787,11 +787,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description/source-map/lexical/element_1" @@ -799,6 +794,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -975,11 +975,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/example/application%2Fjson1", "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/declares/resp/202_response_object,file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/202_response_object/application%2Fjson" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status", - "http://a.ml/vocabularies/document-source-maps#value": "[(22,8)-(22,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status", @@ -991,9 +986,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(22,8)-(23,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,8)-(24,12)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/status/scalar/status", + "http://a.ml/vocabularies/document-source-maps#value": "[(22,8)-(22,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description/source-map/lexical/element_1", @@ -1005,6 +1000,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(24,8)-(25,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/payload/default/shape/ResponseObject/property/property/description/scalar/description", + "http://a.ml/vocabularies/document-source-maps#value": "[(24,8)-(24,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-declarations-with-multiple-media-types.yaml#/web-api/endpoint/%2Fecho/supportedOperation/post/returns/resp/201_response_object/examples/example/application%2Fjson/object_1/status/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/examples/response-examples.json.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/examples/response-examples.json.expanded.jsonld index d9fbf2ae23..eaeaa356f1 100644 --- a/amf-cli/shared/src/test/resources/resolution/examples/response-examples.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/examples/response-examples.json.expanded.jsonld @@ -444,21 +444,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(71,12)-(71,24)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/source-map/lexical/element_3", @@ -512,6 +497,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(71,12)-(71,24)]" + } + ] + } ] } ] @@ -523,21 +523,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson" - } - ], - "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/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_3", @@ -591,6 +576,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } ] } ] @@ -806,21 +806,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(52,12)-(52,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3", @@ -874,6 +859,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(52,12)-(52,18)]" + } + ] + } ] } ] @@ -3044,9 +3044,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default" @@ -3054,35 +3054,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(80,12)-(99,13)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#and" + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(81,14)-(85,15)]" + "@value": "[(80,12)-(99,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default" + "@value": "http://www.w3.org/ns/shacl#and" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(81,14)-(85,15)]" } ] } @@ -5035,9 +5035,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default" @@ -5045,35 +5045,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(80,12)-(99,13)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#and" + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(81,14)-(85,15)]" + "@value": "[(80,12)-(99,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default" + "@value": "http://www.w3.org/ns/shacl#and" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(81,14)-(85,15)]" } ] } @@ -5355,9 +5355,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name" @@ -5365,35 +5365,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,10)-(29,16)]" + "@value": "[(28,8)-(30,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,8)-(30,9)]" + "@value": "[(29,10)-(29,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,10)-(29,26)]" + "@value": "[(29,10)-(29,16)]" } ] } @@ -5490,9 +5490,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address" @@ -5500,35 +5500,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,10)-(32,16)]" + "@value": "[(31,8)-(33,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(31,8)-(33,9)]" + "@value": "[(32,10)-(32,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,10)-(32,26)]" + "@value": "[(32,10)-(32,16)]" } ] } @@ -5625,9 +5625,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value" @@ -5635,35 +5635,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,10)-(35,16)]" + "@value": "[(34,8)-(36,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(34,8)-(36,9)]" + "@value": "[(35,10)-(35,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,10)-(35,26)]" + "@value": "[(35,10)-(35,16)]" } ] } @@ -6082,6 +6082,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org" + } + ], + "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/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/source-map/lexical/element_2", @@ -6122,21 +6137,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/resolution/examples/response-examples.json.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/examples/response-examples.json.flattened.jsonld index 6270168bf8..991c607cb6 100644 --- a/amf-cli/shared/src/test/resources/resolution/examples/response-examples.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/examples/response-examples.json.flattened.jsonld @@ -380,11 +380,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_3" @@ -398,6 +393,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0" + } ] }, { @@ -602,11 +602,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/source-map/parameter-binding-in-body-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/source-map/lexical/element_3" @@ -620,13 +615,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/source-map/parameter-binding-in-body-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#mediaType", @@ -647,6 +642,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson", "http://a.ml/vocabularies/document-source-maps#value": "[(56,10)-(73,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/examples/example/default-example", "@type": [ @@ -669,11 +669,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3" @@ -687,6 +682,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -812,6 +812,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_1" @@ -819,11 +824,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0" - } ] }, { @@ -943,6 +943,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/source-map/lexical/element_2" @@ -953,11 +958,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/source-map/declared-element/element_0" - } ] }, { @@ -1007,11 +1007,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe", - "http://a.ml/vocabularies/document-source-maps#value": "[(71,12)-(71,24)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#and", @@ -1032,6 +1027,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe", "http://a.ml/vocabularies/document-source-maps#value": "[(57,12)-(69,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe", + "http://a.ml/vocabularies/document-source-maps#value": "[(71,12)-(71,24)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/examples/example/default-example/scalar_1", "@type": [ @@ -1071,11 +1071,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(52,12)-(52,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -1096,6 +1091,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(49,10)-(55,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(52,12)-(52,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/examples/example/softwareCorp/object_1", "@type": [ @@ -1303,6 +1303,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default", "http://a.ml/vocabularies/document-source-maps#value": "[(98,14)-(98,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default", @@ -1313,11 +1318,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#and", "http://a.ml/vocabularies/document-source-maps#value": "[(81,14)-(85,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name", "@type": [ @@ -1483,6 +1483,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org", "http://a.ml/vocabularies/document-source-maps#value": "[(42,6)-(42,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -1498,11 +1503,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org", "http://a.ml/vocabularies/document-source-maps#value": "[(26,4)-(43,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/examples/example/default-example/object_1/name_3", "@type": [ @@ -2100,11 +2100,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1" @@ -2112,6 +2107,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2129,11 +2129,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address/source-map/lexical/element_1" @@ -2141,6 +2136,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2158,11 +2158,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value/source-map/lexical/element_1" @@ -2170,6 +2165,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2708,11 +2708,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#type", "http://a.ml/vocabularies/document-source-maps#value": "[(110,16)-(110,29)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(29,10)-(29,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name", @@ -2724,9 +2719,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(29,10)-(29,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address", - "http://a.ml/vocabularies/document-source-maps#value": "[(32,10)-(32,16)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(29,10)-(29,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address/source-map/lexical/element_1", @@ -2739,9 +2734,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(32,10)-(32,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value", - "http://a.ml/vocabularies/document-source-maps#value": "[(35,10)-(35,16)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/address/scalar/address", + "http://a.ml/vocabularies/document-source-maps#value": "[(32,10)-(32,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value/source-map/lexical/element_1", @@ -2753,6 +2748,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(35,10)-(35,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/property/property/value/scalar/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(35,10)-(35,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/any/Pepe/and/shape/Org/examples/example/default-example/object_1/name_6/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml.expanded.jsonld index 821edd8a08..62de4eb221 100644 --- a/amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml.expanded.jsonld @@ -340,21 +340,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(28,8)-(28,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3", @@ -408,6 +393,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,8)-(28,12)]" + } + ] + } ] } ] @@ -958,9 +958,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name" @@ -968,35 +968,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(17,12)]" + "@value": "[(16,6)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,6)-(18,0)]" + "@value": "[(17,8)-(18,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(18,0)]" + "@value": "[(17,8)-(17,12)]" } ] } @@ -1119,9 +1119,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F" @@ -1129,35 +1129,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(19,12)]" + "@value": "[(18,6)-(20,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,6)-(20,0)]" + "@value": "[(19,8)-(20,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(20,0)]" + "@value": "[(19,8)-(19,12)]" } ] } @@ -1280,9 +1280,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F" @@ -1290,35 +1290,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,8)-(21,12)]" + "@value": "[(20,6)-(22,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,6)-(22,0)]" + "@value": "[(21,8)-(22,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,8)-(22,0)]" + "@value": "[(21,8)-(21,12)]" } ] } @@ -3626,9 +3626,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org" @@ -3636,35 +3636,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(23,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(14,5)]" + "@value": "[(14,2)-(23,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(14,2)-(14,5)]" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml.flattened.jsonld index 0f89672e04..3b592641d0 100644 --- a/amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml.flattened.jsonld @@ -669,6 +669,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_1" @@ -676,11 +681,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/declared-element/element_0" - } ] }, { @@ -710,11 +710,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3" @@ -728,6 +723,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1148,6 +1148,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org", "http://a.ml/vocabularies/document-source-maps#value": "[(22,4)-(22,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org", @@ -1158,11 +1163,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(14,2)-(14,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/examples/example/default-example/scalar_1", "@type": [ @@ -1207,11 +1207,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(28,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -1232,16 +1227,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(26,6)-(30,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(28,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1" @@ -1249,6 +1244,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1276,11 +1276,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F/source-map/lexical/element_1" @@ -1288,6 +1283,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1315,11 +1315,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F/source-map/lexical/element_1" @@ -1327,6 +1322,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1951,11 +1951,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/examples/example/default-example", "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(17,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name", @@ -1967,9 +1962,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(18,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,12)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(17,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F/source-map/lexical/element_1", @@ -1982,9 +1977,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(20,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F", - "http://a.ml/vocabularies/document-source-maps#value": "[(21,8)-(21,12)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/address/scalar/address%3F", + "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F/source-map/lexical/element_1", @@ -1996,6 +1991,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(21,8)-(22,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/property/property/value/scalar/value%3F", + "http://a.ml/vocabularies/document-source-maps#value": "[(21,8)-(21,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/examples/response-examples.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/examples/example/default-example/object_1/name_3/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.resolved.expanded.jsonld index f83f5aa9a7..d297f8b485 100644 --- a/amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.resolved.expanded.jsonld @@ -119,21 +119,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(9,10)-(9,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema/source-map/lexical/element_2", @@ -174,6 +159,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(9,10)-(9,14)]" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.resolved.flattened.jsonld index 29e9f83503..c30ccf28f4 100644 --- a/amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.resolved.flattened.jsonld @@ -313,11 +313,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema/source-map/lexical/element_2" @@ -328,6 +323,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -389,11 +389,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/another", "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(11,49)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,10)-(9,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -409,6 +404,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(9,23)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/element/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,10)-(9,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/08/trait-with-quoted-value.raml#/web-api/endpoint/%2Fparam/supportedOperation/get/expects/request/parameter/parameter/query/another/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", diff --git a/amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml.expanded.jsonld index 503359503e..e6676a2e7a 100644 --- a/amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml.expanded.jsonld @@ -264,9 +264,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema" @@ -274,35 +274,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(11,12)]" + "@value": "[(10,6)-(12,23)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(12,23)]" + "@value": "[(11,8)-(11,20)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(11,20)]" + "@value": "[(11,8)-(11,12)]" } ] } @@ -429,9 +429,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema" @@ -439,35 +439,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(11,12)]" + "@value": "[(10,6)-(12,23)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(12,23)]" + "@value": "[(11,8)-(11,20)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(11,20)]" + "@value": "[(11,8)-(11,12)]" } ] } @@ -1521,9 +1521,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema" @@ -1531,35 +1531,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(11,12)]" + "@value": "[(10,6)-(12,23)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(12,23)]" + "@value": "[(11,8)-(11,20)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(11,20)]" + "@value": "[(11,8)-(11,12)]" } ] } @@ -1686,9 +1686,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema" @@ -1696,35 +1696,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(11,12)]" + "@value": "[(10,6)-(12,23)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(12,23)]" + "@value": "[(11,8)-(11,20)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(11,20)]" + "@value": "[(11,8)-(11,12)]" } ] } @@ -2491,9 +2491,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema" @@ -2501,35 +2501,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(11,12)]" + "@value": "[(10,6)-(12,23)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(12,23)]" + "@value": "[(11,8)-(11,20)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(11,20)]" + "@value": "[(11,8)-(11,12)]" } ] } @@ -3296,9 +3296,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema" @@ -3306,35 +3306,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(11,12)]" + "@value": "[(10,6)-(12,23)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(12,23)]" + "@value": "[(11,8)-(11,20)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(11,20)]" + "@value": "[(11,8)-(11,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml.flattened.jsonld index 39d541be1d..ea9d7fa519 100644 --- a/amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml.flattened.jsonld @@ -2054,11 +2054,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema/source-map/lexical/element_1" @@ -2066,6 +2061,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2093,11 +2093,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema/source-map/lexical/element_1" @@ -2105,6 +2100,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2311,11 +2311,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema/source-map/lexical/element_1" @@ -2323,6 +2318,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2350,11 +2350,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema/source-map/lexical/element_1" @@ -2362,6 +2357,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2505,11 +2505,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema/source-map/lexical/element_1" @@ -2517,6 +2512,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2660,11 +2660,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema/source-map/lexical/element_1" @@ -2672,6 +2667,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2820,11 +2820,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(6,36)-(6,42)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema", @@ -2836,8 +2831,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,20)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-beta/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,12)]" }, { @@ -2850,6 +2845,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-b-alpha/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-c-alpha/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/parameter/parameter/query/get-c-alpha/scalar/schema", @@ -2910,11 +2910,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(6,36)-(6,42)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema", @@ -2926,8 +2921,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,20)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-beta/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,12)]" }, { @@ -2940,6 +2935,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-b-alpha/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-c-alpha/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/post/expects/request/parameter/parameter/query/post-c-alpha/scalar/schema", @@ -2980,11 +2980,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(33,35)-(33,41)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema", @@ -2995,6 +2990,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-b-alpha/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-c-alpha/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/put/expects/request/parameter/parameter/query/put-c-alpha/scalar/schema", @@ -3035,11 +3035,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(33,35)-(33,41)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema", @@ -3050,6 +3045,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-b-alpha/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-c-alpha/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/complex-traits-resource-types.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/head/expects/request/parameter/parameter/query/head-c-alpha/scalar/schema", diff --git a/amf-cli/shared/src/test/resources/resolution/extends/data.editing.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/extends/data.editing.expanded.jsonld index bdcc678b22..19e92357c4 100644 --- a/amf-cli/shared/src/test/resources/resolution/extends/data.editing.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/extends/data.editing.expanded.jsonld @@ -196,12 +196,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(11,9)-(11,15)]", "#4": "[(11,6)-(12,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#1" } } }, @@ -261,12 +261,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#11": "amf://id#10" + }, "lexical": { "raml-shapes:range": "[(16,9)-(16,15)]", "#11": "[(16,6)-(17,0)]" - }, - "inheritance-provenance": { - "#11": "amf://id#10" } } }, @@ -388,12 +388,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(10,9)-(10,15)]", "#2": "[(10,6)-(11,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -453,12 +453,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#6": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(12,9)-(12,15)]", "#6": "[(12,6)-(13,0)]" - }, - "inheritance-provenance": { - "#6": "amf://id#1" } } }, @@ -518,12 +518,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#13": "amf://id#10" + }, "lexical": { "raml-shapes:range": "[(17,9)-(17,15)]", "#13": "[(17,6)-(18,0)]" - }, - "inheritance-provenance": { - "#13": "amf://id#10" } } } @@ -537,12 +537,12 @@ "inheritance-provenance": { "shacl:name": "amf://id#10" }, - "inherited-shapes": { - "#23": "amf://id#10" - }, "lexical": { "#23": "[(24,8)-(27,21)]" }, + "inherited-shapes": { + "#23": "amf://id#10" + }, "type-property-lexical-info": { "#23": "[(25,10)-(25,14)]" }, @@ -560,12 +560,12 @@ } ], "smaps": { + "virtual-element": { + "#21": "true" + }, "lexical": { "apiContract:payload": "[(23,6)-(27,21)]", "#21": "[(23,11)-(27,21)]" - }, - "virtual-element": { - "#21": "true" } } } @@ -579,12 +579,12 @@ } ], "smaps": { - "parent-end-point": { - "#19": "amf://id#18" - }, "lexical": { "apiContract:path": "[(20,2)-(20,12)]", "#19": "[(20,2)-(27,21)]" + }, + "parent-end-point": { + "#19": "amf://id#18" } } } @@ -699,12 +699,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(10,9)-(10,15)]", "#2": "[(10,6)-(11,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -764,12 +764,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(11,9)-(11,15)]", "#4": "[(11,6)-(12,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#1" } } }, @@ -829,12 +829,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#6": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(12,9)-(12,15)]", "#6": "[(12,6)-(13,0)]" - }, - "inheritance-provenance": { - "#6": "amf://id#1" } } } @@ -848,21 +848,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#8" - }, "type-property-lexical-info": { "#1": "[(8,4)-(8,8)]" }, - "lexical": { - "shacl:name": "[(7,2)-(7,22)]", - "#1": "[(7,2)-(13,0)]" + "resolved-link": { + "#1": "amf://id#9" + }, + "resolved-link-target": { + "#1": "amf://id#8" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#9" + "lexical": { + "shacl:name": "[(7,2)-(7,22)]", + "#1": "[(7,2)-(13,0)]" } } }, @@ -937,12 +937,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(11,9)-(11,15)]", "#4": "[(11,6)-(12,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#1" } } }, @@ -1002,12 +1002,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#11": "amf://id#10" + }, "lexical": { "raml-shapes:range": "[(16,9)-(16,15)]", "#11": "[(16,6)-(17,0)]" - }, - "inheritance-provenance": { - "#11": "amf://id#10" } } }, @@ -1067,12 +1067,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(10,9)-(10,15)]", "#2": "[(10,6)-(11,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -1132,12 +1132,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#6": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(12,9)-(12,15)]", "#6": "[(12,6)-(13,0)]" - }, - "inheritance-provenance": { - "#6": "amf://id#1" } } }, @@ -1197,12 +1197,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#13": "amf://id#10" + }, "lexical": { "raml-shapes:range": "[(17,9)-(17,15)]", "#13": "[(17,6)-(18,0)]" - }, - "inheritance-provenance": { - "#13": "amf://id#10" } } } @@ -1216,6 +1216,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#10": "[(14,4)-(14,8)]" + }, + "resolved-link": { + "#10": "amf://id#10" + }, + "inherited-shapes": { + "#10": "amf://id#1" + }, "resolved-link-target": { "#10": "amf://id#15" }, @@ -1225,15 +1234,6 @@ "lexical": { "shacl:name": "[(13,2)-(13,6)]", "#10": "[(13,2)-(18,0)]" - }, - "type-property-lexical-info": { - "#10": "[(14,4)-(14,8)]" - }, - "resolved-link": { - "#10": "amf://id#10" - }, - "inherited-shapes": { - "#10": "amf://id#1" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/extends/data.editing.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/extends/data.editing.flattened.jsonld index f9afbfa988..13e40e29bd 100644 --- a/amf-cli/shared/src/test/resources/resolution/extends/data.editing.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/extends/data.editing.flattened.jsonld @@ -86,12 +86,12 @@ } ], "smaps": { - "parent-end-point": { - "#19": "amf://id#18" - }, "lexical": { "apiContract:path": "[(20,2)-(20,12)]", "#19": "[(20,2)-(27,21)]" + }, + "parent-end-point": { + "#19": "amf://id#18" } } }, @@ -130,12 +130,12 @@ } ], "smaps": { + "virtual-element": { + "#21": "true" + }, "lexical": { "apiContract:payload": "[(23,6)-(27,21)]", "#21": "[(23,11)-(27,21)]" - }, - "virtual-element": { - "#21": "true" } } }, @@ -191,12 +191,12 @@ "inheritance-provenance": { "shacl:name": "amf://id#10" }, - "inherited-shapes": { - "#23": "amf://id#10" - }, "lexical": { "#23": "[(24,8)-(27,21)]" }, + "inherited-shapes": { + "#23": "amf://id#10" + }, "type-property-lexical-info": { "#23": "[(25,10)-(25,14)]" }, @@ -228,12 +228,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(11,9)-(11,15)]", "#4": "[(11,6)-(12,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#1" } } }, @@ -260,12 +260,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#11": "amf://id#10" + }, "lexical": { "raml-shapes:range": "[(16,9)-(16,15)]", "#11": "[(16,6)-(17,0)]" - }, - "inheritance-provenance": { - "#11": "amf://id#10" } } }, @@ -321,12 +321,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(10,9)-(10,15)]", "#2": "[(10,6)-(11,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -353,12 +353,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#6": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(12,9)-(12,15)]", "#6": "[(12,6)-(13,0)]" - }, - "inheritance-provenance": { - "#6": "amf://id#1" } } }, @@ -385,12 +385,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#13": "amf://id#10" + }, "lexical": { "raml-shapes:range": "[(17,9)-(17,15)]", "#13": "[(17,6)-(18,0)]" - }, - "inheritance-provenance": { - "#13": "amf://id#10" } } }, @@ -576,21 +576,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#8" - }, "type-property-lexical-info": { "#1": "[(8,4)-(8,8)]" }, - "lexical": { - "shacl:name": "[(7,2)-(7,22)]", - "#1": "[(7,2)-(13,0)]" + "resolved-link": { + "#1": "amf://id#9" + }, + "resolved-link-target": { + "#1": "amf://id#8" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#9" + "lexical": { + "shacl:name": "[(7,2)-(7,22)]", + "#1": "[(7,2)-(13,0)]" } } }, @@ -626,6 +626,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#10": "[(14,4)-(14,8)]" + }, + "resolved-link": { + "#10": "amf://id#10" + }, + "inherited-shapes": { + "#10": "amf://id#1" + }, "resolved-link-target": { "#10": "amf://id#15" }, @@ -635,15 +644,6 @@ "lexical": { "shacl:name": "[(13,2)-(13,6)]", "#10": "[(13,2)-(18,0)]" - }, - "type-property-lexical-info": { - "#10": "[(14,4)-(14,8)]" - }, - "resolved-link": { - "#10": "amf://id#10" - }, - "inherited-shapes": { - "#10": "amf://id#1" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.editing.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.editing.expanded.jsonld index 71b9b18ced..20b1b3694d 100644 --- a/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.editing.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.editing.expanded.jsonld @@ -183,11 +183,11 @@ } ], "smaps": { - "auto-generated-name": { - "#16": "" - }, "lexical": { "#16": "[(16,10)-(16,27)]" + }, + "auto-generated-name": { + "#16": "" } } } @@ -384,19 +384,19 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#8" - }, - "declared-element": { - "#1": "" - }, "lexical": { "doc:dataNode": "[(5,4)-(9,0)]", "#1": "[(4,2)-(9,0)]", "core:name": "[(4,2)-(4,12)]" }, "resolved-link": { + "#1": "amf://id#8" + }, + "resolved-link-target": { "#1": "amf://id#7" + }, + "declared-element": { + "#1": "" } } } @@ -608,19 +608,19 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#8" - }, - "declared-element": { - "#1": "" - }, "lexical": { "doc:dataNode": "[(5,4)-(9,0)]", "#1": "[(4,2)-(9,0)]", "core:name": "[(4,2)-(4,12)]" }, "resolved-link": { + "#1": "amf://id#8" + }, + "resolved-link-target": { "#1": "amf://id#7" + }, + "declared-element": { + "#1": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.editing.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.editing.flattened.jsonld index f772c4817a..de72c66220 100644 --- a/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.editing.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.editing.flattened.jsonld @@ -155,19 +155,19 @@ "@id": "#2" }, "smaps": { - "resolved-link-target": { - "#1": "amf://id#8" - }, - "declared-element": { - "#1": "" - }, "lexical": { "doc:dataNode": "[(5,4)-(9,0)]", "#1": "[(4,2)-(9,0)]", "core:name": "[(4,2)-(4,12)]" }, "resolved-link": { + "#1": "amf://id#8" + }, + "resolved-link-target": { "#1": "amf://id#7" + }, + "declared-element": { + "#1": "" } } }, @@ -264,11 +264,11 @@ ], "shacl:name": "schema", "smaps": { - "auto-generated-name": { - "#16": "" - }, "lexical": { "#16": "[(16,10)-(16,27)]" + }, + "auto-generated-name": { + "#16": "" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml.expanded.jsonld index ef1ae8a081..29f0e9f4a4 100644 --- a/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml.expanded.jsonld @@ -278,9 +278,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -288,14 +288,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(16,10)-(16,27)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -303,7 +303,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(16,27)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml.flattened.jsonld index d4cf9408fd..38457f09c8 100644 --- a/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml.flattened.jsonld @@ -376,14 +376,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -398,14 +398,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,15)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,27)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml#/web-api/endpoint/%2Fproducts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,27)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/extends/simple-merge.raml", diff --git a/amf-cli/shared/src/test/resources/resolution/extension/traits/input.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/extension/traits/input.resolved.expanded.jsonld index 9d4f31f10e..a7c1e16c54 100644 --- a/amf-cli/shared/src/test/resources/resolution/extension/traits/input.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/extension/traits/input.resolved.expanded.jsonld @@ -140,19 +140,19 @@ } ], "smaps": { - "resolved-link-target": { - "#6": "amf://id#10" - }, - "declared-element": { - "#6": "" - }, "lexical": { "doc:dataNode": "[(8,4)-(10,0)]", "#6": "[(7,2)-(10,0)]", "core:name": "[(7,2)-(7,11)]" }, "resolved-link": { + "#6": "amf://id#10" + }, + "resolved-link-target": { "#6": "amf://id#9" + }, + "declared-element": { + "#6": "" } } } @@ -256,19 +256,19 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#5" - }, - "declared-element": { - "#1": "" - }, "lexical": { "doc:dataNode": "[(6,4)-(8,0)]", "#1": "[(5,2)-(8,0)]", "core:name": "[(5,2)-(5,6)]" }, "resolved-link": { + "#1": "amf://id#5" + }, + "resolved-link-target": { "#1": "amf://id#4" + }, + "declared-element": { + "#1": "" } } } @@ -395,19 +395,19 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#5" - }, - "declared-element": { - "#1": "" - }, "lexical": { "doc:dataNode": "[(6,4)-(8,0)]", "#1": "[(5,2)-(8,0)]", "core:name": "[(5,2)-(5,6)]" }, "resolved-link": { + "#1": "amf://id#5" + }, + "resolved-link-target": { "#1": "amf://id#4" + }, + "declared-element": { + "#1": "" } } }, @@ -481,19 +481,19 @@ } ], "smaps": { - "resolved-link-target": { - "#6": "amf://id#10" - }, - "declared-element": { - "#6": "" - }, "lexical": { "doc:dataNode": "[(8,4)-(10,0)]", "#6": "[(7,2)-(10,0)]", "core:name": "[(7,2)-(7,11)]" }, "resolved-link": { + "#6": "amf://id#10" + }, + "resolved-link-target": { "#6": "amf://id#9" + }, + "declared-element": { + "#6": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/extension/traits/input.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/extension/traits/input.resolved.flattened.jsonld index 72edf749c1..f1a6734e9f 100644 --- a/amf-cli/shared/src/test/resources/resolution/extension/traits/input.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/extension/traits/input.resolved.flattened.jsonld @@ -122,19 +122,19 @@ "@id": "#2" }, "smaps": { - "resolved-link-target": { - "#1": "amf://id#5" - }, - "declared-element": { - "#1": "" - }, "lexical": { "doc:dataNode": "[(6,4)-(8,0)]", "#1": "[(5,2)-(8,0)]", "core:name": "[(5,2)-(5,6)]" }, "resolved-link": { + "#1": "amf://id#5" + }, + "resolved-link-target": { "#1": "amf://id#4" + }, + "declared-element": { + "#1": "" } } }, @@ -150,19 +150,19 @@ "@id": "#7" }, "smaps": { - "resolved-link-target": { - "#6": "amf://id#10" - }, - "declared-element": { - "#6": "" - }, "lexical": { "doc:dataNode": "[(8,4)-(10,0)]", "#6": "[(7,2)-(10,0)]", "core:name": "[(7,2)-(7,11)]" }, "resolved-link": { + "#6": "amf://id#10" + }, + "resolved-link-target": { "#6": "amf://id#9" + }, + "declared-element": { + "#6": "" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml.expanded.jsonld index e7f9ef7e4e..bd9a2d1b35 100644 --- a/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml.expanded.jsonld @@ -603,9 +603,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1" @@ -613,35 +613,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(10,1)]" + "@value": "{\n \"Customer\": {\n \"name\": \"Bart\",\n \"lastName\": \"Simpson\",\n \"address\": {\n \"street\": \"evergreen\",\n \"number\": 123\n }\n }\n}" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/data#Customer" + "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,4)-(9,5)]" + "@value": "[(1,0)-(10,1)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1" + "@value": "http://a.ml/vocabularies/data#Customer" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "{\n \"Customer\": {\n \"name\": \"Bart\",\n \"lastName\": \"Simpson\",\n \"address\": {\n \"street\": \"evergreen\",\n \"number\": 123\n }\n }\n}" + "@value": "[(2,4)-(9,5)]" } ] } @@ -734,9 +734,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema" @@ -744,35 +744,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(7,6)-(8,48)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(8,48)]" + "@value": "[(8,8)-(8,48)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(8,48)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml.flattened.jsonld index 3707dc2c79..4fa3273688 100644 --- a/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml.flattened.jsonld @@ -246,11 +246,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/lexical/element_1" @@ -258,6 +253,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + } ] }, { @@ -306,11 +306,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema", @@ -321,6 +316,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,48)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/Customer", "@type": [ @@ -354,6 +354,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/source-map/lexical/element_1" @@ -361,11 +366,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" - } ] }, { @@ -478,6 +478,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1", + "http://a.ml/vocabularies/document-source-maps#value": "{\n \"Customer\": {\n \"name\": \"Bart\",\n \"lastName\": \"Simpson\",\n \"address\": {\n \"street\": \"evergreen\",\n \"number\": 123\n }\n }\n}" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1", @@ -488,11 +493,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#Customer", "http://a.ml/vocabularies/document-source-maps#value": "[(2,4)-(9,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "{\n \"Customer\": {\n \"name\": \"Bart\",\n \"lastName\": \"Simpson\",\n \"address\": {\n \"street\": \"evergreen\",\n \"number\": 123\n }\n }\n}" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/object_1/Customer/name_1/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml.expanded.jsonld index 988e2a58b2..4fd83e68aa 100644 --- a/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml.expanded.jsonld @@ -123,9 +123,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age" @@ -133,35 +133,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,20)-(13,26)]" + "@value": "[(12,16)-(14,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,16)-(14,17)]" + "@value": "[(13,20)-(13,36)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,20)-(13,36)]" + "@value": "[(13,20)-(13,26)]" } ] } @@ -229,9 +229,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root" @@ -239,35 +239,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,8)-(16,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root" + "@value": "http://www.w3.org/ns/shacl#closed" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,8)-(16,9)]" + "@value": "[(7,12)-(7,40)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#closed" + "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,12)-(7,40)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml.flattened.jsonld index d7fe6413aa..4e20c306df 100644 --- a/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml.flattened.jsonld @@ -254,11 +254,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/lexical/element_1" @@ -267,6 +262,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/type-property-lexical-info/element_0" @@ -318,11 +318,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root", @@ -333,6 +328,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "[(7,12)-(7,40)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root", @@ -348,11 +348,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age/source-map/lexical/element_1" @@ -360,6 +355,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -372,11 +372,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "[(9,16)-(9,21)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,20)-(13,26)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age", @@ -387,6 +382,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(13,20)-(13,36)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/root/property/property/age/scalar/age", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,20)-(13,26)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/jsonschema.raml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/externalfragment/test-links-with-references/api.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/externalfragment/test-links-with-references/api.resolved.expanded.jsonld index eac9e4acd5..5f7005e488 100644 --- a/amf-cli/shared/src/test/resources/resolution/externalfragment/test-links-with-references/api.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/externalfragment/test-links-with-references/api.resolved.expanded.jsonld @@ -357,12 +357,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#6": "[(6,6)-(6,12)]" - }, "lexical": { "shacl:datatype": "[(6,6)-(6,22)]", "#6": "[(5,4)-(7,5)]" + }, + "type-property-lexical-info": { + "#6": "[(6,6)-(6,12)]" } } } @@ -418,12 +418,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#8": "[(9,6)-(9,12)]" - }, "lexical": { "shacl:datatype": "[(9,6)-(9,22)]", "#8": "[(8,4)-(10,5)]" + }, + "type-property-lexical-info": { + "#8": "[(9,6)-(9,12)]" } } } @@ -508,12 +508,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#12": "[(15,10)-(15,16)]" - }, "lexical": { "shacl:datatype": "[(15,10)-(15,26)]", "#12": "[(14,8)-(16,9)]" + }, + "type-property-lexical-info": { + "#12": "[(15,10)-(15,16)]" } } } @@ -545,11 +545,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#10": "[(11,4)-(21,5)]" - }, "type-property-lexical-info": { "#10": "[(12,6)-(12,12)]" + }, + "lexical": { + "#10": "[(11,4)-(21,5)]" } } } @@ -586,21 +586,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#4": "amf://id#14" - }, "type-property-lexical-info": { "#4": "[(3,2)-(3,8)]" }, - "lexical": { - "shacl:name": "[(4,2)-(4,7)]", - "#4": "[(4,2)-(28,1)]" + "resolved-link": { + "#4": "amf://id#4" + }, + "resolved-link-target": { + "#4": "amf://id#13" }, "declared-element": { "#4": "" }, - "resolved-link-target": { - "#4": "amf://id#13" + "lexical": { + "shacl:name": "[(4,2)-(4,7)]", + "#4": "[(4,2)-(28,1)]" }, "parsed-json-schema": { "#4": "{\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"details\": {\n \"type\": \"object\",\n \"properties\": {\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"message\"\n ]\n }\n },\n \"required\": [\n \"status\",\n \"message\",\n \"details\"\n ]\n}" diff --git a/amf-cli/shared/src/test/resources/resolution/externalfragment/test-links-with-references/api.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/externalfragment/test-links-with-references/api.resolved.flattened.jsonld index 405afd4ec0..4bf2158112 100644 --- a/amf-cli/shared/src/test/resources/resolution/externalfragment/test-links-with-references/api.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/externalfragment/test-links-with-references/api.resolved.flattened.jsonld @@ -201,21 +201,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#4": "amf://id#14" - }, "type-property-lexical-info": { "#4": "[(3,2)-(3,8)]" }, - "lexical": { - "shacl:name": "[(4,2)-(4,7)]", - "#4": "[(4,2)-(28,1)]" + "resolved-link": { + "#4": "amf://id#4" + }, + "resolved-link-target": { + "#4": "amf://id#13" }, "declared-element": { "#4": "" }, - "resolved-link-target": { - "#4": "amf://id#13" + "lexical": { + "shacl:name": "[(4,2)-(4,7)]", + "#4": "[(4,2)-(28,1)]" }, "parsed-json-schema": { "#4": "{\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"details\": {\n \"type\": \"object\",\n \"properties\": {\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"message\"\n ]\n }\n },\n \"required\": [\n \"status\",\n \"message\",\n \"details\"\n ]\n}" @@ -313,12 +313,12 @@ ], "shacl:name": "status", "smaps": { - "type-property-lexical-info": { - "#6": "[(6,6)-(6,12)]" - }, "lexical": { "shacl:datatype": "[(6,6)-(6,22)]", "#6": "[(5,4)-(7,5)]" + }, + "type-property-lexical-info": { + "#6": "[(6,6)-(6,12)]" } } }, @@ -338,12 +338,12 @@ ], "shacl:name": "message", "smaps": { - "type-property-lexical-info": { - "#8": "[(9,6)-(9,12)]" - }, "lexical": { "shacl:datatype": "[(9,6)-(9,22)]", "#8": "[(8,4)-(10,5)]" + }, + "type-property-lexical-info": { + "#8": "[(9,6)-(9,12)]" } } }, @@ -367,11 +367,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#10": "[(11,4)-(21,5)]" - }, "type-property-lexical-info": { "#10": "[(12,6)-(12,12)]" + }, + "lexical": { + "#10": "[(11,4)-(21,5)]" } } }, @@ -416,12 +416,12 @@ ], "shacl:name": "message", "smaps": { - "type-property-lexical-info": { - "#12": "[(15,10)-(15,16)]" - }, "lexical": { "shacl:datatype": "[(15,10)-(15,26)]", "#12": "[(14,8)-(16,9)]" + }, + "type-property-lexical-info": { + "#12": "[(15,10)-(15,16)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml.expanded.jsonld index c321ae7e0f..203ea6c520 100644 --- a/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml.expanded.jsonld @@ -178,9 +178,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema" @@ -188,35 +188,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(7,6)-(8,47)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(8,47)]" + "@value": "[(8,8)-(8,47)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(8,47)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml.flattened.jsonld index d5a38a487d..8a62608841 100644 --- a/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml.flattened.jsonld @@ -243,11 +243,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/lexical/element_1" @@ -255,6 +250,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + } ] }, { @@ -286,11 +286,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema", @@ -301,6 +296,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,47)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlexample.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/any/schema/examples/example/default-example/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#strict", diff --git a/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml.expanded.jsonld index a6abc46de2..dbf60e9698 100644 --- a/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml.expanded.jsonld @@ -132,9 +132,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema" @@ -142,14 +142,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(7,49)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema" @@ -157,7 +157,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(7,6)-(7,49)]" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml.flattened.jsonld index 89de7c9347..9488c23cea 100644 --- a/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml.flattened.jsonld @@ -235,14 +235,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema/source-map/lexical/element_0" } ] }, @@ -262,14 +262,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(7,49)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml#/web-api/endpoint/%2Fendpoint/supportedOperation/get/expects/request/payload/application%2Fjson/schema/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(7,49)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/externalfragment/xmlschema.raml", diff --git a/amf-cli/shared/src/test/resources/resolution/jsonld-example/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/jsonld-example/api.expanded.jsonld index 8ff55c5176..c58f676c32 100644 --- a/amf-cli/shared/src/test/resources/resolution/jsonld-example/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/jsonld-example/api.expanded.jsonld @@ -204,11 +204,11 @@ } ], "smaps": { - "parsed-json-example": { - "#12": "[\n {\n \"@id\": \"http://0.0.0.0:8080/schema/1849102087946cd861839497ee0ea0f2#\"\n }\n]\n" - }, "lexical": { "#12": "[(1,0)-(5,1)]" + }, + "parsed-json-example": { + "#12": "[\n {\n \"@id\": \"http://0.0.0.0:8080/schema/1849102087946cd861839497ee0ea0f2#\"\n }\n]\n" } } } @@ -237,12 +237,12 @@ } ], "smaps": { - "auto-generated-name": { - "#10": "" - }, "lexical": { "apiContract:examples": "[(11,12)-(11,51)]", "#10": "[(10,10)-(11,51)]" + }, + "auto-generated-name": { + "#10": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/jsonld-example/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/jsonld-example/api.flattened.jsonld index 24c8a9817a..23ed3305ed 100644 --- a/amf-cli/shared/src/test/resources/resolution/jsonld-example/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/jsonld-example/api.flattened.jsonld @@ -147,12 +147,12 @@ } ], "smaps": { - "auto-generated-name": { - "#10": "" - }, "lexical": { "apiContract:examples": "[(11,12)-(11,51)]", "#10": "[(10,10)-(11,51)]" + }, + "auto-generated-name": { + "#10": "" } } }, @@ -199,11 +199,11 @@ ], "core:name": "array_1", "smaps": { - "parsed-json-example": { - "#12": "[\n {\n \"@id\": \"http://0.0.0.0:8080/schema/1849102087946cd861839497ee0ea0f2#\"\n }\n]\n" - }, "lexical": { "#12": "[(1,0)-(5,1)]" + }, + "parsed-json-example": { + "#12": "[\n {\n \"@id\": \"http://0.0.0.0:8080/schema/1849102087946cd861839497ee0ea0f2#\"\n }\n]\n" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/link-of-link/in-api/link-of-link-in-api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/link-of-link/in-api/link-of-link-in-api.expanded.jsonld index b3bccfae20..02e55fc136 100644 --- a/amf-cli/shared/src/test/resources/resolution/link-of-link/in-api/link-of-link-in-api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/link-of-link/in-api/link-of-link-in-api.expanded.jsonld @@ -200,22 +200,22 @@ } ], "smaps": { - "resolved-link-target": { - "#2": "amf://id#4" - }, - "declared-element": { - "#2": "" - }, "lexical": { "shacl:name": "[(4,2)-(4,18)]", "#2": "[(4,2)-(8,0)]", "shacl:closed": "[(6,4)-(8,0)]" }, - "type-property-lexical-info": { - "#2": "[(5,4)-(5,8)]" + "declared-element": { + "#2": "" }, - "resolved-link": { + "resolved-link-target": { "#2": "amf://id#3" + }, + "resolved-link": { + "#2": "amf://id#4" + }, + "type-property-lexical-info": { + "#2": "[(5,4)-(5,8)]" } } }, @@ -268,12 +268,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#7": "[(14,8)-(14,12)]" - }, "lexical": { "shacl:datatype": "[(14,8)-(14,20)]", "#7": "[(13,6)-(14,20)]" + }, + "type-property-lexical-info": { + "#7": "[(14,8)-(14,12)]" } } } @@ -309,28 +309,28 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#5": "amf://id#9" - }, - "declared-element": { - "#5": "" - }, - "lexical": { - "#5": "[(10,2)-(14,20)]" - }, "type-property-lexical-info": { "#5": "[(11,4)-(11,8)]" }, "resolved-link": { - "#5": "amf://id#8" + "#5": "amf://id#9" }, "inherited-shapes": { "#5": "amf://id#2" + }, + "resolved-link-target": { + "#5": "amf://id#8" + }, + "declared-element": { + "#5": "" + }, + "lexical": { + "#5": "[(10,2)-(14,20)]" } } }, { - "@id": "#9", + "@id": "#8", "@type": [ "shacl:NodeShape", "raml-shapes:AnyShape", @@ -378,12 +378,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#7": "[(14,8)-(14,12)]" - }, "lexical": { "shacl:datatype": "[(14,8)-(14,20)]", "#7": "[(13,6)-(14,20)]" + }, + "type-property-lexical-info": { + "#7": "[(14,8)-(14,12)]" } } } @@ -419,18 +419,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#8": "[(11,4)-(11,8)]" + }, + "inherited-shapes": { + "#8": "amf://id#2" + }, "declared-element": { - "#9": "" + "#8": "" }, "lexical": { "shacl:name": "[(10,2)-(10,12)]", - "#9": "[(10,2)-(14,20)]" - }, - "type-property-lexical-info": { - "#9": "[(11,4)-(11,8)]" - }, - "inherited-shapes": { - "#9": "amf://id#2" + "#8": "[(10,2)-(14,20)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/link-of-link/in-api/link-of-link-in-api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/link-of-link/in-api/link-of-link-in-api.flattened.jsonld index 8a2c9ed42a..8544d34888 100644 --- a/amf-cli/shared/src/test/resources/resolution/link-of-link/in-api/link-of-link-in-api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/link-of-link/in-api/link-of-link-in-api.flattened.jsonld @@ -128,23 +128,23 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#5": "amf://id#9" - }, - "declared-element": { - "#5": "" - }, - "lexical": { - "#5": "[(10,2)-(14,20)]" - }, "type-property-lexical-info": { "#5": "[(11,4)-(11,8)]" }, "resolved-link": { - "#5": "amf://id#8" + "#5": "amf://id#9" }, "inherited-shapes": { "#5": "amf://id#2" + }, + "resolved-link-target": { + "#5": "amf://id#8" + }, + "declared-element": { + "#5": "" + }, + "lexical": { + "#5": "[(10,2)-(14,20)]" } } }, @@ -193,12 +193,12 @@ ], "shacl:name": "identifier", "smaps": { - "type-property-lexical-info": { - "#7": "[(14,8)-(14,12)]" - }, "lexical": { "shacl:datatype": "[(14,8)-(14,20)]", "#7": "[(13,6)-(14,20)]" + }, + "type-property-lexical-info": { + "#7": "[(14,8)-(14,12)]" } } }, @@ -242,7 +242,7 @@ "@id": "#5" }, { - "@id": "#9" + "@id": "#8" } ], "doc:root": false, @@ -270,27 +270,27 @@ "shacl:closed": true, "shacl:name": "RestrictedObject", "smaps": { - "resolved-link-target": { - "#2": "amf://id#4" - }, - "declared-element": { - "#2": "" - }, "lexical": { "shacl:name": "[(4,2)-(4,18)]", "#2": "[(4,2)-(8,0)]", "shacl:closed": "[(6,4)-(8,0)]" }, - "type-property-lexical-info": { - "#2": "[(5,4)-(5,8)]" + "declared-element": { + "#2": "" }, - "resolved-link": { + "resolved-link-target": { "#2": "amf://id#3" + }, + "resolved-link": { + "#2": "amf://id#4" + }, + "type-property-lexical-info": { + "#2": "[(5,4)-(5,8)]" } } }, { - "@id": "#9", + "@id": "#8", "@type": [ "shacl:NodeShape", "raml-shapes:AnyShape", @@ -309,18 +309,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#8": "[(11,4)-(11,8)]" + }, + "inherited-shapes": { + "#8": "amf://id#2" + }, "declared-element": { - "#9": "" + "#8": "" }, "lexical": { "shacl:name": "[(10,2)-(10,12)]", - "#9": "[(10,2)-(14,20)]" - }, - "type-property-lexical-info": { - "#9": "[(11,4)-(11,8)]" - }, - "inherited-shapes": { - "#9": "amf://id#2" + "#8": "[(10,2)-(14,20)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link-of-link.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link-of-link.expanded.jsonld index 1844ba6dfb..9945908c0f 100644 --- a/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link-of-link.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link-of-link.expanded.jsonld @@ -59,22 +59,22 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(4,2)-(4,18)]", "#1": "[(4,2)-(8,0)]", "shacl:closed": "[(6,4)-(8,0)]" }, - "type-property-lexical-info": { - "#1": "[(5,4)-(5,8)]" + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "resolved-link": { "#1": "amf://id#2" + }, + "type-property-lexical-info": { + "#1": "[(5,4)-(5,8)]" } } }, @@ -127,12 +127,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(16,8)-(16,12)]" - }, "lexical": { "shacl:datatype": "[(16,8)-(16,20)]", "#5": "[(15,6)-(16,20)]" + }, + "type-property-lexical-info": { + "#5": "[(16,8)-(16,12)]" } } } @@ -168,15 +168,6 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#3": "amf://id#6" - }, - "declared-element": { - "#3": "" - }, - "lexical": { - "#3": "[(12,2)-(16,20)]" - }, "type-property-lexical-info": { "#3": "[(13,4)-(13,8)]" }, @@ -185,6 +176,15 @@ }, "inherited-shapes": { "#3": "amf://id#1" + }, + "resolved-link-target": { + "#3": "amf://id#6" + }, + "declared-element": { + "#3": "" + }, + "lexical": { + "#3": "[(12,2)-(16,20)]" } } }, @@ -237,12 +237,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(16,8)-(16,12)]" - }, "lexical": { "shacl:datatype": "[(16,8)-(16,20)]", "#5": "[(15,6)-(16,20)]" + }, + "type-property-lexical-info": { + "#5": "[(16,8)-(16,12)]" } } } @@ -278,15 +278,6 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#6": "amf://id#6" - }, - "declared-element": { - "#6": "" - }, - "lexical": { - "#6": "[(12,2)-(16,20)]" - }, "type-property-lexical-info": { "#6": "[(13,4)-(13,8)]" }, @@ -295,6 +286,15 @@ }, "inherited-shapes": { "#6": "amf://id#1" + }, + "resolved-link-target": { + "#6": "amf://id#6" + }, + "declared-element": { + "#6": "" + }, + "lexical": { + "#6": "[(12,2)-(16,20)]" } } }, @@ -347,12 +347,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(16,8)-(16,12)]" - }, "lexical": { "shacl:datatype": "[(16,8)-(16,20)]", "#5": "[(15,6)-(16,20)]" + }, + "type-property-lexical-info": { + "#5": "[(16,8)-(16,12)]" } } } @@ -388,18 +388,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#7": "[(13,4)-(13,8)]" + }, + "inherited-shapes": { + "#7": "amf://id#1" + }, "declared-element": { "#7": "" }, "lexical": { "shacl:name": "[(12,2)-(12,12)]", "#7": "[(12,2)-(16,20)]" - }, - "type-property-lexical-info": { - "#7": "[(13,4)-(13,8)]" - }, - "inherited-shapes": { - "#7": "amf://id#1" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link-of-link.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link-of-link.flattened.jsonld index fb300714a3..aab47c5e4e 100644 --- a/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link-of-link.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link-of-link.flattened.jsonld @@ -51,22 +51,22 @@ "shacl:closed": true, "shacl:name": "RestrictedObject", "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(4,2)-(4,18)]", "#1": "[(4,2)-(8,0)]", "shacl:closed": "[(6,4)-(8,0)]" }, - "type-property-lexical-info": { - "#1": "[(5,4)-(5,8)]" + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "resolved-link": { "#1": "amf://id#2" + }, + "type-property-lexical-info": { + "#1": "[(5,4)-(5,8)]" } } }, @@ -90,15 +90,6 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#3": "amf://id#6" - }, - "declared-element": { - "#3": "" - }, - "lexical": { - "#3": "[(12,2)-(16,20)]" - }, "type-property-lexical-info": { "#3": "[(13,4)-(13,8)]" }, @@ -107,6 +98,15 @@ }, "inherited-shapes": { "#3": "amf://id#1" + }, + "resolved-link-target": { + "#3": "amf://id#6" + }, + "declared-element": { + "#3": "" + }, + "lexical": { + "#3": "[(12,2)-(16,20)]" } } }, @@ -130,15 +130,6 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#6": "amf://id#6" - }, - "declared-element": { - "#6": "" - }, - "lexical": { - "#6": "[(12,2)-(16,20)]" - }, "type-property-lexical-info": { "#6": "[(13,4)-(13,8)]" }, @@ -147,6 +138,15 @@ }, "inherited-shapes": { "#6": "amf://id#1" + }, + "resolved-link-target": { + "#6": "amf://id#6" + }, + "declared-element": { + "#6": "" + }, + "lexical": { + "#6": "[(12,2)-(16,20)]" } } }, @@ -170,18 +170,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#7": "[(13,4)-(13,8)]" + }, + "inherited-shapes": { + "#7": "amf://id#1" + }, "declared-element": { "#7": "" }, "lexical": { "shacl:name": "[(12,2)-(12,12)]", "#7": "[(12,2)-(16,20)]" - }, - "type-property-lexical-info": { - "#7": "[(13,4)-(13,8)]" - }, - "inherited-shapes": { - "#7": "amf://id#1" } } }, @@ -230,12 +230,12 @@ ], "shacl:name": "identifier", "smaps": { - "type-property-lexical-info": { - "#5": "[(16,8)-(16,12)]" - }, "lexical": { "shacl:datatype": "[(16,8)-(16,20)]", "#5": "[(15,6)-(16,20)]" + }, + "type-property-lexical-info": { + "#5": "[(16,8)-(16,12)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link.expanded.jsonld index 2a5a28b9e5..d7533b2525 100644 --- a/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link.expanded.jsonld @@ -59,22 +59,22 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(4,2)-(4,18)]", "#1": "[(4,2)-(8,0)]", "shacl:closed": "[(6,4)-(8,0)]" }, - "type-property-lexical-info": { - "#1": "[(5,4)-(5,8)]" + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "resolved-link": { "#1": "amf://id#2" + }, + "type-property-lexical-info": { + "#1": "[(5,4)-(5,8)]" } } }, @@ -127,12 +127,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(14,8)-(14,12)]" - }, "lexical": { "shacl:datatype": "[(14,8)-(14,20)]", "#5": "[(13,6)-(14,20)]" + }, + "type-property-lexical-info": { + "#5": "[(14,8)-(14,12)]" } } } @@ -168,15 +168,6 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#3": "amf://id#6" - }, - "declared-element": { - "#3": "" - }, - "lexical": { - "#3": "[(10,2)-(14,20)]" - }, "type-property-lexical-info": { "#3": "[(11,4)-(11,8)]" }, @@ -185,6 +176,15 @@ }, "inherited-shapes": { "#3": "amf://id#1" + }, + "resolved-link-target": { + "#3": "amf://id#6" + }, + "declared-element": { + "#3": "" + }, + "lexical": { + "#3": "[(10,2)-(14,20)]" } } }, @@ -237,12 +237,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(14,8)-(14,12)]" - }, "lexical": { "shacl:datatype": "[(14,8)-(14,20)]", "#5": "[(13,6)-(14,20)]" + }, + "type-property-lexical-info": { + "#5": "[(14,8)-(14,12)]" } } } @@ -278,18 +278,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#6": "[(11,4)-(11,8)]" + }, + "inherited-shapes": { + "#6": "amf://id#1" + }, "declared-element": { "#6": "" }, "lexical": { "shacl:name": "[(10,2)-(10,12)]", "#6": "[(10,2)-(14,20)]" - }, - "type-property-lexical-info": { - "#6": "[(11,4)-(11,8)]" - }, - "inherited-shapes": { - "#6": "amf://id#1" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link.flattened.jsonld index f01c9a784b..c2b277b6b7 100644 --- a/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/link-of-link/link-of-link.flattened.jsonld @@ -48,22 +48,22 @@ "shacl:closed": true, "shacl:name": "RestrictedObject", "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(4,2)-(4,18)]", "#1": "[(4,2)-(8,0)]", "shacl:closed": "[(6,4)-(8,0)]" }, - "type-property-lexical-info": { - "#1": "[(5,4)-(5,8)]" + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "resolved-link": { "#1": "amf://id#2" + }, + "type-property-lexical-info": { + "#1": "[(5,4)-(5,8)]" } } }, @@ -87,15 +87,6 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#3": "amf://id#6" - }, - "declared-element": { - "#3": "" - }, - "lexical": { - "#3": "[(10,2)-(14,20)]" - }, "type-property-lexical-info": { "#3": "[(11,4)-(11,8)]" }, @@ -104,6 +95,15 @@ }, "inherited-shapes": { "#3": "amf://id#1" + }, + "resolved-link-target": { + "#3": "amf://id#6" + }, + "declared-element": { + "#3": "" + }, + "lexical": { + "#3": "[(10,2)-(14,20)]" } } }, @@ -127,18 +127,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#6": "[(11,4)-(11,8)]" + }, + "inherited-shapes": { + "#6": "amf://id#1" + }, "declared-element": { "#6": "" }, "lexical": { "shacl:name": "[(10,2)-(10,12)]", "#6": "[(10,2)-(14,20)]" - }, - "type-property-lexical-info": { - "#6": "[(11,4)-(11,8)]" - }, - "inherited-shapes": { - "#6": "amf://id#1" } } }, @@ -187,12 +187,12 @@ ], "shacl:name": "identifier", "smaps": { - "type-property-lexical-info": { - "#5": "[(14,8)-(14,12)]" - }, "lexical": { "shacl:datatype": "[(14,8)-(14,20)]", "#5": "[(13,6)-(14,20)]" + }, + "type-property-lexical-info": { + "#5": "[(14,8)-(14,12)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/link-of-link/middle-link-in-api/link-of-link-in-api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/link-of-link/middle-link-in-api/link-of-link-in-api.expanded.jsonld index 089f96e38f..4c5bc8583a 100644 --- a/amf-cli/shared/src/test/resources/resolution/link-of-link/middle-link-in-api/link-of-link-in-api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/link-of-link/middle-link-in-api/link-of-link-in-api.expanded.jsonld @@ -200,22 +200,22 @@ } ], "smaps": { - "resolved-link-target": { - "#2": "amf://id#4" - }, - "declared-element": { - "#2": "" - }, "lexical": { "shacl:name": "[(4,2)-(4,18)]", "#2": "[(4,2)-(8,0)]", "shacl:closed": "[(6,4)-(8,0)]" }, - "type-property-lexical-info": { - "#2": "[(5,4)-(5,8)]" + "declared-element": { + "#2": "" }, - "resolved-link": { + "resolved-link-target": { "#2": "amf://id#3" + }, + "resolved-link": { + "#2": "amf://id#4" + }, + "type-property-lexical-info": { + "#2": "[(5,4)-(5,8)]" } } }, @@ -268,12 +268,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#7": "[(16,8)-(16,12)]" - }, "lexical": { "shacl:datatype": "[(16,8)-(16,20)]", "#7": "[(15,6)-(16,20)]" + }, + "type-property-lexical-info": { + "#7": "[(16,8)-(16,12)]" } } } @@ -309,28 +309,28 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#5": "amf://id#9" - }, - "declared-element": { - "#5": "" - }, - "lexical": { - "#5": "[(12,2)-(16,20)]" - }, "type-property-lexical-info": { "#5": "[(13,4)-(13,8)]" }, "resolved-link": { - "#5": "amf://id#8" + "#5": "amf://id#9" }, "inherited-shapes": { "#5": "amf://id#2" + }, + "resolved-link-target": { + "#5": "amf://id#8" + }, + "declared-element": { + "#5": "" + }, + "lexical": { + "#5": "[(12,2)-(16,20)]" } } }, { - "@id": "#9", + "@id": "#8", "@type": [ "shacl:NodeShape", "raml-shapes:AnyShape", @@ -378,12 +378,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#7": "[(16,8)-(16,12)]" - }, "lexical": { "shacl:datatype": "[(16,8)-(16,20)]", "#7": "[(15,6)-(16,20)]" + }, + "type-property-lexical-info": { + "#7": "[(16,8)-(16,12)]" } } } @@ -419,23 +419,23 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#9": "amf://id#9" - }, - "declared-element": { - "#9": "" - }, - "lexical": { - "#9": "[(12,2)-(16,20)]" - }, "type-property-lexical-info": { - "#9": "[(13,4)-(13,8)]" + "#8": "[(13,4)-(13,8)]" }, "resolved-link": { - "#9": "amf://id#8" + "#8": "amf://id#9" }, "inherited-shapes": { - "#9": "amf://id#2" + "#8": "amf://id#2" + }, + "resolved-link-target": { + "#8": "amf://id#8" + }, + "declared-element": { + "#8": "" + }, + "lexical": { + "#8": "[(12,2)-(16,20)]" } } }, @@ -488,12 +488,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#7": "[(16,8)-(16,12)]" - }, "lexical": { "shacl:datatype": "[(16,8)-(16,20)]", "#7": "[(15,6)-(16,20)]" + }, + "type-property-lexical-info": { + "#7": "[(16,8)-(16,12)]" } } } @@ -529,18 +529,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#10": "[(13,4)-(13,8)]" + }, + "inherited-shapes": { + "#10": "amf://id#2" + }, "declared-element": { "#10": "" }, "lexical": { "shacl:name": "[(12,2)-(12,12)]", "#10": "[(12,2)-(16,20)]" - }, - "type-property-lexical-info": { - "#10": "[(13,4)-(13,8)]" - }, - "inherited-shapes": { - "#10": "amf://id#2" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/link-of-link/middle-link-in-api/link-of-link-in-api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/link-of-link/middle-link-in-api/link-of-link-in-api.flattened.jsonld index 7b9e5ce9c2..4b51e9622f 100644 --- a/amf-cli/shared/src/test/resources/resolution/link-of-link/middle-link-in-api/link-of-link-in-api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/link-of-link/middle-link-in-api/link-of-link-in-api.flattened.jsonld @@ -128,23 +128,23 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#5": "amf://id#9" - }, - "declared-element": { - "#5": "" - }, - "lexical": { - "#5": "[(12,2)-(16,20)]" - }, "type-property-lexical-info": { "#5": "[(13,4)-(13,8)]" }, "resolved-link": { - "#5": "amf://id#8" + "#5": "amf://id#9" }, "inherited-shapes": { "#5": "amf://id#2" + }, + "resolved-link-target": { + "#5": "amf://id#8" + }, + "declared-element": { + "#5": "" + }, + "lexical": { + "#5": "[(12,2)-(16,20)]" } } }, @@ -193,12 +193,12 @@ ], "shacl:name": "identifier", "smaps": { - "type-property-lexical-info": { - "#7": "[(16,8)-(16,12)]" - }, "lexical": { "shacl:datatype": "[(16,8)-(16,20)]", "#7": "[(15,6)-(16,20)]" + }, + "type-property-lexical-info": { + "#7": "[(16,8)-(16,12)]" } } }, @@ -242,7 +242,7 @@ "@id": "#5" }, { - "@id": "#9" + "@id": "#8" }, { "@id": "#10" @@ -273,27 +273,27 @@ "shacl:closed": true, "shacl:name": "RestrictedObject", "smaps": { - "resolved-link-target": { - "#2": "amf://id#4" - }, - "declared-element": { - "#2": "" - }, "lexical": { "shacl:name": "[(4,2)-(4,18)]", "#2": "[(4,2)-(8,0)]", "shacl:closed": "[(6,4)-(8,0)]" }, - "type-property-lexical-info": { - "#2": "[(5,4)-(5,8)]" + "declared-element": { + "#2": "" }, - "resolved-link": { + "resolved-link-target": { "#2": "amf://id#3" + }, + "resolved-link": { + "#2": "amf://id#4" + }, + "type-property-lexical-info": { + "#2": "[(5,4)-(5,8)]" } } }, { - "@id": "#9", + "@id": "#8", "@type": [ "shacl:NodeShape", "raml-shapes:AnyShape", @@ -312,23 +312,23 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#9": "amf://id#9" - }, - "declared-element": { - "#9": "" - }, - "lexical": { - "#9": "[(12,2)-(16,20)]" - }, "type-property-lexical-info": { - "#9": "[(13,4)-(13,8)]" + "#8": "[(13,4)-(13,8)]" }, "resolved-link": { - "#9": "amf://id#8" + "#8": "amf://id#9" }, "inherited-shapes": { - "#9": "amf://id#2" + "#8": "amf://id#2" + }, + "resolved-link-target": { + "#8": "amf://id#8" + }, + "declared-element": { + "#8": "" + }, + "lexical": { + "#8": "[(12,2)-(16,20)]" } } }, @@ -352,18 +352,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#10": "[(13,4)-(13,8)]" + }, + "inherited-shapes": { + "#10": "amf://id#2" + }, "declared-element": { "#10": "" }, "lexical": { "shacl:name": "[(12,2)-(12,12)]", "#10": "[(12,2)-(16,20)]" - }, - "type-property-lexical-info": { - "#10": "[(13,4)-(13,8)]" - }, - "inherited-shapes": { - "#10": "amf://id#2" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/avoid-extract-to-declares.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/avoid-extract-to-declares.expanded.jsonld index ed3d0deaf7..e2c33285d1 100644 --- a/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/avoid-extract-to-declares.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/avoid-extract-to-declares.expanded.jsonld @@ -123,14 +123,14 @@ } ], "smaps": { - "inherited-shapes": { - "#3": "amf://id#4" - }, "lexical": { "core:description": "[(8,8)-(10,0)]", "#3": "[(7,6)-(12,0)]", "shacl:datatype": "[(13,4)-(15,0)]" }, + "inherited-shapes": { + "#3": "amf://id#4" + }, "type-property-lexical-info": { "#3": "[(10,8)-(10,12)]" } @@ -152,12 +152,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(7,19)-(12,0)]", "#2": "[(7,6)-(12,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } } @@ -176,13 +176,13 @@ "inheritance-provenance": { "shacl:name": "amf://id#1" }, - "inherited-shapes": { - "#14": "amf://id#1" - }, "lexical": { "core:description": "[(20,8)-(20,42)]", "#14": "[(18,6)-(20,42)]" }, + "inherited-shapes": { + "#14": "amf://id#1" + }, "type-property-lexical-info": { "#14": "[(19,8)-(19,12)]" }, @@ -200,12 +200,12 @@ } ], "smaps": { + "virtual-element": { + "#12": "true" + }, "lexical": { "apiContract:payload": "[(17,4)-(20,42)]", "#12": "[(17,9)-(20,42)]" - }, - "virtual-element": { - "#12": "true" } } } @@ -316,14 +316,14 @@ } ], "smaps": { - "inherited-shapes": { - "#3": "amf://id#4" - }, "lexical": { "core:description": "[(8,8)-(10,0)]", "#3": "[(7,6)-(12,0)]", "shacl:datatype": "[(13,4)-(15,0)]" }, + "inherited-shapes": { + "#3": "amf://id#4" + }, "type-property-lexical-info": { "#3": "[(10,8)-(10,12)]" } @@ -345,12 +345,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(7,19)-(12,0)]", "#2": "[(7,6)-(12,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } } @@ -364,18 +364,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#5" + }, "resolved-link": { "#1": "amf://id#1" }, "lexical": { "shacl:name": "[(5,2)-(5,21)]", "#1": "[(5,2)-(12,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#5" } } }, @@ -399,22 +399,22 @@ } ], "smaps": { - "resolved-link-target": { - "#4": "amf://id#7" - }, - "declared-element": { - "#4": "" - }, "lexical": { "shacl:name": "[(12,2)-(12,31)]", "#4": "[(12,2)-(15,0)]", "shacl:datatype": "[(13,4)-(15,0)]" }, - "type-property-lexical-info": { - "#4": "[(13,4)-(13,8)]" + "declared-element": { + "#4": "" }, - "resolved-link": { + "resolved-link-target": { "#4": "amf://id#6" + }, + "resolved-link": { + "#4": "amf://id#7" + }, + "type-property-lexical-info": { + "#4": "[(13,4)-(13,8)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/avoid-extract-to-declares.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/avoid-extract-to-declares.flattened.jsonld index df4d01738a..2ae60f3322 100644 --- a/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/avoid-extract-to-declares.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/avoid-extract-to-declares.flattened.jsonld @@ -82,12 +82,12 @@ } ], "smaps": { + "virtual-element": { + "#12": "true" + }, "lexical": { "apiContract:payload": "[(17,4)-(20,42)]", "#12": "[(17,9)-(20,42)]" - }, - "virtual-element": { - "#12": "true" } } }, @@ -129,13 +129,13 @@ "inheritance-provenance": { "shacl:name": "amf://id#1" }, - "inherited-shapes": { - "#14": "amf://id#1" - }, "lexical": { "core:description": "[(20,8)-(20,42)]", "#14": "[(18,6)-(20,42)]" }, + "inherited-shapes": { + "#14": "amf://id#1" + }, "type-property-lexical-info": { "#14": "[(19,8)-(19,12)]" }, @@ -167,12 +167,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(7,19)-(12,0)]", "#2": "[(7,6)-(12,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -193,14 +193,14 @@ "shacl:name": "coRegistrant", "core:description": "The coregistrant of this product list.", "smaps": { - "inherited-shapes": { - "#3": "amf://id#4" - }, "lexical": { "core:description": "[(8,8)-(10,0)]", "#3": "[(7,6)-(12,0)]", "shacl:datatype": "[(13,4)-(15,0)]" }, + "inherited-shapes": { + "#3": "amf://id#4" + }, "type-property-lexical-info": { "#3": "[(10,8)-(10,12)]" } @@ -250,18 +250,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#5" + }, "resolved-link": { "#1": "amf://id#1" }, "lexical": { "shacl:name": "[(5,2)-(5,21)]", "#1": "[(5,2)-(12,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#5" } } }, @@ -281,22 +281,22 @@ ], "shacl:name": "CustomerProductListRegistrant", "smaps": { - "resolved-link-target": { - "#4": "amf://id#7" - }, - "declared-element": { - "#4": "" - }, "lexical": { "shacl:name": "[(12,2)-(12,31)]", "#4": "[(12,2)-(15,0)]", "shacl:datatype": "[(13,4)-(15,0)]" }, - "type-property-lexical-info": { - "#4": "[(13,4)-(13,8)]" + "declared-element": { + "#4": "" }, - "resolved-link": { + "resolved-link-target": { "#4": "amf://id#6" + }, + "resolved-link": { + "#4": "amf://id#7" + }, + "type-property-lexical-info": { + "#4": "[(13,4)-(13,8)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-default.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-default.expanded.jsonld index 2e41f1f670..90354569c1 100644 --- a/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-default.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-default.expanded.jsonld @@ -1033,9 +1033,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status" @@ -1043,35 +1043,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(6,12)]" + "@value": "[(5,4)-(7,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,4)-(7,5)]" + "@value": "[(6,6)-(6,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(6,22)]" + "@value": "[(6,6)-(6,12)]" } ] } @@ -1166,9 +1166,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message" @@ -1176,35 +1176,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(9,12)]" + "@value": "[(8,4)-(10,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,4)-(10,5)]" + "@value": "[(9,6)-(9,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(9,22)]" + "@value": "[(9,6)-(9,12)]" } ] } @@ -1302,9 +1302,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema" @@ -1312,14 +1312,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(43,10)-(16,1)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema" @@ -1327,7 +1327,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(43,10)-(16,1)]" } ] } @@ -2125,9 +2125,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type" @@ -2135,14 +2135,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(2,0)-(2,4)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#inline-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/inline-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type" @@ -2150,14 +2150,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,0)-(6,10)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type" @@ -2165,14 +2165,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,0)-(2,4)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#inline-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/inline-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type" @@ -2180,7 +2180,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(2,0)-(6,10)]" } ] } @@ -2391,9 +2391,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type" @@ -2401,35 +2401,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(10,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,15)]" + "@value": "[(5,2)-(10,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,2)-(5,15)]" } ] } @@ -2625,9 +2625,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A" @@ -2635,35 +2635,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(5,15)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(3,3)]" + "@value": "[(3,2)-(5,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(3,2)-(3,3)]" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-default.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-default.flattened.jsonld index 83ddf12ba5..1a1985208e 100644 --- a/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-default.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-default.flattened.jsonld @@ -960,14 +960,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/lexical/element_0" } ] }, @@ -1025,6 +1025,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/source-map/lexical/element_1" @@ -1032,11 +1037,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/source-map/declared-element/element_0" - } ] }, { @@ -1078,6 +1078,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/lexical/element_1" @@ -1085,11 +1090,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/declared-element/element_0" - } ] }, { @@ -1160,14 +1160,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ @@ -1315,14 +1315,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(2,0)-(2,4)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(2,0)-(6,10)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-data-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/type", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(2,0)-(6,10)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/property/property/declared/scalar/declared", @@ -1377,6 +1377,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type", "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(6,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type", @@ -1387,11 +1392,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fdeclared-type/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/declared-type", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/property/property/a/scalar/a", "@type": [ @@ -1440,6 +1440,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A", @@ -1450,11 +1455,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(3,3)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-lib/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/A", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status", "@type": [ @@ -1536,14 +1536,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(3,8)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(43,10)-(16,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(43,10)-(16,1)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/parsed-json-schema/element_0", @@ -1722,11 +1722,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status/source-map/lexical/element_1" @@ -1734,6 +1729,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1751,11 +1751,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message/source-map/lexical/element_1" @@ -1763,6 +1758,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1820,11 +1820,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(5,9)-(5,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(6,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status", @@ -1836,9 +1831,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(6,22)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(9,12)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/status/scalar/status", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(6,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message/source-map/lexical/element_1", @@ -1850,6 +1845,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(9,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml#/web-api/endpoint/%2Fexternal-fragment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/message/scalar/message", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(9,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs.raml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-editing.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-editing.expanded.jsonld index e873c07f2e..121c83ae8c 100644 --- a/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-editing.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-editing.expanded.jsonld @@ -560,12 +560,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#56": "[(6,6)-(6,12)]" - }, "lexical": { "shacl:datatype": "[(6,6)-(6,22)]", "#56": "[(5,4)-(7,5)]" + }, + "type-property-lexical-info": { + "#56": "[(6,6)-(6,12)]" } } } @@ -621,12 +621,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#58": "[(9,6)-(9,12)]" - }, "lexical": { "shacl:datatype": "[(9,6)-(9,22)]", "#58": "[(8,4)-(10,5)]" + }, + "type-property-lexical-info": { + "#58": "[(9,6)-(9,12)]" } } } @@ -666,12 +666,12 @@ "type-property-lexical-info": { "#54": "[(3,2)-(3,8)]" }, - "lexical": { - "#54": "[(43,10)-(16,1)]" - }, "auto-generated-name": { "#54": "" }, + "lexical": { + "#54": "[(43,10)-(16,1)]" + }, "parsed-json-schema": { "#54": "{\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"status\",\n \"message\"\n ]\n}" } @@ -881,18 +881,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#2": "" + }, + "resolved-link-target": { + "#2": "amf://id#5" + }, "resolved-link": { "#2": "amf://id#2" }, "lexical": { "shacl:name": "[(3,2)-(3,3)]", "#2": "[(3,2)-(5,15)]" - }, - "declared-element": { - "#2": "" - }, - "resolved-link-target": { - "#2": "amf://id#5" } } } @@ -997,12 +997,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#11": "[(14,6)-(14,10)]" - }, "lexical": { "shacl:datatype": "[(14,6)-(15,0)]", "#11": "[(13,4)-(15,0)]" + }, + "type-property-lexical-info": { + "#11": "[(14,6)-(14,10)]" } } } @@ -1067,12 +1067,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#13": "[(11,6)-(11,10)]" - }, "lexical": { "shacl:datatype": "[(11,6)-(12,0)]", "#13": "[(10,4)-(12,0)]" + }, + "type-property-lexical-info": { + "#13": "[(11,6)-(11,10)]" } } } @@ -1415,20 +1415,20 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#18": "amf://id#25" - }, "type-property-lexical-info": { "#18": "[(2,0)-(2,4)]" }, - "lexical": { - "#18": "[(2,0)-(6,10)]" + "resolved-link": { + "#18": "amf://id#26" + }, + "resolved-link-target": { + "#18": "amf://id#25" }, "auto-generated-name": { "#18": "" }, - "resolved-link-target": { - "#18": "amf://id#26" + "lexical": { + "#18": "[(2,0)-(6,10)]" } } } @@ -1601,21 +1601,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#30": "amf://id#30" - }, "type-property-lexical-info": { "#30": "[(6,4)-(6,8)]" }, - "lexical": { - "shacl:name": "[(5,2)-(5,15)]", - "#30": "[(5,2)-(10,0)]" + "resolved-link": { + "#30": "amf://id#30" + }, + "resolved-link-target": { + "#30": "amf://id#33" }, "declared-element": { "#30": "" }, - "resolved-link-target": { - "#30": "amf://id#33" + "lexical": { + "shacl:name": "[(5,2)-(5,15)]", + "#30": "[(5,2)-(10,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-editing.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-editing.flattened.jsonld index fb54c79048..690cb1cb53 100644 --- a/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-editing.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/links-to-declares-and-references/link-to-declares-and-refs-editing.flattened.jsonld @@ -430,20 +430,20 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#18": "amf://id#25" - }, "type-property-lexical-info": { "#18": "[(2,0)-(2,4)]" }, - "lexical": { - "#18": "[(2,0)-(6,10)]" + "resolved-link": { + "#18": "amf://id#26" + }, + "resolved-link-target": { + "#18": "amf://id#25" }, "auto-generated-name": { "#18": "" }, - "resolved-link-target": { - "#18": "amf://id#26" + "lexical": { + "#18": "[(2,0)-(6,10)]" } } }, @@ -467,21 +467,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#30": "amf://id#30" - }, "type-property-lexical-info": { "#30": "[(6,4)-(6,8)]" }, - "lexical": { - "shacl:name": "[(5,2)-(5,15)]", - "#30": "[(5,2)-(10,0)]" + "resolved-link": { + "#30": "amf://id#30" + }, + "resolved-link-target": { + "#30": "amf://id#33" }, "declared-element": { "#30": "" }, - "resolved-link-target": { - "#30": "amf://id#33" + "lexical": { + "shacl:name": "[(5,2)-(5,15)]", + "#30": "[(5,2)-(10,0)]" } } }, @@ -505,18 +505,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#2": "" + }, + "resolved-link-target": { + "#2": "amf://id#5" + }, "resolved-link": { "#2": "amf://id#2" }, "lexical": { "shacl:name": "[(3,2)-(3,3)]", "#2": "[(3,2)-(5,15)]" - }, - "declared-element": { - "#2": "" - }, - "resolved-link-target": { - "#2": "amf://id#5" } } }, @@ -551,12 +551,12 @@ "type-property-lexical-info": { "#54": "[(3,2)-(3,8)]" }, - "lexical": { - "#54": "[(43,10)-(16,1)]" - }, "auto-generated-name": { "#54": "" }, + "lexical": { + "#54": "[(43,10)-(16,1)]" + }, "parsed-json-schema": { "#54": "{\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"status\",\n \"message\"\n ]\n}" } @@ -876,12 +876,12 @@ ], "shacl:name": "status", "smaps": { - "type-property-lexical-info": { - "#56": "[(6,6)-(6,12)]" - }, "lexical": { "shacl:datatype": "[(6,6)-(6,22)]", "#56": "[(5,4)-(7,5)]" + }, + "type-property-lexical-info": { + "#56": "[(6,6)-(6,12)]" } } }, @@ -901,12 +901,12 @@ ], "shacl:name": "message", "smaps": { - "type-property-lexical-info": { - "#58": "[(9,6)-(9,12)]" - }, "lexical": { "shacl:datatype": "[(9,6)-(9,22)]", "#58": "[(8,4)-(10,5)]" + }, + "type-property-lexical-info": { + "#58": "[(9,6)-(9,12)]" } } }, @@ -1216,12 +1216,12 @@ ], "shacl:name": "schema", "smaps": { - "type-property-lexical-info": { - "#11": "[(14,6)-(14,10)]" - }, "lexical": { "shacl:datatype": "[(14,6)-(15,0)]", "#11": "[(13,4)-(15,0)]" + }, + "type-property-lexical-info": { + "#11": "[(14,6)-(14,10)]" } } }, @@ -1241,12 +1241,12 @@ ], "shacl:name": "schema", "smaps": { - "type-property-lexical-info": { - "#13": "[(11,6)-(11,10)]" - }, "lexical": { "shacl:datatype": "[(11,6)-(12,0)]", "#13": "[(10,4)-(12,0)]" + }, + "type-property-lexical-info": { + "#13": "[(11,6)-(11,10)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override-oas-target.json.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override-oas-target.json.expanded.jsonld index a83a10e1a0..889ba41554 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override-oas-target.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override-oas-target.json.expanded.jsonld @@ -138,9 +138,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one" @@ -148,35 +148,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,16)-(21,22)]" + "@value": "[(20,14)-(22,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,14)-(22,15)]" + "@value": "[(21,16)-(21,33)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,16)-(21,33)]" + "@value": "[(21,16)-(21,22)]" } ] } @@ -273,9 +273,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two" @@ -283,35 +283,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,16)-(24,22)]" + "@value": "[(23,14)-(25,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,14)-(25,15)]" + "@value": "[(24,16)-(24,32)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,16)-(24,32)]" + "@value": "[(24,16)-(24,22)]" } ] } @@ -411,9 +411,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/parameter-binding-in-body-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne" @@ -421,35 +421,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,10)-(27,11)]" + "@value": "[(28,10)-(28,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(16,27)]" + "@value": "[(17,10)-(27,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/parameter-binding-in-body-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,10)-(28,22)]" + "@value": "[(16,10)-(16,27)]" } ] } @@ -464,9 +464,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml" @@ -474,14 +474,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(15,8)-(29,9)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml" @@ -489,7 +489,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,8)-(29,9)]" + "@value": "true" } ] } @@ -563,9 +563,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" @@ -573,35 +573,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(38,12)-(40,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(38,12)-(40,13)]" + "@value": "[(39,14)-(39,30)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,14)-(39,30)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override-oas-target.json.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override-oas-target.json.flattened.jsonld index 4d1ffeb016..7b5bc1bf9d 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override-oas-target.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override-oas-target.json.flattened.jsonld @@ -267,14 +267,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0" } ] }, @@ -388,6 +388,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/parameter-binding-in-body-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/lexical/element_1" @@ -395,33 +400,23 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/parameter-binding-in-body-lexical-info/element_0" - } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(29,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(29,9)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1" @@ -430,6 +425,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/type-property-lexical-info/element_0" @@ -525,6 +525,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne", "http://a.ml/vocabularies/document-source-maps#value": "[(18,12)-(18,18)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne", @@ -535,16 +540,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,27)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,22)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", @@ -555,6 +550,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(39,14)-(39,30)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", @@ -565,11 +565,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/lexical/element_1" @@ -577,6 +572,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -594,11 +594,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/lexical/element_1" @@ -606,6 +601,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -618,11 +618,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two", "http://a.ml/vocabularies/document-source-maps#value": "[(23,14)-(25,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one", - "http://a.ml/vocabularies/document-source-maps#value": "[(21,16)-(21,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one", @@ -634,9 +629,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(21,16)-(21,33)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,16)-(24,22)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one", + "http://a.ml/vocabularies/document-source-maps#value": "[(21,16)-(21,22)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/lexical/element_1", @@ -648,6 +643,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(24,16)-(24,32)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two", + "http://a.ml/vocabularies/document-source-maps#value": "[(24,16)-(24,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json.expanded.jsonld index 814e13acfb..b61064a73c 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json.expanded.jsonld @@ -128,9 +128,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one" @@ -138,35 +138,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,16)-(21,22)]" + "@value": "[(20,14)-(22,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,14)-(22,15)]" + "@value": "[(21,16)-(21,33)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,16)-(21,33)]" + "@value": "[(21,16)-(21,22)]" } ] } @@ -263,9 +263,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two" @@ -273,35 +273,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,16)-(24,22)]" + "@value": "[(23,14)-(25,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,14)-(25,15)]" + "@value": "[(24,16)-(24,32)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,16)-(24,32)]" + "@value": "[(24,16)-(24,22)]" } ] } @@ -401,9 +401,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/parameter-binding-in-body-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne" @@ -411,35 +411,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,10)-(27,11)]" + "@value": "[(28,10)-(28,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(16,27)]" + "@value": "[(17,10)-(27,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/parameter-binding-in-body-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,10)-(28,22)]" + "@value": "[(16,10)-(16,27)]" } ] } @@ -454,9 +454,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml" @@ -464,14 +464,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(15,8)-(29,9)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml" @@ -479,7 +479,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,8)-(29,9)]" + "@value": "true" } ] } @@ -553,9 +553,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" @@ -563,35 +563,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(38,12)-(40,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(38,12)-(40,13)]" + "@value": "[(39,14)-(39,30)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,14)-(39,30)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json.flattened.jsonld index b6ebf2784b..5d7e2f291e 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json.flattened.jsonld @@ -261,14 +261,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0" } ] }, @@ -382,6 +382,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/parameter-binding-in-body-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/lexical/element_1" @@ -389,33 +394,23 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/parameter-binding-in-body-lexical-info/element_0" - } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(29,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(29,9)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1" @@ -424,6 +419,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/type-property-lexical-info/element_0" @@ -519,6 +519,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne", "http://a.ml/vocabularies/document-source-maps#value": "[(18,12)-(18,18)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne", @@ -529,16 +534,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,27)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,22)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", @@ -549,6 +544,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(39,14)-(39,30)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", @@ -559,11 +559,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/lexical/element_1" @@ -571,6 +566,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -588,11 +588,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/lexical/element_1" @@ -600,6 +595,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -612,11 +612,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two", "http://a.ml/vocabularies/document-source-maps#value": "[(23,14)-(25,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one", - "http://a.ml/vocabularies/document-source-maps#value": "[(21,16)-(21,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one", @@ -628,9 +623,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(21,16)-(21,33)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,16)-(24,22)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/one/scalar/one", + "http://a.ml/vocabularies/document-source-maps#value": "[(21,16)-(21,22)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/lexical/element_1", @@ -642,6 +637,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(24,16)-(24,32)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/bodyOne/shape/bodyOne/property/property/two/scalar/two", + "http://a.ml/vocabularies/document-source-maps#value": "[(24,16)-(24,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.json", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml.expanded.jsonld index c56d1bfd39..74f53b0db9 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml.expanded.jsonld @@ -466,9 +466,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default" @@ -476,14 +476,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(14,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default" @@ -491,7 +491,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,6)-(14,0)]" } ] } @@ -608,9 +608,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" @@ -618,35 +618,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(16,10)-(16,22)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(16,22)]" + "@value": "[(16,16)-(16,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,16)-(16,22)]" + "@value": "" } ] } @@ -749,9 +749,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one" @@ -759,35 +759,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero" + "@value": "[(5,2)-(16,22)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(16,22)]" + "@value": "[(5,2)-(5,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,12)]" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml.flattened.jsonld index 38eab039fc..10210c3bf3 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml.flattened.jsonld @@ -120,11 +120,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_1" @@ -132,6 +127,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0" + } ] }, { @@ -208,11 +208,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one", @@ -223,6 +218,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/application%2Fxml", "@type": [ @@ -430,14 +430,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0" } ] }, @@ -451,11 +451,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1" @@ -463,6 +458,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" + } ] }, { @@ -566,20 +566,15 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default", "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(10,12)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(14,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default", "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(14,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", @@ -591,6 +586,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(16,16)-(16,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type-override.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/property/property/one/scalar/one/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/media-type.json.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/media-type.json.expanded.jsonld index cb24d0eaa0..3e1d55e369 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/media-type.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/media-type.json.expanded.jsonld @@ -128,9 +128,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one" @@ -138,35 +138,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,16)-(21,22)]" + "@value": "[(20,14)-(22,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,14)-(22,15)]" + "@value": "[(21,16)-(21,33)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,16)-(21,33)]" + "@value": "[(21,16)-(21,22)]" } ] } @@ -263,9 +263,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two" @@ -273,35 +273,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,16)-(24,22)]" + "@value": "[(23,14)-(25,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,14)-(25,15)]" + "@value": "[(24,16)-(24,32)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,16)-(24,32)]" + "@value": "[(24,16)-(24,22)]" } ] } @@ -401,9 +401,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/source-map/parameter-binding-in-body-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName" @@ -411,35 +411,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,10)-(27,11)]" + "@value": "[(28,10)-(28,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(16,26)]" + "@value": "[(17,10)-(27,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/source-map/parameter-binding-in-body-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,10)-(28,22)]" + "@value": "[(16,10)-(16,26)]" } ] } @@ -454,9 +454,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/body-parameter/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson" @@ -464,14 +464,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(15,8)-(29,9)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/body-parameter/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson" @@ -479,7 +479,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,8)-(29,9)]" + "@value": "true" } ] } @@ -553,9 +553,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" @@ -563,35 +563,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(35,12)-(37,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,12)-(37,13)]" + "@value": "[(36,14)-(36,30)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,14)-(36,30)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/media-type.json.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/media-type.json.flattened.jsonld index b6a709317f..2b0cccc5b0 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/media-type.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/media-type.json.flattened.jsonld @@ -261,14 +261,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/body-parameter/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/body-parameter/element_0" } ] }, @@ -382,6 +382,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/source-map/parameter-binding-in-body-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/source-map/lexical/element_1" @@ -389,33 +394,23 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/source-map/parameter-binding-in-body-lexical-info/element_0" - } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/body-parameter/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(29,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/body-parameter/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(29,9)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1" @@ -424,6 +419,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/type-property-lexical-info/element_0" @@ -519,6 +519,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName", "http://a.ml/vocabularies/document-source-maps#value": "[(18,12)-(18,18)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName", @@ -529,16 +534,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,26)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,22)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", @@ -549,6 +544,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(36,14)-(36,30)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", @@ -559,11 +559,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one/source-map/lexical/element_1" @@ -571,6 +566,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -588,11 +588,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two/source-map/lexical/element_1" @@ -600,6 +595,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -612,11 +612,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two", "http://a.ml/vocabularies/document-source-maps#value": "[(23,14)-(25,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one", - "http://a.ml/vocabularies/document-source-maps#value": "[(21,16)-(21,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one", @@ -628,9 +623,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(21,16)-(21,33)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,16)-(24,22)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/one/scalar/one", + "http://a.ml/vocabularies/document-source-maps#value": "[(21,16)-(21,22)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two/source-map/lexical/element_1", @@ -642,6 +637,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(24,16)-(24,32)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myName/shape/myName/property/property/two/scalar/two", + "http://a.ml/vocabularies/document-source-maps#value": "[(24,16)-(24,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.json", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml.expanded.jsonld index fd73373b34..9d2e95038f 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml.expanded.jsonld @@ -466,9 +466,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default" @@ -476,14 +476,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(12,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default" @@ -491,7 +491,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(7,6)-(12,0)]" } ] } @@ -608,9 +608,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" @@ -618,35 +618,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(14,10)-(14,22)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,10)-(14,22)]" + "@value": "[(14,16)-(14,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,16)-(14,22)]" + "@value": "" } ] } @@ -749,9 +749,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one" @@ -759,35 +759,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero" + "@value": "[(5,2)-(14,22)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(14,22)]" + "@value": "[(5,2)-(5,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,12)]" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml.flattened.jsonld index 53890ca8f7..57d40736e3 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml.flattened.jsonld @@ -120,11 +120,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_1" @@ -132,6 +127,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0" + } ] }, { @@ -208,11 +208,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one", @@ -223,6 +218,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/application%2Fjson", "@type": [ @@ -430,14 +430,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0" } ] }, @@ -451,11 +451,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1" @@ -463,6 +458,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" + } ] }, { @@ -566,20 +566,15 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default", "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,12)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(12,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default", "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(12,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", @@ -591,6 +586,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(14,16)-(14,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-type.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/property/property/one/scalar/one/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/media-types.json.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/media-types.json.expanded.jsonld index 77c1662e6f..00a6d898aa 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/media-types.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/media-types.json.expanded.jsonld @@ -128,9 +128,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one" @@ -138,35 +138,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,16)-(23,22)]" + "@value": "[(22,14)-(24,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,14)-(24,15)]" + "@value": "[(23,16)-(23,33)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,16)-(23,33)]" + "@value": "[(23,16)-(23,22)]" } ] } @@ -263,9 +263,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two" @@ -273,35 +273,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,16)-(26,22)]" + "@value": "[(25,14)-(27,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,14)-(27,15)]" + "@value": "[(26,16)-(26,32)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,16)-(26,32)]" + "@value": "[(26,16)-(26,22)]" } ] } @@ -401,9 +401,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/parameter-binding-in-body-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName" @@ -411,35 +411,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,10)-(29,11)]" + "@value": "[(30,10)-(30,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,10)-(18,31)]" + "@value": "[(19,10)-(29,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/parameter-binding-in-body-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,10)-(30,22)]" + "@value": "[(18,10)-(18,31)]" } ] } @@ -454,9 +454,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/body-parameter/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson" @@ -464,14 +464,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(17,8)-(31,9)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/body-parameter/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson" @@ -479,7 +479,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(31,9)]" + "@value": "true" } ] } @@ -559,9 +559,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one" @@ -569,35 +569,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,16)-(23,22)]" + "@value": "[(22,14)-(24,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,14)-(24,15)]" + "@value": "[(23,16)-(23,33)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,16)-(23,33)]" + "@value": "[(23,16)-(23,22)]" } ] } @@ -694,9 +694,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two" @@ -704,35 +704,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,16)-(26,22)]" + "@value": "[(25,14)-(27,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,14)-(27,15)]" + "@value": "[(26,16)-(26,32)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,16)-(26,32)]" + "@value": "[(26,16)-(26,22)]" } ] } @@ -832,9 +832,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/parameter-binding-in-body-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName" @@ -842,35 +842,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,10)-(29,11)]" + "@value": "[(30,10)-(30,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,10)-(18,31)]" + "@value": "[(19,10)-(29,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/parameter-binding-in-body-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,10)-(30,22)]" + "@value": "[(18,10)-(18,31)]" } ] } @@ -885,9 +885,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml" @@ -895,14 +895,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(17,8)-(31,9)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml" @@ -910,7 +910,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(31,9)]" + "@value": "true" } ] } @@ -984,9 +984,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" @@ -994,35 +994,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(37,12)-(39,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,12)-(39,13)]" + "@value": "[(38,14)-(38,30)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(38,14)-(38,30)]" + "@value": "" } ] } @@ -1108,9 +1108,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" @@ -1118,35 +1118,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(37,12)-(39,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,12)-(39,13)]" + "@value": "[(38,14)-(38,30)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(38,14)-(38,30)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/media-types.json.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/media-types.json.flattened.jsonld index f9232e5df2..29826f34b9 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/media-types.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/media-types.json.flattened.jsonld @@ -302,14 +302,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/body-parameter/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/body-parameter/element_0" } ] }, @@ -318,14 +318,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0" } ] }, @@ -450,6 +450,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/parameter-binding-in-body-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/lexical/element_1" @@ -457,26 +462,16 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/parameter-binding-in-body-lexical-info/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson", "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(31,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fjson", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { @@ -484,16 +479,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml", "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(31,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/request/application%2Fxml", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1" @@ -502,6 +497,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/type-property-lexical-info/element_0" @@ -602,6 +602,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName", "http://a.ml/vocabularies/document-source-maps#value": "[(20,12)-(20,18)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(30,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName", @@ -612,16 +617,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(18,10)-(18,31)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(30,22)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", @@ -632,6 +627,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(38,14)-(38,30)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", @@ -642,11 +642,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/lexical/element_1" @@ -654,6 +649,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -671,11 +671,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/lexical/element_1" @@ -683,6 +678,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -695,11 +695,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two", "http://a.ml/vocabularies/document-source-maps#value": "[(25,14)-(27,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one", - "http://a.ml/vocabularies/document-source-maps#value": "[(23,16)-(23,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one", @@ -711,9 +706,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(23,16)-(23,33)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two", - "http://a.ml/vocabularies/document-source-maps#value": "[(26,16)-(26,22)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/one/scalar/one", + "http://a.ml/vocabularies/document-source-maps#value": "[(23,16)-(23,22)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/lexical/element_1", @@ -725,6 +720,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(26,16)-(26,32)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json#/web-api/endpoint/%2Flevelzero%2Flevel-one/payload/myOtherName/shape/myOtherName/property/property/two/scalar/two", + "http://a.ml/vocabularies/document-source-maps#value": "[(26,16)-(26,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.json", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml.expanded.jsonld index 496b27c0a0..b44344d0e0 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml.expanded.jsonld @@ -466,9 +466,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default" @@ -476,14 +476,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(14,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default" @@ -491,7 +491,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,6)-(14,0)]" } ] } @@ -886,9 +886,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default" @@ -896,14 +896,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(14,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default" @@ -911,7 +911,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,6)-(14,0)]" } ] } @@ -1028,9 +1028,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" @@ -1038,35 +1038,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(16,10)-(16,22)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(16,22)]" + "@value": "[(16,16)-(16,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,16)-(16,22)]" + "@value": "" } ] } @@ -1137,9 +1137,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" @@ -1147,35 +1147,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(16,10)-(16,22)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(16,22)]" + "@value": "[(16,16)-(16,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,16)-(16,22)]" + "@value": "" } ] } @@ -1278,9 +1278,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one" @@ -1288,35 +1288,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero" + "@value": "[(7,2)-(16,22)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(16,22)]" + "@value": "[(7,2)-(7,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(7,12)]" + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml.flattened.jsonld index 4d65deee58..bd255b30a1 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml.flattened.jsonld @@ -120,11 +120,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_1" @@ -132,6 +127,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0" + } ] }, { @@ -214,11 +214,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one", @@ -229,6 +224,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/application%2Fjson", "@type": [ @@ -492,14 +492,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0" } ] }, @@ -518,11 +518,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1" @@ -530,6 +525,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" + } ] }, { @@ -638,20 +638,15 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default", "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(10,12)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(14,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default", "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(14,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", @@ -663,6 +658,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(16,16)-(16,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/default/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/media-types.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/default/shape/default/property/property/one/scalar/one/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml.expanded.jsonld index 93b473c789..48a334a0f6 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml.expanded.jsonld @@ -191,9 +191,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default" @@ -201,14 +201,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,8)-(27,21)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default" @@ -216,7 +216,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(26,8)-(27,21)]" } ] } @@ -402,9 +402,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default" @@ -412,14 +412,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(19,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default" @@ -427,7 +427,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(16,10)-(19,0)]" } ] } @@ -505,21 +505,6 @@ "@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/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0" - } - ], - "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/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_3", @@ -573,6 +558,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -917,9 +917,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default" @@ -927,14 +927,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(19,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default" @@ -942,7 +942,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(16,10)-(19,0)]" } ] } @@ -1020,21 +1020,6 @@ "@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/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0" - } - ], - "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/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_3", @@ -1088,6 +1073,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml.flattened.jsonld index 22642e47ed..8ab9e55582 100644 --- a/amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml.flattened.jsonld @@ -404,14 +404,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/lexical/element_0" } ] }, @@ -447,11 +447,6 @@ "@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/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_3" @@ -465,6 +460,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0" + } ] }, { @@ -478,14 +478,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(26,8)-(27,21)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/returns/resp/200/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(26,8)-(27,21)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/application%2Fjson", @@ -518,11 +518,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -543,6 +538,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0", "http://a.ml/vocabularies/document-source-maps#value": "[(10,2)-(19,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default", "@type": [ @@ -591,14 +591,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/lexical/element_0" } ] }, @@ -613,14 +613,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(19,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml#/web-api/endpoint/%2Fpets/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(19,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/media-type/security-scheme-use-global-mediatype.raml", diff --git a/amf-cli/shared/src/test/resources/resolution/merge-inherits-json-schema-fragments/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/merge-inherits-json-schema-fragments/api.expanded.jsonld index 36d549a8a9..ad02f1c95b 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge-inherits-json-schema-fragments/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge-inherits-json-schema-fragments/api.expanded.jsonld @@ -133,12 +133,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#33": "[(17,10)-(17,16)]" - }, "lexical": { "shacl:datatype": "[(17,10)-(17,26)]", "#33": "[(16,8)-(18,9)]" + }, + "type-property-lexical-info": { + "#33": "[(17,10)-(17,16)]" } } } @@ -196,12 +196,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#35": "[(9,10)-(9,16)]" - }, "lexical": { "shacl:datatype": "[(9,10)-(9,26)]", "#35": "[(8,8)-(10,9)]" + }, + "type-property-lexical-info": { + "#35": "[(9,10)-(9,16)]" } } } @@ -240,17 +240,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "declared-element": { - "#30": "" - }, - "lexical": { - "#30": "[(13,4)-(20,5)]" - }, "type-property-lexical-info": { "#30": "[(14,6)-(14,12)]" }, "external-fragment-ref": { "#30": "Animal" + }, + "declared-element": { + "#30": "" + }, + "lexical": { + "#30": "[(13,4)-(20,5)]" } } } @@ -451,19 +451,19 @@ } ], "smaps": { - "resolved-link-target": { - "#14": "amf://id#22" - }, - "declared-element": { - "#14": "" - }, "lexical": { "doc:dataNode": "[(7,4)-(13,0)]", "#14": "[(6,2)-(13,0)]", "core:name": "[(6,2)-(6,9)]" }, "resolved-link": { + "#14": "amf://id#22" + }, + "resolved-link-target": { "#14": "amf://id#21" + }, + "declared-element": { + "#14": "" } } } @@ -598,12 +598,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#33": "[(17,10)-(17,16)]" - }, "lexical": { "shacl:datatype": "[(17,10)-(17,26)]", "#33": "[(16,8)-(18,9)]" + }, + "type-property-lexical-info": { + "#33": "[(17,10)-(17,16)]" } } } @@ -661,12 +661,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#43": "[(9,10)-(9,16)]" - }, "lexical": { "shacl:datatype": "[(9,10)-(9,26)]", "#43": "[(8,8)-(10,9)]" + }, + "type-property-lexical-info": { + "#43": "[(9,10)-(9,16)]" } } } @@ -708,11 +708,11 @@ "type-property-lexical-info": { "#41": "[(14,6)-(14,12)]" }, - "lexical": { - "#41": "[(13,4)-(20,5)]" - }, "declared-element": { "#41": "" + }, + "lexical": { + "#41": "[(13,4)-(20,5)]" } } } @@ -945,19 +945,19 @@ } ], "smaps": { - "resolved-link-target": { - "#4": "amf://id#13" - }, - "declared-element": { - "#4": "" - }, "lexical": { "doc:dataNode": "[(15,4)-(23,0)]", "#4": "[(14,2)-(23,0)]", "core:name": "[(14,2)-(14,6)]" }, "resolved-link": { + "#4": "amf://id#13" + }, + "resolved-link-target": { "#4": "amf://id#12" + }, + "declared-element": { + "#4": "" } } } @@ -1259,19 +1259,19 @@ } ], "smaps": { - "resolved-link-target": { - "#4": "amf://id#13" - }, - "declared-element": { - "#4": "" - }, "lexical": { "doc:dataNode": "[(15,4)-(23,0)]", "#4": "[(14,2)-(23,0)]", "core:name": "[(14,2)-(14,6)]" }, "resolved-link": { + "#4": "amf://id#13" + }, + "resolved-link-target": { "#4": "amf://id#12" + }, + "declared-element": { + "#4": "" } } }, @@ -1442,19 +1442,19 @@ } ], "smaps": { - "resolved-link-target": { - "#14": "amf://id#22" - }, - "declared-element": { - "#14": "" - }, "lexical": { "doc:dataNode": "[(7,4)-(13,0)]", "#14": "[(6,2)-(13,0)]", "core:name": "[(6,2)-(6,9)]" }, "resolved-link": { + "#14": "amf://id#22" + }, + "resolved-link-target": { "#14": "amf://id#21" + }, + "declared-element": { + "#14": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/merge-inherits-json-schema-fragments/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/merge-inherits-json-schema-fragments/api.flattened.jsonld index 8ca4ca81d7..0a7861074a 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge-inherits-json-schema-fragments/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge-inherits-json-schema-fragments/api.flattened.jsonld @@ -216,19 +216,19 @@ "@id": "#5" }, "smaps": { - "resolved-link-target": { - "#4": "amf://id#13" - }, - "declared-element": { - "#4": "" - }, "lexical": { "doc:dataNode": "[(15,4)-(23,0)]", "#4": "[(14,2)-(23,0)]", "core:name": "[(14,2)-(14,6)]" }, "resolved-link": { + "#4": "amf://id#13" + }, + "resolved-link-target": { "#4": "amf://id#12" + }, + "declared-element": { + "#4": "" } } }, @@ -261,19 +261,19 @@ "@id": "#15" }, "smaps": { - "resolved-link-target": { - "#14": "amf://id#22" - }, - "declared-element": { - "#14": "" - }, "lexical": { "doc:dataNode": "[(7,4)-(13,0)]", "#14": "[(6,2)-(13,0)]", "core:name": "[(6,2)-(6,9)]" }, "resolved-link": { + "#14": "amf://id#22" + }, + "resolved-link-target": { "#14": "amf://id#21" + }, + "declared-element": { + "#14": "" } } }, @@ -343,17 +343,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "declared-element": { - "#30": "" - }, - "lexical": { - "#30": "[(13,4)-(20,5)]" - }, "type-property-lexical-info": { "#30": "[(14,6)-(14,12)]" }, "external-fragment-ref": { "#30": "Animal" + }, + "declared-element": { + "#30": "" + }, + "lexical": { + "#30": "[(13,4)-(20,5)]" } } }, @@ -409,11 +409,11 @@ "type-property-lexical-info": { "#41": "[(14,6)-(14,12)]" }, - "lexical": { - "#41": "[(13,4)-(20,5)]" - }, "declared-element": { "#41": "" + }, + "lexical": { + "#41": "[(13,4)-(20,5)]" } } }, @@ -577,12 +577,12 @@ ], "shacl:name": "animalName", "smaps": { - "type-property-lexical-info": { - "#33": "[(17,10)-(17,16)]" - }, "lexical": { "shacl:datatype": "[(17,10)-(17,26)]", "#33": "[(16,8)-(18,9)]" + }, + "type-property-lexical-info": { + "#33": "[(17,10)-(17,16)]" } } }, @@ -602,12 +602,12 @@ ], "shacl:name": "personName", "smaps": { - "type-property-lexical-info": { - "#35": "[(9,10)-(9,16)]" - }, "lexical": { "shacl:datatype": "[(9,10)-(9,26)]", "#35": "[(8,8)-(10,9)]" + }, + "type-property-lexical-info": { + "#35": "[(9,10)-(9,16)]" } } }, @@ -648,12 +648,12 @@ ], "shacl:name": "personName", "smaps": { - "type-property-lexical-info": { - "#43": "[(9,10)-(9,16)]" - }, "lexical": { "shacl:datatype": "[(9,10)-(9,26)]", "#43": "[(8,8)-(10,9)]" + }, + "type-property-lexical-info": { + "#43": "[(9,10)-(9,16)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/merge-inherits/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/merge-inherits/api.expanded.jsonld index 7c80b94cb1..b6f19ee53d 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge-inherits/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge-inherits/api.expanded.jsonld @@ -155,12 +155,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#8": "amf://id#7" + }, "lexical": { "raml-shapes:range": "[(14,24)-(14,30)]", "#8": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#8": "amf://id#7" } } }, @@ -220,12 +220,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(8,12)-(8,18)]", "#2": "[(8,6)-(9,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -285,12 +285,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#5": "amf://id#4" + }, "lexical": { "raml-shapes:range": "[(11,18)-(11,24)]", "#5": "[(11,6)-(12,0)]" - }, - "inheritance-provenance": { - "#5": "amf://id#4" } } } @@ -304,18 +304,18 @@ "inheritance-provenance": { "shacl:name": "amf://id#4" }, - "inherited-shapes": { - "#40": "amf://id#4,amf://id#7,amf://id#1" - }, - "type-property-lexical-info": { - "#40": "[(41,12)-(41,16)]" - }, "lexical": { "#40": "[(40,10)-(43,0)]" }, "auto-generated-name": { "#40": "" }, + "inherited-shapes": { + "#40": "amf://id#4,amf://id#7,amf://id#1" + }, + "type-property-lexical-info": { + "#40": "[(41,12)-(41,16)]" + }, "synthesized-field": { "shacl:closed": "true" } @@ -571,19 +571,19 @@ } ], "smaps": { - "resolved-link-target": { - "#22": "amf://id#32" - }, - "declared-element": { - "#22": "" - }, "lexical": { "doc:dataNode": "[(18,4)-(24,0)]", "#22": "[(17,2)-(24,0)]", "core:name": "[(17,2)-(17,15)]" }, "resolved-link": { + "#22": "amf://id#32" + }, + "resolved-link-target": { "#22": "amf://id#31" + }, + "declared-element": { + "#22": "" } } } @@ -740,12 +740,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#8": "amf://id#7" + }, "lexical": { "raml-shapes:range": "[(14,24)-(14,30)]", "#8": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#8": "amf://id#7" } } }, @@ -805,12 +805,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(8,12)-(8,18)]", "#2": "[(8,6)-(9,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -870,12 +870,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#5": "amf://id#4" + }, "lexical": { "raml-shapes:range": "[(11,18)-(11,24)]", "#5": "[(11,6)-(12,0)]" - }, - "inheritance-provenance": { - "#5": "amf://id#4" } } } @@ -889,18 +889,18 @@ "inheritance-provenance": { "shacl:name": "amf://id#4" }, - "inherited-shapes": { - "#46": "amf://id#4,amf://id#7,amf://id#1" - }, - "type-property-lexical-info": { - "#46": "[(50,12)-(50,16)]" - }, "lexical": { "#46": "[(49,10)-(51,0)]" }, "auto-generated-name": { "#46": "" }, + "inherited-shapes": { + "#46": "amf://id#4,amf://id#7,amf://id#1" + }, + "type-property-lexical-info": { + "#46": "[(50,12)-(50,16)]" + }, "synthesized-field": { "shacl:closed": "true" } @@ -1188,19 +1188,19 @@ } ], "smaps": { - "resolved-link-target": { - "#10": "amf://id#21" - }, - "declared-element": { - "#10": "" - }, "lexical": { "doc:dataNode": "[(26,4)-(34,0)]", "#10": "[(25,2)-(34,0)]", "core:name": "[(25,2)-(25,22)]" }, "resolved-link": { + "#10": "amf://id#21" + }, + "resolved-link-target": { "#10": "amf://id#20" + }, + "declared-element": { + "#10": "" } } } @@ -1330,12 +1330,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(8,12)-(8,18)]", "#2": "[(8,6)-(9,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } } @@ -1349,12 +1349,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, "lexical": { "shacl:name": "[(6,2)-(6,8)]", "#1": "[(6,2)-(9,0)]" - }, - "declared-element": { - "#1": "" } } }, @@ -1429,12 +1429,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#5": "amf://id#4" + }, "lexical": { "raml-shapes:range": "[(11,18)-(11,24)]", "#5": "[(11,6)-(12,0)]" - }, - "inheritance-provenance": { - "#5": "amf://id#4" } } } @@ -1448,12 +1448,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#4": "" + }, "lexical": { "shacl:name": "[(9,2)-(9,10)]", "#4": "[(9,2)-(12,0)]" - }, - "declared-element": { - "#4": "" } } }, @@ -1528,12 +1528,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#8": "amf://id#7" + }, "lexical": { "raml-shapes:range": "[(14,24)-(14,30)]", "#8": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#8": "amf://id#7" } } } @@ -1547,12 +1547,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#7": "" + }, "lexical": { "shacl:name": "[(12,2)-(12,10)]", "#7": "[(12,2)-(16,0)]" - }, - "declared-element": { - "#7": "" } } }, @@ -1800,19 +1800,19 @@ } ], "smaps": { - "resolved-link-target": { - "#10": "amf://id#21" - }, - "declared-element": { - "#10": "" - }, "lexical": { "doc:dataNode": "[(26,4)-(34,0)]", "#10": "[(25,2)-(34,0)]", "core:name": "[(25,2)-(25,22)]" }, "resolved-link": { + "#10": "amf://id#21" + }, + "resolved-link-target": { "#10": "amf://id#20" + }, + "declared-element": { + "#10": "" } } }, @@ -2036,19 +2036,19 @@ } ], "smaps": { - "resolved-link-target": { - "#22": "amf://id#32" - }, - "declared-element": { - "#22": "" - }, "lexical": { "doc:dataNode": "[(18,4)-(24,0)]", "#22": "[(17,2)-(24,0)]", "core:name": "[(17,2)-(17,15)]" }, "resolved-link": { + "#22": "amf://id#32" + }, + "resolved-link-target": { "#22": "amf://id#31" + }, + "declared-element": { + "#22": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/merge-inherits/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/merge-inherits/api.flattened.jsonld index 8e1af78bef..293c6cf705 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge-inherits/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge-inherits/api.flattened.jsonld @@ -216,19 +216,19 @@ "@id": "#11" }, "smaps": { - "resolved-link-target": { - "#10": "amf://id#21" - }, - "declared-element": { - "#10": "" - }, "lexical": { "doc:dataNode": "[(26,4)-(34,0)]", "#10": "[(25,2)-(34,0)]", "core:name": "[(25,2)-(25,22)]" }, "resolved-link": { + "#10": "amf://id#21" + }, + "resolved-link-target": { "#10": "amf://id#20" + }, + "declared-element": { + "#10": "" } } }, @@ -261,19 +261,19 @@ "@id": "#23" }, "smaps": { - "resolved-link-target": { - "#22": "amf://id#32" - }, - "declared-element": { - "#22": "" - }, "lexical": { "doc:dataNode": "[(18,4)-(24,0)]", "#22": "[(17,2)-(24,0)]", "core:name": "[(17,2)-(17,15)]" }, "resolved-link": { + "#22": "amf://id#32" + }, + "resolved-link-target": { "#22": "amf://id#31" + }, + "declared-element": { + "#22": "" } } }, @@ -341,18 +341,18 @@ "inheritance-provenance": { "shacl:name": "amf://id#4" }, - "inherited-shapes": { - "#40": "amf://id#4,amf://id#7,amf://id#1" - }, - "type-property-lexical-info": { - "#40": "[(41,12)-(41,16)]" - }, "lexical": { "#40": "[(40,10)-(43,0)]" }, "auto-generated-name": { "#40": "" }, + "inherited-shapes": { + "#40": "amf://id#4,amf://id#7,amf://id#1" + }, + "type-property-lexical-info": { + "#40": "[(41,12)-(41,16)]" + }, "synthesized-field": { "shacl:closed": "true" } @@ -405,18 +405,18 @@ "inheritance-provenance": { "shacl:name": "amf://id#4" }, - "inherited-shapes": { - "#46": "amf://id#4,amf://id#7,amf://id#1" - }, - "type-property-lexical-info": { - "#46": "[(50,12)-(50,16)]" - }, "lexical": { "#46": "[(49,10)-(51,0)]" }, "auto-generated-name": { "#46": "" }, + "inherited-shapes": { + "#46": "amf://id#4,amf://id#7,amf://id#1" + }, + "type-property-lexical-info": { + "#46": "[(50,12)-(50,16)]" + }, "synthesized-field": { "shacl:closed": "true" } @@ -466,12 +466,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#8": "amf://id#7" + }, "lexical": { "raml-shapes:range": "[(14,24)-(14,30)]", "#8": "[(14,6)-(16,0)]" - }, - "inheritance-provenance": { - "#8": "amf://id#7" } } }, @@ -498,12 +498,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(8,12)-(8,18)]", "#2": "[(8,6)-(9,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -530,12 +530,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#5": "amf://id#4" + }, "lexical": { "raml-shapes:range": "[(11,18)-(11,24)]", "#5": "[(11,6)-(12,0)]" - }, - "inheritance-provenance": { - "#5": "amf://id#4" } } }, @@ -968,12 +968,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, "lexical": { "shacl:name": "[(6,2)-(6,8)]", "#1": "[(6,2)-(9,0)]" - }, - "declared-element": { - "#1": "" } } }, @@ -997,12 +997,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#4": "" + }, "lexical": { "shacl:name": "[(9,2)-(9,10)]", "#4": "[(9,2)-(12,0)]" - }, - "declared-element": { - "#4": "" } } }, @@ -1026,12 +1026,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#7": "" + }, "lexical": { "shacl:name": "[(12,2)-(12,10)]", "#7": "[(12,2)-(16,0)]" - }, - "declared-element": { - "#7": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/merge-recursive-inherits/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/merge-recursive-inherits/api.expanded.jsonld index eccae53aef..ff9d23f895 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge-recursive-inherits/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge-recursive-inherits/api.expanded.jsonld @@ -322,19 +322,19 @@ } ], "smaps": { - "resolved-link-target": { - "#17": "amf://id#26" - }, - "declared-element": { - "#17": "" - }, "lexical": { "doc:dataNode": "[(14,4)-(20,0)]", "#17": "[(13,2)-(20,0)]", "core:name": "[(13,2)-(13,9)]" }, "resolved-link": { + "#17": "amf://id#26" + }, + "resolved-link-target": { "#17": "amf://id#25" + }, + "declared-element": { + "#17": "" } } } @@ -690,19 +690,19 @@ } ], "smaps": { - "resolved-link-target": { - "#6": "amf://id#16" - }, - "declared-element": { - "#6": "" - }, "lexical": { "doc:dataNode": "[(22,4)-(30,0)]", "#6": "[(21,2)-(30,0)]", "core:name": "[(21,2)-(21,6)]" }, "resolved-link": { + "#6": "amf://id#16" + }, + "resolved-link-target": { "#6": "amf://id#15" + }, + "declared-element": { + "#6": "" } } } @@ -817,17 +817,17 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#3": "amf://id#4" - }, - "lexical": { - "#3": "[(6,2)-(12,0)]" - }, "declared-element": { "#3": "" }, "resolved-link-target": { + "#3": "amf://id#4" + }, + "resolved-link": { "#3": "amf://id#5" + }, + "lexical": { + "#3": "[(6,2)-(12,0)]" } } } @@ -863,18 +863,18 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#4" - }, - "lexical": { - "shacl:name": "[(6,2)-(6,15)]", - "#1": "[(6,2)-(12,0)]" - }, "declared-element": { "#1": "" }, "resolved-link-target": { + "#1": "amf://id#4" + }, + "resolved-link": { "#1": "amf://id#5" + }, + "lexical": { + "shacl:name": "[(6,2)-(6,15)]", + "#1": "[(6,2)-(12,0)]" } } }, @@ -1090,19 +1090,19 @@ } ], "smaps": { - "resolved-link-target": { - "#6": "amf://id#16" - }, - "declared-element": { - "#6": "" - }, "lexical": { "doc:dataNode": "[(22,4)-(30,0)]", "#6": "[(21,2)-(30,0)]", "core:name": "[(21,2)-(21,6)]" }, "resolved-link": { + "#6": "amf://id#16" + }, + "resolved-link-target": { "#6": "amf://id#15" + }, + "declared-element": { + "#6": "" } } }, @@ -1294,19 +1294,19 @@ } ], "smaps": { - "resolved-link-target": { - "#17": "amf://id#26" - }, - "declared-element": { - "#17": "" - }, "lexical": { "doc:dataNode": "[(14,4)-(20,0)]", "#17": "[(13,2)-(20,0)]", "core:name": "[(13,2)-(13,9)]" }, "resolved-link": { + "#17": "amf://id#26" + }, + "resolved-link-target": { "#17": "amf://id#25" + }, + "declared-element": { + "#17": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/merge-recursive-inherits/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/merge-recursive-inherits/api.flattened.jsonld index f6479f9cf5..a5ca9d8676 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge-recursive-inherits/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge-recursive-inherits/api.flattened.jsonld @@ -216,19 +216,19 @@ "@id": "#7" }, "smaps": { - "resolved-link-target": { - "#6": "amf://id#16" - }, - "declared-element": { - "#6": "" - }, "lexical": { "doc:dataNode": "[(22,4)-(30,0)]", "#6": "[(21,2)-(30,0)]", "core:name": "[(21,2)-(21,6)]" }, "resolved-link": { + "#6": "amf://id#16" + }, + "resolved-link-target": { "#6": "amf://id#15" + }, + "declared-element": { + "#6": "" } } }, @@ -261,19 +261,19 @@ "@id": "#18" }, "smaps": { - "resolved-link-target": { - "#17": "amf://id#26" - }, - "declared-element": { - "#17": "" - }, "lexical": { "doc:dataNode": "[(14,4)-(20,0)]", "#17": "[(13,2)-(20,0)]", "core:name": "[(13,2)-(13,9)]" }, "resolved-link": { + "#17": "amf://id#26" + }, + "resolved-link-target": { "#17": "amf://id#25" + }, + "declared-element": { + "#17": "" } } }, @@ -335,18 +335,18 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#4" - }, - "lexical": { - "shacl:name": "[(6,2)-(6,15)]", - "#1": "[(6,2)-(12,0)]" - }, "declared-element": { "#1": "" }, "resolved-link-target": { + "#1": "amf://id#4" + }, + "resolved-link": { "#1": "amf://id#5" + }, + "lexical": { + "shacl:name": "[(6,2)-(6,15)]", + "#1": "[(6,2)-(12,0)]" } } }, @@ -482,17 +482,17 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#3": "amf://id#4" - }, - "lexical": { - "#3": "[(6,2)-(12,0)]" - }, "declared-element": { "#3": "" }, "resolved-link-target": { + "#3": "amf://id#4" + }, + "resolved-link": { "#3": "amf://id#5" + }, + "lexical": { + "#3": "[(6,2)-(12,0)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml08/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml08/api.expanded.jsonld index 341c164e8e..e8db474cc1 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml08/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml08/api.expanded.jsonld @@ -150,18 +150,18 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#33": "amf://id#34" - }, "type-property-lexical-info": { "#33": "[(6,9)-(6,15)]" }, - "lexical": { - "#33": "[(29,10)-(32,0)]" - }, "resolved-link-target": { + "#33": "amf://id#34" + }, + "resolved-link": { "#33": "amf://id#35" }, + "lexical": { + "#33": "[(29,10)-(32,0)]" + }, "parsed-json-schema": { "#33": "{\n \"$schema\":\"http://json-schema.org/draft-07/schema#\",\n \"type\":\"object\",\n \"definitions\":{\n \"SomeSchema\":{\n \"type\":\"object\",\n \"required\":[\n \"status\"\n ],\n \"properties\":{\n \"causes\":{\n \"type\":\"array\",\n \"items\":{\n \"$ref\":\"#/definitions/SomeSchema\"\n }\n },\n \"status\":{\n \"type\": \"string\"\n }\n }\n }\n },\n \"$ref\": \"#/definitions/SomeSchema\"\n}" } @@ -174,11 +174,11 @@ } ], "smaps": { - "type-property-lexical-info": { - "#32": "[(12,15)-(12,21)]" - }, "lexical": { "#32": "[(11,12)-(16,13)]" + }, + "type-property-lexical-info": { + "#32": "[(12,15)-(12,21)]" } } } @@ -236,12 +236,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#37": "[(18,15)-(18,21)]" - }, "lexical": { "shacl:datatype": "[(18,15)-(18,31)]", "#37": "[(17,12)-(19,13)]" + }, + "type-property-lexical-info": { + "#37": "[(18,15)-(18,21)]" } } } @@ -284,18 +284,18 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#30": "amf://id#34" - }, "type-property-lexical-info": { "#30": "[(6,9)-(6,15)]" }, - "lexical": { - "#30": "[(29,10)-(32,0)]" - }, "resolved-link-target": { + "#30": "amf://id#34" + }, + "resolved-link": { "#30": "amf://id#35" }, + "lexical": { + "#30": "[(29,10)-(32,0)]" + }, "parsed-json-schema": { "#30": "{\n \"$schema\":\"http://json-schema.org/draft-07/schema#\",\n \"type\":\"object\",\n \"definitions\":{\n \"SomeSchema\":{\n \"type\":\"object\",\n \"required\":[\n \"status\"\n ],\n \"properties\":{\n \"causes\":{\n \"type\":\"array\",\n \"items\":{\n \"$ref\":\"#/definitions/SomeSchema\"\n }\n },\n \"status\":{\n \"type\": \"string\"\n }\n }\n }\n },\n \"$ref\": \"#/definitions/SomeSchema\"\n}" } @@ -498,16 +498,16 @@ } ], "smaps": { - "resolved-link-target": { - "#14": "amf://id#22" - }, "lexical": { "doc:dataNode": "[(7,6)-(13,0)]", "#14": "[(6,4)-(13,0)]", "core:name": "[(6,4)-(6,11)]" }, - "resolved-link": { + "resolved-link-target": { "#14": "amf://id#21" + }, + "resolved-link": { + "#14": "amf://id#22" } } } @@ -659,18 +659,18 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#33": "amf://id#34" - }, "type-property-lexical-info": { "#33": "[(6,9)-(6,15)]" }, - "lexical": { - "#33": "[(29,10)-(32,0)]" - }, "resolved-link-target": { + "#33": "amf://id#34" + }, + "resolved-link": { "#33": "amf://id#35" }, + "lexical": { + "#33": "[(29,10)-(32,0)]" + }, "parsed-json-schema": { "#33": "{\n \"$schema\":\"http://json-schema.org/draft-07/schema#\",\n \"type\":\"object\",\n \"definitions\":{\n \"SomeSchema\":{\n \"type\":\"object\",\n \"required\":[\n \"status\"\n ],\n \"properties\":{\n \"causes\":{\n \"type\":\"array\",\n \"items\":{\n \"$ref\":\"#/definitions/SomeSchema\"\n }\n },\n \"status\":{\n \"type\": \"string\"\n }\n }\n }\n },\n \"$ref\": \"#/definitions/SomeSchema\"\n}" } @@ -683,11 +683,11 @@ } ], "smaps": { - "type-property-lexical-info": { - "#32": "[(12,15)-(12,21)]" - }, "lexical": { "#32": "[(11,12)-(16,13)]" + }, + "type-property-lexical-info": { + "#32": "[(12,15)-(12,21)]" } } } @@ -745,12 +745,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#37": "[(18,15)-(18,21)]" - }, "lexical": { "shacl:datatype": "[(18,15)-(18,31)]", "#37": "[(17,12)-(19,13)]" + }, + "type-property-lexical-info": { + "#37": "[(18,15)-(18,21)]" } } } @@ -1027,16 +1027,16 @@ } ], "smaps": { - "resolved-link-target": { - "#4": "amf://id#13" - }, "lexical": { "doc:dataNode": "[(15,6)-(23,0)]", "#4": "[(14,4)-(23,0)]", "core:name": "[(14,4)-(14,8)]" }, - "resolved-link": { + "resolved-link-target": { "#4": "amf://id#12" + }, + "resolved-link": { + "#4": "amf://id#13" } } } @@ -1338,16 +1338,16 @@ } ], "smaps": { - "resolved-link-target": { - "#4": "amf://id#13" - }, "lexical": { "doc:dataNode": "[(15,6)-(23,0)]", "#4": "[(14,4)-(23,0)]", "core:name": "[(14,4)-(14,8)]" }, - "resolved-link": { + "resolved-link-target": { "#4": "amf://id#12" + }, + "resolved-link": { + "#4": "amf://id#13" } } }, @@ -1518,16 +1518,16 @@ } ], "smaps": { - "resolved-link-target": { - "#14": "amf://id#22" - }, "lexical": { "doc:dataNode": "[(7,6)-(13,0)]", "#14": "[(6,4)-(13,0)]", "core:name": "[(6,4)-(6,11)]" }, - "resolved-link": { + "resolved-link-target": { "#14": "amf://id#21" + }, + "resolved-link": { + "#14": "amf://id#22" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml08/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml08/api.flattened.jsonld index e25b13dc0c..89e8a37a18 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml08/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml08/api.flattened.jsonld @@ -216,16 +216,16 @@ "@id": "#5" }, "smaps": { - "resolved-link-target": { - "#4": "amf://id#13" - }, "lexical": { "doc:dataNode": "[(15,6)-(23,0)]", "#4": "[(14,4)-(23,0)]", "core:name": "[(14,4)-(14,8)]" }, - "resolved-link": { + "resolved-link-target": { "#4": "amf://id#12" + }, + "resolved-link": { + "#4": "amf://id#13" } } }, @@ -258,16 +258,16 @@ "@id": "#15" }, "smaps": { - "resolved-link-target": { - "#14": "amf://id#22" - }, "lexical": { "doc:dataNode": "[(7,6)-(13,0)]", "#14": "[(6,4)-(13,0)]", "core:name": "[(6,4)-(6,11)]" }, - "resolved-link": { + "resolved-link-target": { "#14": "amf://id#21" + }, + "resolved-link": { + "#14": "amf://id#22" } } }, @@ -339,18 +339,18 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#30": "amf://id#34" - }, "type-property-lexical-info": { "#30": "[(6,9)-(6,15)]" }, - "lexical": { - "#30": "[(29,10)-(32,0)]" - }, "resolved-link-target": { + "#30": "amf://id#34" + }, + "resolved-link": { "#30": "amf://id#35" }, + "lexical": { + "#30": "[(29,10)-(32,0)]" + }, "parsed-json-schema": { "#30": "{\n \"$schema\":\"http://json-schema.org/draft-07/schema#\",\n \"type\":\"object\",\n \"definitions\":{\n \"SomeSchema\":{\n \"type\":\"object\",\n \"required\":[\n \"status\"\n ],\n \"properties\":{\n \"causes\":{\n \"type\":\"array\",\n \"items\":{\n \"$ref\":\"#/definitions/SomeSchema\"\n }\n },\n \"status\":{\n \"type\": \"string\"\n }\n }\n }\n },\n \"$ref\": \"#/definitions/SomeSchema\"\n}" } @@ -545,11 +545,11 @@ }, "shacl:name": "causes", "smaps": { - "type-property-lexical-info": { - "#32": "[(12,15)-(12,21)]" - }, "lexical": { "#32": "[(11,12)-(16,13)]" + }, + "type-property-lexical-info": { + "#32": "[(12,15)-(12,21)]" } } }, @@ -569,12 +569,12 @@ ], "shacl:name": "status", "smaps": { - "type-property-lexical-info": { - "#37": "[(18,15)-(18,21)]" - }, "lexical": { "shacl:datatype": "[(18,15)-(18,31)]", "#37": "[(17,12)-(19,13)]" + }, + "type-property-lexical-info": { + "#37": "[(18,15)-(18,21)]" } } }, @@ -639,18 +639,18 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#33": "amf://id#34" - }, "type-property-lexical-info": { "#33": "[(6,9)-(6,15)]" }, - "lexical": { - "#33": "[(29,10)-(32,0)]" - }, "resolved-link-target": { + "#33": "amf://id#34" + }, + "resolved-link": { "#33": "amf://id#35" }, + "lexical": { + "#33": "[(29,10)-(32,0)]" + }, "parsed-json-schema": { "#33": "{\n \"$schema\":\"http://json-schema.org/draft-07/schema#\",\n \"type\":\"object\",\n \"definitions\":{\n \"SomeSchema\":{\n \"type\":\"object\",\n \"required\":[\n \"status\"\n ],\n \"properties\":{\n \"causes\":{\n \"type\":\"array\",\n \"items\":{\n \"$ref\":\"#/definitions/SomeSchema\"\n }\n },\n \"status\":{\n \"type\": \"string\"\n }\n }\n }\n },\n \"$ref\": \"#/definitions/SomeSchema\"\n}" } diff --git a/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml10/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml10/api.expanded.jsonld index a6f2d1a7c4..5df41da8f5 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml10/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml10/api.expanded.jsonld @@ -150,21 +150,21 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link-target": { - "#33": "amf://id#35" - }, "type-property-lexical-info": { "#33": "[(6,9)-(6,15)]" }, - "lexical": { - "#33": "[(5,6)-(21,7)]" - }, - "resolved-link": { + "resolved-link-target": { "#33": "amf://id#34" }, "auto-generated-name": { "#33": "" }, + "resolved-link": { + "#33": "amf://id#35" + }, + "lexical": { + "#33": "[(5,6)-(21,7)]" + }, "parsed-json-schema": { "#33": "{\n \"$schema\":\"http://json-schema.org/draft-07/schema#\",\n \"type\":\"object\",\n \"definitions\":{\n \"SomeSchema\":{\n \"type\":\"object\",\n \"required\":[\n \"status\"\n ],\n \"properties\":{\n \"causes\":{\n \"type\":\"array\",\n \"items\":{\n \"$ref\":\"#/definitions/SomeSchema\"\n }\n },\n \"status\":{\n \"type\": \"string\"\n }\n }\n }\n },\n \"$ref\": \"#/definitions/SomeSchema\"\n}" } @@ -177,11 +177,11 @@ } ], "smaps": { - "type-property-lexical-info": { - "#32": "[(12,15)-(12,21)]" - }, "lexical": { "#32": "[(11,12)-(16,13)]" + }, + "type-property-lexical-info": { + "#32": "[(12,15)-(12,21)]" } } } @@ -239,12 +239,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#37": "[(18,15)-(18,21)]" - }, "lexical": { "shacl:datatype": "[(18,15)-(18,31)]", "#37": "[(17,12)-(19,13)]" + }, + "type-property-lexical-info": { + "#37": "[(18,15)-(18,21)]" } } } @@ -287,21 +287,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link-target": { - "#30": "amf://id#35" - }, "type-property-lexical-info": { "#30": "[(6,9)-(6,15)]" }, - "lexical": { - "#30": "[(5,6)-(21,7)]" - }, - "resolved-link": { + "resolved-link-target": { "#30": "amf://id#34" }, "auto-generated-name": { "#30": "" }, + "resolved-link": { + "#30": "amf://id#35" + }, + "lexical": { + "#30": "[(5,6)-(21,7)]" + }, "parsed-json-schema": { "#30": "{\n \"$schema\":\"http://json-schema.org/draft-07/schema#\",\n \"type\":\"object\",\n \"definitions\":{\n \"SomeSchema\":{\n \"type\":\"object\",\n \"required\":[\n \"status\"\n ],\n \"properties\":{\n \"causes\":{\n \"type\":\"array\",\n \"items\":{\n \"$ref\":\"#/definitions/SomeSchema\"\n }\n },\n \"status\":{\n \"type\": \"string\"\n }\n }\n }\n },\n \"$ref\": \"#/definitions/SomeSchema\"\n}" } @@ -504,19 +504,19 @@ } ], "smaps": { - "resolved-link-target": { - "#14": "amf://id#22" - }, - "declared-element": { - "#14": "" - }, "lexical": { "doc:dataNode": "[(7,4)-(13,0)]", "#14": "[(6,2)-(13,0)]", "core:name": "[(6,2)-(6,9)]" }, "resolved-link": { + "#14": "amf://id#22" + }, + "resolved-link-target": { "#14": "amf://id#21" + }, + "declared-element": { + "#14": "" } } } @@ -668,21 +668,21 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link-target": { - "#33": "amf://id#35" - }, "type-property-lexical-info": { "#33": "[(6,9)-(6,15)]" }, - "lexical": { - "#33": "[(5,6)-(21,7)]" - }, - "resolved-link": { + "resolved-link-target": { "#33": "amf://id#34" }, "auto-generated-name": { "#33": "" }, + "resolved-link": { + "#33": "amf://id#35" + }, + "lexical": { + "#33": "[(5,6)-(21,7)]" + }, "parsed-json-schema": { "#33": "{\n \"$schema\":\"http://json-schema.org/draft-07/schema#\",\n \"type\":\"object\",\n \"definitions\":{\n \"SomeSchema\":{\n \"type\":\"object\",\n \"required\":[\n \"status\"\n ],\n \"properties\":{\n \"causes\":{\n \"type\":\"array\",\n \"items\":{\n \"$ref\":\"#/definitions/SomeSchema\"\n }\n },\n \"status\":{\n \"type\": \"string\"\n }\n }\n }\n },\n \"$ref\": \"#/definitions/SomeSchema\"\n}" } @@ -695,11 +695,11 @@ } ], "smaps": { - "type-property-lexical-info": { - "#32": "[(12,15)-(12,21)]" - }, "lexical": { "#32": "[(11,12)-(16,13)]" + }, + "type-property-lexical-info": { + "#32": "[(12,15)-(12,21)]" } } } @@ -757,12 +757,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#37": "[(18,15)-(18,21)]" - }, "lexical": { "shacl:datatype": "[(18,15)-(18,31)]", "#37": "[(17,12)-(19,13)]" + }, + "type-property-lexical-info": { + "#37": "[(18,15)-(18,21)]" } } } @@ -802,12 +802,12 @@ "type-property-lexical-info": { "#43": "[(6,9)-(6,15)]" }, - "lexical": { - "#43": "[(5,6)-(21,7)]" - }, "auto-generated-name": { "#43": "" }, + "lexical": { + "#43": "[(5,6)-(21,7)]" + }, "parsed-json-schema": { "#43": "{\n \"$schema\":\"http://json-schema.org/draft-07/schema#\",\n \"type\":\"object\",\n \"definitions\":{\n \"SomeSchema\":{\n \"type\":\"object\",\n \"required\":[\n \"status\"\n ],\n \"properties\":{\n \"causes\":{\n \"type\":\"array\",\n \"items\":{\n \"$ref\":\"#/definitions/SomeSchema\"\n }\n },\n \"status\":{\n \"type\": \"string\"\n }\n }\n }\n },\n \"$ref\": \"#/definitions/SomeSchema\"\n}" } @@ -1042,19 +1042,19 @@ } ], "smaps": { - "resolved-link-target": { - "#4": "amf://id#13" - }, - "declared-element": { - "#4": "" - }, "lexical": { "doc:dataNode": "[(15,4)-(23,0)]", "#4": "[(14,2)-(23,0)]", "core:name": "[(14,2)-(14,6)]" }, "resolved-link": { + "#4": "amf://id#13" + }, + "resolved-link-target": { "#4": "amf://id#12" + }, + "declared-element": { + "#4": "" } } } @@ -1356,19 +1356,19 @@ } ], "smaps": { - "resolved-link-target": { - "#4": "amf://id#13" - }, - "declared-element": { - "#4": "" - }, "lexical": { "doc:dataNode": "[(15,4)-(23,0)]", "#4": "[(14,2)-(23,0)]", "core:name": "[(14,2)-(14,6)]" }, "resolved-link": { + "#4": "amf://id#13" + }, + "resolved-link-target": { "#4": "amf://id#12" + }, + "declared-element": { + "#4": "" } } }, @@ -1539,19 +1539,19 @@ } ], "smaps": { - "resolved-link-target": { - "#14": "amf://id#22" - }, - "declared-element": { - "#14": "" - }, "lexical": { "doc:dataNode": "[(7,4)-(13,0)]", "#14": "[(6,2)-(13,0)]", "core:name": "[(6,2)-(6,9)]" }, "resolved-link": { + "#14": "amf://id#22" + }, + "resolved-link-target": { "#14": "amf://id#21" + }, + "declared-element": { + "#14": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml10/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml10/api.flattened.jsonld index 03e15cc69a..8c8fcf2ab1 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml10/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge-recursive-json-schemas-raml10/api.flattened.jsonld @@ -216,19 +216,19 @@ "@id": "#5" }, "smaps": { - "resolved-link-target": { - "#4": "amf://id#13" - }, - "declared-element": { - "#4": "" - }, "lexical": { "doc:dataNode": "[(15,4)-(23,0)]", "#4": "[(14,2)-(23,0)]", "core:name": "[(14,2)-(14,6)]" }, "resolved-link": { + "#4": "amf://id#13" + }, + "resolved-link-target": { "#4": "amf://id#12" + }, + "declared-element": { + "#4": "" } } }, @@ -261,19 +261,19 @@ "@id": "#15" }, "smaps": { - "resolved-link-target": { - "#14": "amf://id#22" - }, - "declared-element": { - "#14": "" - }, "lexical": { "doc:dataNode": "[(7,4)-(13,0)]", "#14": "[(6,2)-(13,0)]", "core:name": "[(6,2)-(6,9)]" }, "resolved-link": { + "#14": "amf://id#22" + }, + "resolved-link-target": { "#14": "amf://id#21" + }, + "declared-element": { + "#14": "" } } }, @@ -345,21 +345,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link-target": { - "#30": "amf://id#35" - }, "type-property-lexical-info": { "#30": "[(6,9)-(6,15)]" }, - "lexical": { - "#30": "[(5,6)-(21,7)]" - }, - "resolved-link": { + "resolved-link-target": { "#30": "amf://id#34" }, "auto-generated-name": { "#30": "" }, + "resolved-link": { + "#30": "amf://id#35" + }, + "lexical": { + "#30": "[(5,6)-(21,7)]" + }, "parsed-json-schema": { "#30": "{\n \"$schema\":\"http://json-schema.org/draft-07/schema#\",\n \"type\":\"object\",\n \"definitions\":{\n \"SomeSchema\":{\n \"type\":\"object\",\n \"required\":[\n \"status\"\n ],\n \"properties\":{\n \"causes\":{\n \"type\":\"array\",\n \"items\":{\n \"$ref\":\"#/definitions/SomeSchema\"\n }\n },\n \"status\":{\n \"type\": \"string\"\n }\n }\n }\n },\n \"$ref\": \"#/definitions/SomeSchema\"\n}" } @@ -417,12 +417,12 @@ "type-property-lexical-info": { "#43": "[(6,9)-(6,15)]" }, - "lexical": { - "#43": "[(5,6)-(21,7)]" - }, "auto-generated-name": { "#43": "" }, + "lexical": { + "#43": "[(5,6)-(21,7)]" + }, "parsed-json-schema": { "#43": "{\n \"$schema\":\"http://json-schema.org/draft-07/schema#\",\n \"type\":\"object\",\n \"definitions\":{\n \"SomeSchema\":{\n \"type\":\"object\",\n \"required\":[\n \"status\"\n ],\n \"properties\":{\n \"causes\":{\n \"type\":\"array\",\n \"items\":{\n \"$ref\":\"#/definitions/SomeSchema\"\n }\n },\n \"status\":{\n \"type\": \"string\"\n }\n }\n }\n },\n \"$ref\": \"#/definitions/SomeSchema\"\n}" } @@ -557,11 +557,11 @@ }, "shacl:name": "causes", "smaps": { - "type-property-lexical-info": { - "#32": "[(12,15)-(12,21)]" - }, "lexical": { "#32": "[(11,12)-(16,13)]" + }, + "type-property-lexical-info": { + "#32": "[(12,15)-(12,21)]" } } }, @@ -581,12 +581,12 @@ ], "shacl:name": "status", "smaps": { - "type-property-lexical-info": { - "#37": "[(18,15)-(18,21)]" - }, "lexical": { "shacl:datatype": "[(18,15)-(18,31)]", "#37": "[(17,12)-(19,13)]" + }, + "type-property-lexical-info": { + "#37": "[(18,15)-(18,21)]" } } }, @@ -651,21 +651,21 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link-target": { - "#33": "amf://id#35" - }, "type-property-lexical-info": { "#33": "[(6,9)-(6,15)]" }, - "lexical": { - "#33": "[(5,6)-(21,7)]" - }, - "resolved-link": { + "resolved-link-target": { "#33": "amf://id#34" }, "auto-generated-name": { "#33": "" }, + "resolved-link": { + "#33": "amf://id#35" + }, + "lexical": { + "#33": "[(5,6)-(21,7)]" + }, "parsed-json-schema": { "#33": "{\n \"$schema\":\"http://json-schema.org/draft-07/schema#\",\n \"type\":\"object\",\n \"definitions\":{\n \"SomeSchema\":{\n \"type\":\"object\",\n \"required\":[\n \"status\"\n ],\n \"properties\":{\n \"causes\":{\n \"type\":\"array\",\n \"items\":{\n \"$ref\":\"#/definitions/SomeSchema\"\n }\n },\n \"status\":{\n \"type\": \"string\"\n }\n }\n }\n },\n \"$ref\": \"#/definitions/SomeSchema\"\n}" } diff --git a/amf-cli/shared/src/test/resources/resolution/multiple-ref-to-external-schema/result.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/multiple-ref-to-external-schema/result.expanded.jsonld index a132f4c44b..9661aae51b 100644 --- a/amf-cli/shared/src/test/resources/resolution/multiple-ref-to-external-schema/result.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/multiple-ref-to-external-schema/result.expanded.jsonld @@ -372,31 +372,31 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#10": "amf://id#10" - }, "type-property-lexical-info": { "#10": "[(4,6)-(4,12)]" }, - "lexical": { - "apiContract:examples": "[(5,6)-(14,7)]", - "#10": "[(3,4)-(15,5)]" + "resolved-link": { + "#10": "amf://id#10" + }, + "resolved-link-target": { + "#10": "amf://id#19" }, "auto-generated-name": { "#10": "" }, - "resolved-link-target": { - "#10": "amf://id#19" + "lexical": { + "apiContract:examples": "[(5,6)-(14,7)]", + "#10": "[(3,4)-(15,5)]" } } } ], "smaps": { - "lexical": { - "#9": "[(3,4)-(15,5)]" - }, "virtual-element": { "#9": "true" + }, + "lexical": { + "#9": "[(3,4)-(15,5)]" } } } @@ -765,31 +765,31 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#10": "amf://id#10" - }, "type-property-lexical-info": { "#10": "[(4,6)-(4,12)]" }, - "lexical": { - "apiContract:examples": "[(5,6)-(14,7)]", - "#10": "[(3,4)-(15,5)]" + "resolved-link": { + "#10": "amf://id#10" + }, + "resolved-link-target": { + "#10": "amf://id#19" }, "auto-generated-name": { "#10": "" }, - "resolved-link-target": { - "#10": "amf://id#19" + "lexical": { + "apiContract:examples": "[(5,6)-(14,7)]", + "#10": "[(3,4)-(15,5)]" } } } ], "smaps": { - "lexical": { - "#23": "[(3,4)-(15,5)]" - }, "virtual-element": { "#23": "true" + }, + "lexical": { + "#23": "[(3,4)-(15,5)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/multiple-ref-to-external-schema/result.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/multiple-ref-to-external-schema/result.flattened.jsonld index 521ed002a0..87d9f9bb8a 100644 --- a/amf-cli/shared/src/test/resources/resolution/multiple-ref-to-external-schema/result.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/multiple-ref-to-external-schema/result.flattened.jsonld @@ -186,11 +186,11 @@ "@id": "#10" }, "smaps": { - "lexical": { - "#9": "[(3,4)-(15,5)]" - }, "virtual-element": { "#9": "true" + }, + "lexical": { + "#9": "[(3,4)-(15,5)]" } } }, @@ -206,11 +206,11 @@ "@id": "#10" }, "smaps": { - "lexical": { - "#23": "[(3,4)-(15,5)]" - }, "virtual-element": { "#23": "true" + }, + "lexical": { + "#23": "[(3,4)-(15,5)]" } } }, @@ -236,21 +236,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#10": "amf://id#10" - }, "type-property-lexical-info": { "#10": "[(4,6)-(4,12)]" }, - "lexical": { - "apiContract:examples": "[(5,6)-(14,7)]", - "#10": "[(3,4)-(15,5)]" + "resolved-link": { + "#10": "amf://id#10" + }, + "resolved-link-target": { + "#10": "amf://id#19" }, "auto-generated-name": { "#10": "" }, - "resolved-link-target": { - "#10": "amf://id#19" + "lexical": { + "apiContract:examples": "[(5,6)-(14,7)]", + "#10": "[(3,4)-(15,5)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/nested-parameters.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/nested-parameters.raml.expanded.jsonld index 1fbf67b07f..b45d550f4c 100644 --- a/amf-cli/shared/src/test/resources/resolution/nested-parameters.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/nested-parameters.raml.expanded.jsonld @@ -114,21 +114,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(8,6)-(8,10)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/schema/source-map/lexical/element_2", @@ -169,6 +154,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(8,6)-(8,10)]" + } + ] + } ] } ] @@ -383,21 +383,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(8,6)-(8,10)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/scalar/schema/source-map/lexical/element_2", @@ -438,6 +423,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(8,6)-(8,10)]" + } + ] + } ] } ] @@ -477,9 +477,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId" @@ -487,15 +487,17 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,4)-(9,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -503,19 +505,17 @@ "@value": "[(6,4)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(6,4)-(9,0)]" } ] } @@ -581,21 +581,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(14,8)-(14,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema/source-map/lexical/element_2", @@ -636,6 +621,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(14,8)-(14,12)]" + } + ] + } ] } ] @@ -727,9 +727,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname" @@ -737,35 +737,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D" + "@value": "[(10,2)-(16,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,2)-(16,0)]" + "@value": "[(10,2)-(10,18)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,2)-(10,18)]" + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D" } ] } @@ -865,21 +865,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userName/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userName/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(20,8)-(20,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userName/scalar/schema/source-map/lexical/element_2", @@ -920,6 +905,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userName/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userName/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(20,8)-(20,12)]" + } + ] + } ] } ] @@ -1035,21 +1035,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(8,6)-(8,10)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/scalar/schema/source-map/lexical/element_2", @@ -1090,6 +1075,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(8,6)-(8,10)]" + } + ] + } ] } ] @@ -1129,9 +1129,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId" @@ -1139,15 +1139,17 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,4)-(9,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1155,19 +1157,17 @@ "@value": "[(6,4)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(6,4)-(9,0)]" } ] } @@ -1286,9 +1286,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName" @@ -1296,14 +1296,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(16,3)-(16,17)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName" @@ -1311,7 +1311,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,3)-(16,17)]" + "@value": "true" } ] } @@ -1353,9 +1353,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName" @@ -1363,35 +1363,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D" + "@value": "[(16,2)-(22,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,2)-(22,0)]" + "@value": "[(16,2)-(16,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,2)-(16,26)]" + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D" } ] } @@ -1491,21 +1491,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(8,6)-(8,10)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema/source-map/lexical/element_2", @@ -1546,6 +1531,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(8,6)-(8,10)]" + } + ] + } ] } ] @@ -1585,9 +1585,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId" @@ -1595,15 +1595,17 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,4)-(9,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1611,19 +1613,17 @@ "@value": "[(6,4)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(6,4)-(9,0)]" } ] } @@ -1665,9 +1665,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage" @@ -1675,35 +1675,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D" + "@value": "[(22,2)-(24,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,2)-(24,0)]" + "@value": "[(22,2)-(22,13)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,2)-(22,13)]" + "@value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/nested-parameters.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/nested-parameters.raml.flattened.jsonld index 55bea54b1e..0e5350ceec 100644 --- a/amf-cli/shared/src/test/resources/resolution/nested-parameters.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/nested-parameters.raml.flattened.jsonld @@ -202,11 +202,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/source-map/lexical/element_1" @@ -214,6 +209,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/source-map/parent-end-point/element_0" + } ] }, { @@ -240,11 +240,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/source-map/lexical/element_1" @@ -252,6 +247,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/source-map/parent-end-point/element_0" + } ] }, { @@ -278,11 +278,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/source-map/lexical/element_1" @@ -290,6 +285,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/source-map/parent-end-point/element_0" + } ] }, { @@ -393,11 +393,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname", @@ -408,6 +403,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(10,2)-(10,18)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/supportedOperation/get/request", "@type": [ @@ -439,11 +439,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName", @@ -454,6 +449,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(16,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/supportedOperation/get/request", "@type": [ @@ -479,11 +479,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage", @@ -494,6 +489,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(22,2)-(22,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2FgetAll/supportedOperation/get/source-map", "@type": [ @@ -756,6 +756,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/source-map/lexical/element_1" @@ -763,11 +768,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/source-map/virtual-element/element_0" - } ] }, { @@ -887,6 +887,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/source-map/lexical/element_1" @@ -894,11 +899,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/source-map/virtual-element/element_0" - } ] }, { @@ -938,14 +938,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName/source-map/virtual-element/element_0" } ] }, @@ -984,6 +984,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/source-map/lexical/element_1" @@ -991,11 +996,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/source-map/virtual-element/element_0" - } ] }, { @@ -1003,11 +1003,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/schema/source-map/lexical/element_2" @@ -1018,6 +1013,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1040,11 +1040,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/scalar/schema/source-map/lexical/element_2" @@ -1055,6 +1050,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1067,6 +1067,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId", @@ -1077,21 +1082,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(9,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema/source-map/lexical/element_2" @@ -1102,6 +1097,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1124,11 +1124,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userName/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userName/scalar/schema/source-map/lexical/element_2" @@ -1139,6 +1134,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userName/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userName/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1161,11 +1161,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/scalar/schema/source-map/lexical/element_2" @@ -1176,6 +1171,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1188,6 +1188,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId", @@ -1198,11 +1203,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(9,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName/source-map/synthesized-field/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", @@ -1224,25 +1224,20 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(16,3)-(16,17)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userLastName", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,3)-(16,17)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema/source-map/lexical/element_2" @@ -1253,6 +1248,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1265,6 +1265,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId", @@ -1275,16 +1280,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(9,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(8,10)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1301,8 +1296,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(9,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(8,10)]" }, { @@ -1321,9 +1316,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(9,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,8)-(14,12)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userId/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(8,10)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema/source-map/lexical/element_2", @@ -1341,9 +1336,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(12,6)-(15,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userName/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userName/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(20,12)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserName%7D%2Fname/parameter/parameter/path/userName/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,8)-(14,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userName/scalar/schema/source-map/lexical/element_2", @@ -1361,9 +1356,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(18,6)-(21,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(8,10)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userName/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userName/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(20,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/scalar/schema/source-map/lexical/element_2", @@ -1381,8 +1376,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(9,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2F%7BuserLastName%7D%2FlastName/parameter/parameter/path/userId/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(8,10)]" }, { @@ -1400,6 +1395,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(9,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D%2Fpepito%2Fage/parameter/parameter/path/userId/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(8,10)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/nested-parameters.raml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/oas-declared-link-of-scalar.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/oas-declared-link-of-scalar.expanded.jsonld index d4b6c19681..a79a1438a7 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas-declared-link-of-scalar.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas-declared-link-of-scalar.expanded.jsonld @@ -102,9 +102,6 @@ } ], "smaps": { - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(12,6)-(12,14)]", "shacl:minInclusive": "[(15,8)-(15,20)]", @@ -112,6 +109,9 @@ "shacl:datatype": "[(14,8)-(14,25)]", "raml-shapes:format": "[(13,8)-(13,25)]" }, + "declared-element": { + "#1": "" + }, "type-property-lexical-info": { "#1": "[(14,8)-(14,14)]" } @@ -155,23 +155,23 @@ "synthesized-field": { "doc:recursive": "true" }, + "type-property-lexical-info": { + "#2": "[(14,8)-(14,14)]" + }, "resolved-link": { "#2": "amf://id#2" }, - "type-property-lexical-info": { - "#2": "[(14,8)-(14,14)]" + "resolved-link-target": { + "#2": "amf://id#1" + }, + "declared-element": { + "#2": "" }, "lexical": { "raml-shapes:format": "[(13,8)-(13,25)]", "shacl:datatype": "[(14,8)-(14,25)]", "#2": "[(12,6)-(16,7)]", "shacl:minInclusive": "[(15,8)-(15,20)]" - }, - "declared-element": { - "#2": "" - }, - "resolved-link-target": { - "#2": "amf://id#1" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/oas-declared-link-of-scalar.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/oas-declared-link-of-scalar.flattened.jsonld index ea54f93589..057507dda2 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas-declared-link-of-scalar.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas-declared-link-of-scalar.flattened.jsonld @@ -73,9 +73,6 @@ "raml-shapes:format": "int32", "shacl:name": "Uint32", "smaps": { - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(12,6)-(12,14)]", "shacl:minInclusive": "[(15,8)-(15,20)]", @@ -83,6 +80,9 @@ "shacl:datatype": "[(14,8)-(14,25)]", "raml-shapes:format": "[(13,8)-(13,25)]" }, + "declared-element": { + "#1": "" + }, "type-property-lexical-info": { "#1": "[(14,8)-(14,14)]" } @@ -110,23 +110,23 @@ "synthesized-field": { "doc:recursive": "true" }, + "type-property-lexical-info": { + "#2": "[(14,8)-(14,14)]" + }, "resolved-link": { "#2": "amf://id#2" }, - "type-property-lexical-info": { - "#2": "[(14,8)-(14,14)]" + "resolved-link-target": { + "#2": "amf://id#1" + }, + "declared-element": { + "#2": "" }, "lexical": { "raml-shapes:format": "[(13,8)-(13,25)]", "shacl:datatype": "[(14,8)-(14,25)]", "#2": "[(12,6)-(16,7)]", "shacl:minInclusive": "[(15,8)-(15,20)]" - }, - "declared-element": { - "#2": "" - }, - "resolved-link-target": { - "#2": "amf://id#1" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/oas-internal-json-schema-link/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/oas-internal-json-schema-link/api.expanded.jsonld index 888c977c49..8cac41dcb2 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas-internal-json-schema-link/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas-internal-json-schema-link/api.expanded.jsonld @@ -210,15 +210,15 @@ } ], "smaps": { - "type-property-lexical-info": { - "#12": "[(7,8)-(7,12)]" - }, "lexical": { "apiContract:examples": "[(9,8)-(11,0)]", "shacl:pattern": "[(8,8)-(9,0)]", "#12": "[(5,6)-(11,0)]", "shacl:datatype": "[(7,8)-(8,0)]", "core:description": "[(6,8)-(7,0)]" + }, + "type-property-lexical-info": { + "#12": "[(7,8)-(7,12)]" } } } @@ -257,29 +257,29 @@ "synthesized-field": { "shacl:closed": "true" }, + "auto-generated-name": { + "#10": "" + }, + "resolved-link-target": { + "#10": "amf://id#15" + }, "resolved-link": { "#10": "amf://id#10" }, "lexical": { "core:description": "[(3,4)-(4,0)]", "#10": "[(2,2)-(11,0)]" - }, - "auto-generated-name": { - "#10": "" - }, - "resolved-link-target": { - "#10": "amf://id#15" } } } ], "smaps": { + "virtual-element": { + "#9": "true" + }, "lexical": { "raml-shapes:schema": "[(14,4)-(15,42)]", "#9": "[(2,2)-(11,0)]" - }, - "virtual-element": { - "#9": "true" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/oas-internal-json-schema-link/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/oas-internal-json-schema-link/api.flattened.jsonld index edc76c95ae..57bd1b824f 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas-internal-json-schema-link/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas-internal-json-schema-link/api.flattened.jsonld @@ -108,12 +108,12 @@ "@id": "#10" }, "smaps": { + "virtual-element": { + "#9": "true" + }, "lexical": { "raml-shapes:schema": "[(14,4)-(15,42)]", "#9": "[(2,2)-(11,0)]" - }, - "virtual-element": { - "#9": "true" } } }, @@ -138,18 +138,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "auto-generated-name": { + "#10": "" + }, + "resolved-link-target": { + "#10": "amf://id#15" + }, "resolved-link": { "#10": "amf://id#10" }, "lexical": { "core:description": "[(3,4)-(4,0)]", "#10": "[(2,2)-(11,0)]" - }, - "auto-generated-name": { - "#10": "" - }, - "resolved-link-target": { - "#10": "amf://id#15" } } }, @@ -203,15 +203,15 @@ } ], "smaps": { - "type-property-lexical-info": { - "#12": "[(7,8)-(7,12)]" - }, "lexical": { "apiContract:examples": "[(9,8)-(11,0)]", "shacl:pattern": "[(8,8)-(9,0)]", "#12": "[(5,6)-(11,0)]", "shacl:datatype": "[(7,8)-(8,0)]", "core:description": "[(6,8)-(7,0)]" + }, + "type-property-lexical-info": { + "#12": "[(7,8)-(7,12)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.expanded.jsonld index b9303c8841..322bb39535 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.expanded.jsonld @@ -420,9 +420,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d" @@ -430,35 +430,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(12,12)]" + "@value": "[(11,6)-(13,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(13,0)]" + "@value": "[(12,8)-(13,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(13,0)]" + "@value": "[(12,8)-(12,12)]" } ] } @@ -561,9 +561,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C" @@ -571,35 +571,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,2)-(13,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,2)-(9,3)]" + "@value": "[(9,2)-(13,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,2)-(9,3)]" } ] } @@ -699,9 +699,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E" @@ -709,14 +709,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,2)-(18,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E" @@ -724,7 +724,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(13,2)-(18,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.flattened.jsonld index ccfaaf9163..71cea52033 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.flattened.jsonld @@ -294,14 +294,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/source-map/lexical/element_0" } ] }, @@ -365,14 +365,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(14,4)-(14,8)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,2)-(18,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(13,2)-(18,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d", @@ -411,6 +411,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/source-map/lexical/element_1" @@ -418,11 +423,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/source-map/declared-element/element_0" - } ] }, { @@ -482,6 +482,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#recursive", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C", @@ -492,21 +497,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,3)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d/source-map/lexical/element_1" @@ -514,6 +509,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -526,11 +526,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d", "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(13,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d", @@ -541,6 +536,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(13,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/shape/E/property/property/c/shape/C/property/property/d/scalar/d", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/all-objects-case.yaml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.expanded.jsonld index 5126a6fec3..818a59ffb3 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.expanded.jsonld @@ -401,9 +401,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent" @@ -411,35 +411,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(12,12)]" + "@value": "[(11,6)-(13,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(13,0)]" + "@value": "[(12,8)-(13,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(13,0)]" + "@value": "[(12,8)-(12,12)]" } ] } @@ -542,9 +542,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C" @@ -552,35 +552,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,2)-(13,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,2)-(9,3)]" + "@value": "[(9,2)-(13,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,2)-(9,3)]" } ] } @@ -600,9 +600,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E" @@ -610,14 +610,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(13,2)-(17,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E" @@ -625,7 +625,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,2)-(17,0)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.flattened.jsonld index d88e874777..11c32b0434 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.flattened.jsonld @@ -280,14 +280,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/declared-element/element_0" } ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ @@ -343,6 +343,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/lexical/element_1" @@ -350,22 +355,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/declared-element/element_0" - } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(13,2)-(17,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,2)-(17,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/type-property-lexical-info/element_0", @@ -419,6 +419,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#recursive", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C", @@ -429,21 +434,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,3)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent/source-map/lexical/element_1" @@ -451,6 +446,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -463,11 +463,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent", "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(13,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent", @@ -478,6 +473,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(13,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/scalar/parent", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-in-the-middle.yaml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.expanded.jsonld index e5a8a59218..aafb155896 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.expanded.jsonld @@ -434,9 +434,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive" @@ -444,14 +444,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,2)-(15,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive" @@ -459,7 +459,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,2)-(15,0)]" } ] } @@ -655,9 +655,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C" @@ -665,35 +665,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,2)-(15,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,2)-(9,3)]" + "@value": "[(9,2)-(15,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,2)-(9,3)]" } ] } @@ -713,9 +713,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E" @@ -723,14 +723,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(15,2)-(19,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E" @@ -738,7 +738,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,2)-(19,0)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.flattened.jsonld index 57a6e5cd3c..5cc7e3ffb9 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.flattened.jsonld @@ -280,14 +280,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/declared-element/element_0" } ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ @@ -343,6 +343,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/lexical/element_1" @@ -350,22 +355,17 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/declared-element/element_0" - } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(19,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(19,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/source-map/type-property-lexical-info/element_0", @@ -421,6 +421,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#recursive", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C", @@ -431,11 +436,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,3)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive", "@type": [ @@ -507,14 +507,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive/source-map/lexical/element_0" } ] }, @@ -548,14 +548,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(15,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/recursive", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(15,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/oas-link-of-link/array-with-child-recursion.yaml#/web-api/endpoint/%2FendPoint/supportedOperation/get/returns/resp/200/payload/default/array/E/shape/C/property/property/parent/any/parent/and/any/item1/source-map/lexical/element_1", diff --git a/amf-cli/shared/src/test/resources/resolution/oas-recursion.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/oas-recursion.expanded.jsonld index 0480a2e7f5..3ad289725c 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas-recursion.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas-recursion.expanded.jsonld @@ -161,11 +161,11 @@ "synthesized-field": { "doc:recursive": "true" }, - "lexical": { - "#6": "[(14,8)-(20,9)]" - }, "type-property-lexical-info": { "#6": "[(19,10)-(19,16)]" + }, + "lexical": { + "#6": "[(14,8)-(20,9)]" } } } @@ -199,21 +199,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#4": "amf://id#7" - }, "type-property-lexical-info": { "#4": "[(22,6)-(22,12)]" }, - "lexical": { - "shacl:name": "[(12,4)-(12,20)]", - "#4": "[(12,4)-(23,5)]" + "resolved-link": { + "#4": "amf://id#7" + }, + "resolved-link-target": { + "#4": "amf://id#4" }, "declared-element": { "#4": "" }, - "resolved-link-target": { - "#4": "amf://id#4" + "lexical": { + "shacl:name": "[(12,4)-(12,20)]", + "#4": "[(12,4)-(23,5)]" } } } @@ -229,12 +229,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(19,10)-(19,16)]" - }, "lexical": { "shacl:minCount": "[(18,10)-(18,23)]", "#3": "[(14,8)-(20,9)]" + }, + "type-property-lexical-info": { + "#3": "[(19,10)-(19,16)]" } } } @@ -268,20 +268,20 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#1" - }, "type-property-lexical-info": { "#1": "[(22,6)-(22,12)]" }, - "lexical": { - "#1": "[(12,4)-(23,5)]" + "resolved-link": { + "#1": "amf://id#1" + }, + "resolved-link-target": { + "#1": "amf://id#4" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#4" + "lexical": { + "#1": "[(12,4)-(23,5)]" } } }, @@ -341,11 +341,11 @@ "synthesized-field": { "doc:recursive": "true" }, - "lexical": { - "#6": "[(14,8)-(20,9)]" - }, "type-property-lexical-info": { "#6": "[(19,10)-(19,16)]" + }, + "lexical": { + "#6": "[(14,8)-(20,9)]" } } } @@ -379,21 +379,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#4": "amf://id#7" - }, "type-property-lexical-info": { "#4": "[(22,6)-(22,12)]" }, - "lexical": { - "shacl:name": "[(12,4)-(12,20)]", - "#4": "[(12,4)-(23,5)]" + "resolved-link": { + "#4": "amf://id#7" + }, + "resolved-link-target": { + "#4": "amf://id#4" }, "declared-element": { "#4": "" }, - "resolved-link-target": { - "#4": "amf://id#4" + "lexical": { + "shacl:name": "[(12,4)-(12,20)]", + "#4": "[(12,4)-(23,5)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/oas-recursion.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/oas-recursion.flattened.jsonld index 3515f52a8b..799da84acc 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas-recursion.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas-recursion.flattened.jsonld @@ -73,20 +73,20 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#1" - }, "type-property-lexical-info": { "#1": "[(22,6)-(22,12)]" }, - "lexical": { - "#1": "[(12,4)-(23,5)]" + "resolved-link": { + "#1": "amf://id#1" + }, + "resolved-link-target": { + "#1": "amf://id#4" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#4" + "lexical": { + "#1": "[(12,4)-(23,5)]" } } }, @@ -110,21 +110,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#4": "amf://id#7" - }, "type-property-lexical-info": { "#4": "[(22,6)-(22,12)]" }, - "lexical": { - "shacl:name": "[(12,4)-(12,20)]", - "#4": "[(12,4)-(23,5)]" + "resolved-link": { + "#4": "amf://id#7" + }, + "resolved-link-target": { + "#4": "amf://id#4" }, "declared-element": { "#4": "" }, - "resolved-link-target": { - "#4": "amf://id#4" + "lexical": { + "shacl:name": "[(12,4)-(12,20)]", + "#4": "[(12,4)-(23,5)]" } } }, @@ -197,12 +197,12 @@ "shacl:minCount": 1, "shacl:name": "subsenses", "smaps": { - "type-property-lexical-info": { - "#3": "[(19,10)-(19,16)]" - }, "lexical": { "shacl:minCount": "[(18,10)-(18,23)]", "#3": "[(14,8)-(20,9)]" + }, + "type-property-lexical-info": { + "#3": "[(19,10)-(19,16)]" } } }, @@ -225,11 +225,11 @@ "synthesized-field": { "doc:recursive": "true" }, - "lexical": { - "#6": "[(14,8)-(20,9)]" - }, "type-property-lexical-info": { "#6": "[(19,10)-(19,16)]" + }, + "lexical": { + "#6": "[(14,8)-(20,9)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/oas3-cookie-propagation/oas3-cookie-parameter-propagation.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/oas3-cookie-propagation/oas3-cookie-parameter-propagation.expanded.jsonld index 14a52b2720..5a29f2b6ab 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas3-cookie-propagation/oas3-cookie-parameter-propagation.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas3-cookie-propagation/oas3-cookie-parameter-propagation.expanded.jsonld @@ -119,13 +119,13 @@ } ], "smaps": { - "auto-generated-name": { - "#2": "" - }, "lexical": { "shacl:datatype": "[(11,8)-(12,0)]", "#2": "[(10,6)-(12,0)]" }, + "auto-generated-name": { + "#2": "" + }, "type-property-lexical-info": { "#2": "[(11,8)-(11,12)]" } @@ -137,6 +137,12 @@ "apiContract:explode": "true", "apiContract:style": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#3" + }, "resolved-link": { "#1": "amf://id#1" }, @@ -146,12 +152,6 @@ "#1": "[(7,4)-(13,0)]", "apiContract:paramName": "[(8,6)-(9,0)]", "apiContract:binding": "[(9,6)-(10,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#3" } } }, @@ -213,13 +213,13 @@ } ], "smaps": { - "auto-generated-name": { - "#8": "" - }, "lexical": { "shacl:datatype": "[(23,8)-(24,0)]", "#8": "[(22,6)-(24,0)]" }, + "auto-generated-name": { + "#8": "" + }, "type-property-lexical-info": { "#8": "[(23,8)-(23,12)]" } @@ -231,6 +231,12 @@ "apiContract:explode": "true", "apiContract:style": "true" }, + "declared-element": { + "#7": "" + }, + "resolved-link-target": { + "#7": "amf://id#9" + }, "resolved-link": { "#7": "amf://id#7" }, @@ -240,12 +246,6 @@ "#7": "[(19,4)-(27,0)]", "apiContract:paramName": "[(20,6)-(21,0)]", "apiContract:binding": "[(21,6)-(22,0)]" - }, - "declared-element": { - "#7": "" - }, - "resolved-link-target": { - "#7": "amf://id#9" } } }, @@ -307,13 +307,13 @@ } ], "smaps": { - "auto-generated-name": { - "#5": "" - }, "lexical": { "shacl:datatype": "[(17,8)-(18,0)]", "#5": "[(16,6)-(18,0)]" }, + "auto-generated-name": { + "#5": "" + }, "type-property-lexical-info": { "#5": "[(17,8)-(17,12)]" } @@ -325,6 +325,12 @@ "apiContract:explode": "true", "apiContract:style": "true" }, + "declared-element": { + "#4": "" + }, + "resolved-link-target": { + "#4": "amf://id#6" + }, "resolved-link": { "#4": "amf://id#4" }, @@ -334,12 +340,6 @@ "#4": "[(13,4)-(19,0)]", "apiContract:paramName": "[(14,6)-(15,0)]", "apiContract:binding": "[(15,6)-(16,0)]" - }, - "declared-element": { - "#4": "" - }, - "resolved-link-target": { - "#4": "amf://id#6" } } } @@ -491,13 +491,13 @@ } ], "smaps": { - "auto-generated-name": { - "#2": "" - }, "lexical": { "shacl:datatype": "[(11,8)-(12,0)]", "#2": "[(10,6)-(12,0)]" }, + "auto-generated-name": { + "#2": "" + }, "type-property-lexical-info": { "#2": "[(11,8)-(11,12)]" } @@ -509,6 +509,12 @@ "apiContract:explode": "true", "apiContract:style": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#3" + }, "resolved-link": { "#1": "amf://id#1" }, @@ -518,12 +524,6 @@ "#1": "[(7,4)-(13,0)]", "apiContract:paramName": "[(8,6)-(9,0)]", "apiContract:binding": "[(9,6)-(10,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#3" } } }, @@ -585,13 +585,13 @@ } ], "smaps": { - "auto-generated-name": { - "#5": "" - }, "lexical": { "shacl:datatype": "[(17,8)-(18,0)]", "#5": "[(16,6)-(18,0)]" }, + "auto-generated-name": { + "#5": "" + }, "type-property-lexical-info": { "#5": "[(17,8)-(17,12)]" } @@ -603,6 +603,12 @@ "apiContract:explode": "true", "apiContract:style": "true" }, + "declared-element": { + "#4": "" + }, + "resolved-link-target": { + "#4": "amf://id#6" + }, "resolved-link": { "#4": "amf://id#4" }, @@ -612,12 +618,6 @@ "#4": "[(13,4)-(19,0)]", "apiContract:paramName": "[(14,6)-(15,0)]", "apiContract:binding": "[(15,6)-(16,0)]" - }, - "declared-element": { - "#4": "" - }, - "resolved-link-target": { - "#4": "amf://id#6" } } }, @@ -679,13 +679,13 @@ } ], "smaps": { - "auto-generated-name": { - "#8": "" - }, "lexical": { "shacl:datatype": "[(23,8)-(24,0)]", "#8": "[(22,6)-(24,0)]" }, + "auto-generated-name": { + "#8": "" + }, "type-property-lexical-info": { "#8": "[(23,8)-(23,12)]" } @@ -697,6 +697,12 @@ "apiContract:explode": "true", "apiContract:style": "true" }, + "declared-element": { + "#7": "" + }, + "resolved-link-target": { + "#7": "amf://id#9" + }, "resolved-link": { "#7": "amf://id#7" }, @@ -706,12 +712,6 @@ "#7": "[(19,4)-(27,0)]", "apiContract:paramName": "[(20,6)-(21,0)]", "apiContract:binding": "[(21,6)-(22,0)]" - }, - "declared-element": { - "#7": "" - }, - "resolved-link-target": { - "#7": "amf://id#9" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/oas3-cookie-propagation/oas3-cookie-parameter-propagation.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/oas3-cookie-propagation/oas3-cookie-parameter-propagation.flattened.jsonld index b6d17f9e66..6ec4869647 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas3-cookie-propagation/oas3-cookie-parameter-propagation.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas3-cookie-propagation/oas3-cookie-parameter-propagation.flattened.jsonld @@ -136,6 +136,12 @@ "apiContract:explode": "true", "apiContract:style": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#3" + }, "resolved-link": { "#1": "amf://id#1" }, @@ -145,12 +151,6 @@ "#1": "[(7,4)-(13,0)]", "apiContract:paramName": "[(8,6)-(9,0)]", "apiContract:binding": "[(9,6)-(10,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#3" } } }, @@ -175,6 +175,12 @@ "apiContract:explode": "true", "apiContract:style": "true" }, + "declared-element": { + "#7": "" + }, + "resolved-link-target": { + "#7": "amf://id#9" + }, "resolved-link": { "#7": "amf://id#7" }, @@ -184,12 +190,6 @@ "#7": "[(19,4)-(27,0)]", "apiContract:paramName": "[(20,6)-(21,0)]", "apiContract:binding": "[(21,6)-(22,0)]" - }, - "declared-element": { - "#7": "" - }, - "resolved-link-target": { - "#7": "amf://id#9" } } }, @@ -214,6 +214,12 @@ "apiContract:explode": "true", "apiContract:style": "true" }, + "declared-element": { + "#4": "" + }, + "resolved-link-target": { + "#4": "amf://id#6" + }, "resolved-link": { "#4": "amf://id#4" }, @@ -223,12 +229,6 @@ "#4": "[(13,4)-(19,0)]", "apiContract:paramName": "[(14,6)-(15,0)]", "apiContract:binding": "[(15,6)-(16,0)]" - }, - "declared-element": { - "#4": "" - }, - "resolved-link-target": { - "#4": "amf://id#6" } } }, @@ -248,13 +248,13 @@ ], "shacl:name": "myEndpointCookieParamName", "smaps": { - "auto-generated-name": { - "#2": "" - }, "lexical": { "shacl:datatype": "[(11,8)-(12,0)]", "#2": "[(10,6)-(12,0)]" }, + "auto-generated-name": { + "#2": "" + }, "type-property-lexical-info": { "#2": "[(11,8)-(11,12)]" } @@ -276,13 +276,13 @@ ], "shacl:name": "myEndpointCookieParamNameOne", "smaps": { - "auto-generated-name": { - "#8": "" - }, "lexical": { "shacl:datatype": "[(23,8)-(24,0)]", "#8": "[(22,6)-(24,0)]" }, + "auto-generated-name": { + "#8": "" + }, "type-property-lexical-info": { "#8": "[(23,8)-(23,12)]" } @@ -304,13 +304,13 @@ ], "shacl:name": "myOperationCookieParamName", "smaps": { - "auto-generated-name": { - "#5": "" - }, "lexical": { "shacl:datatype": "[(17,8)-(18,0)]", "#5": "[(16,6)-(18,0)]" }, + "auto-generated-name": { + "#5": "" + }, "type-property-lexical-info": { "#5": "[(17,8)-(17,12)]" } diff --git a/amf-cli/shared/src/test/resources/resolution/oas3-inlined-shapes.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/oas3-inlined-shapes.expanded.jsonld index bd662b9468..629b7333ac 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas3-inlined-shapes.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas3-inlined-shapes.expanded.jsonld @@ -185,12 +185,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#12": "[(32,20)-(32,24)]" - }, "lexical": { "shacl:datatype": "[(32,20)-(33,0)]", "#12": "[(31,18)-(33,0)]" + }, + "type-property-lexical-info": { + "#12": "[(32,20)-(32,24)]" } } } @@ -248,12 +248,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#14": "[(34,20)-(34,24)]" - }, "lexical": { "shacl:datatype": "[(34,20)-(34,32)]", "#14": "[(33,18)-(34,32)]" + }, + "type-property-lexical-info": { + "#14": "[(34,20)-(34,24)]" } } } @@ -290,11 +290,11 @@ "type-property-lexical-info": { "#10": "[(29,16)-(29,20)]" }, - "lexical": { - "#10": "[(28,14)-(34,32)]" - }, "auto-generated-name": { "#10": "" + }, + "lexical": { + "#10": "[(28,14)-(34,32)]" } } } @@ -450,11 +450,11 @@ "type-property-lexical-info": { "#2": "[(18,8)-(18,12)]" }, - "lexical": { - "#2": "[(17,6)-(19,0)]" - }, "auto-generated-name": { "#2": "" + }, + "lexical": { + "#2": "[(17,6)-(19,0)]" } } } @@ -465,14 +465,14 @@ "apiContract:required": "true", "apiContract:style": "true" }, + "declared-element": { + "#1": "" + }, "lexical": { "raml-shapes:schema": "[(17,6)-(19,0)]", "apiContract:paramName": "[(16,6)-(17,0)]", "#1": "[(14,4)-(19,0)]", "apiContract:binding": "[(15,6)-(16,0)]" - }, - "declared-element": { - "#1": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/oas3-inlined-shapes.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/oas3-inlined-shapes.flattened.jsonld index c0b075d838..b19d21c203 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas3-inlined-shapes.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas3-inlined-shapes.flattened.jsonld @@ -173,11 +173,11 @@ "type-property-lexical-info": { "#10": "[(29,16)-(29,20)]" }, - "lexical": { - "#10": "[(28,14)-(34,32)]" - }, "auto-generated-name": { "#10": "" + }, + "lexical": { + "#10": "[(28,14)-(34,32)]" } } }, @@ -251,12 +251,12 @@ ], "shacl:name": "code", "smaps": { - "type-property-lexical-info": { - "#12": "[(32,20)-(32,24)]" - }, "lexical": { "shacl:datatype": "[(32,20)-(33,0)]", "#12": "[(31,18)-(33,0)]" + }, + "type-property-lexical-info": { + "#12": "[(32,20)-(32,24)]" } } }, @@ -276,12 +276,12 @@ ], "shacl:name": "msg", "smaps": { - "type-property-lexical-info": { - "#14": "[(34,20)-(34,24)]" - }, "lexical": { "shacl:datatype": "[(34,20)-(34,32)]", "#14": "[(33,18)-(34,32)]" + }, + "type-property-lexical-info": { + "#14": "[(34,20)-(34,24)]" } } }, @@ -330,14 +330,14 @@ "apiContract:required": "true", "apiContract:style": "true" }, + "declared-element": { + "#1": "" + }, "lexical": { "raml-shapes:schema": "[(17,6)-(19,0)]", "apiContract:paramName": "[(16,6)-(17,0)]", "#1": "[(14,4)-(19,0)]", "apiContract:binding": "[(15,6)-(16,0)]" - }, - "declared-element": { - "#1": "" } } }, @@ -359,11 +359,11 @@ "type-property-lexical-info": { "#2": "[(18,8)-(18,12)]" }, - "lexical": { - "#2": "[(17,6)-(19,0)]" - }, "auto-generated-name": { "#2": "" + }, + "lexical": { + "#2": "[(17,6)-(19,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/oas30-discriminator-invalid-mapping/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/oas30-discriminator-invalid-mapping/api.expanded.jsonld index 593906738f..50824189ae 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas30-discriminator-invalid-mapping/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas30-discriminator-invalid-mapping/api.expanded.jsonld @@ -149,11 +149,11 @@ "resolved-link": { "#12": "amf://id#13" }, - "lexical": { - "#12": "[(16,19)-(16,25)]" - }, "resolved-link-target": { "#12": "amf://id#12" + }, + "lexical": { + "#12": "[(16,19)-(16,25)]" } } } @@ -222,12 +222,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#4": "[(26,10)-(26,14)]" - }, "lexical": { "shacl:datatype": "[(26,10)-(27,0)]", "#4": "[(25,8)-(27,0)]" + }, + "type-property-lexical-info": { + "#4": "[(26,10)-(26,14)]" } } } @@ -261,21 +261,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#2": "amf://id#5" - }, "type-property-lexical-info": { "#2": "[(23,6)-(23,10)]" }, - "lexical": { - "shacl:name": "[(22,4)-(22,7)]", - "#2": "[(22,4)-(27,0)]" + "resolved-link": { + "#2": "amf://id#5" + }, + "resolved-link-target": { + "#2": "amf://id#2" }, "declared-element": { "#2": "" }, - "resolved-link-target": { - "#2": "amf://id#2" + "lexical": { + "shacl:name": "[(22,4)-(22,7)]", + "#2": "[(22,4)-(27,0)]" } } }, @@ -328,12 +328,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#8": "[(21,10)-(21,14)]" - }, "lexical": { "shacl:datatype": "[(21,10)-(22,0)]", "#8": "[(20,8)-(22,0)]" + }, + "type-property-lexical-info": { + "#8": "[(21,10)-(21,14)]" } } } @@ -367,21 +367,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#6": "amf://id#9" - }, "type-property-lexical-info": { "#6": "[(18,6)-(18,10)]" }, - "lexical": { - "shacl:name": "[(17,4)-(17,7)]", - "#6": "[(17,4)-(22,0)]" + "resolved-link": { + "#6": "amf://id#9" + }, + "resolved-link-target": { + "#6": "amf://id#6" }, "declared-element": { "#6": "" }, - "resolved-link-target": { - "#6": "amf://id#6" + "lexical": { + "shacl:name": "[(17,4)-(17,7)]", + "#6": "[(17,4)-(22,0)]" } } } @@ -390,6 +390,9 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, "lexical": { "shacl:xone": "[(10,6)-(13,0)]", "raml-shapes:discriminatorValueMapping": "[(15,8)-(17,0)]", @@ -397,9 +400,6 @@ "#1": "[(9,4)-(17,0)]", "raml-shapes:discriminatorMapping": "[(15,8)-(17,0)]", "shacl:name": "[(9,4)-(9,10)]" - }, - "declared-element": { - "#1": "" } } }, @@ -452,12 +452,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#8": "[(21,10)-(21,14)]" - }, "lexical": { "shacl:datatype": "[(21,10)-(22,0)]", "#8": "[(20,8)-(22,0)]" + }, + "type-property-lexical-info": { + "#8": "[(21,10)-(21,14)]" } } } @@ -491,21 +491,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#6": "amf://id#9" - }, "type-property-lexical-info": { "#6": "[(18,6)-(18,10)]" }, - "lexical": { - "shacl:name": "[(17,4)-(17,7)]", - "#6": "[(17,4)-(22,0)]" + "resolved-link": { + "#6": "amf://id#9" + }, + "resolved-link-target": { + "#6": "amf://id#6" }, "declared-element": { "#6": "" }, - "resolved-link-target": { - "#6": "amf://id#6" + "lexical": { + "shacl:name": "[(17,4)-(17,7)]", + "#6": "[(17,4)-(22,0)]" } } }, @@ -558,12 +558,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#4": "[(26,10)-(26,14)]" - }, "lexical": { "shacl:datatype": "[(26,10)-(27,0)]", "#4": "[(25,8)-(27,0)]" + }, + "type-property-lexical-info": { + "#4": "[(26,10)-(26,14)]" } } } @@ -597,21 +597,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#2": "amf://id#5" - }, "type-property-lexical-info": { "#2": "[(23,6)-(23,10)]" }, - "lexical": { - "shacl:name": "[(22,4)-(22,7)]", - "#2": "[(22,4)-(27,0)]" + "resolved-link": { + "#2": "amf://id#5" + }, + "resolved-link-target": { + "#2": "amf://id#2" }, "declared-element": { "#2": "" }, - "resolved-link-target": { - "#2": "amf://id#2" + "lexical": { + "shacl:name": "[(22,4)-(22,7)]", + "#2": "[(22,4)-(27,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/oas30-discriminator-invalid-mapping/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/oas30-discriminator-invalid-mapping/api.flattened.jsonld index 0b2605dff8..bfcc2cd7c3 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas30-discriminator-invalid-mapping/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas30-discriminator-invalid-mapping/api.flattened.jsonld @@ -90,6 +90,9 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, "lexical": { "shacl:xone": "[(10,6)-(13,0)]", "raml-shapes:discriminatorValueMapping": "[(15,8)-(17,0)]", @@ -97,9 +100,6 @@ "#1": "[(9,4)-(17,0)]", "raml-shapes:discriminatorMapping": "[(15,8)-(17,0)]", "shacl:name": "[(9,4)-(9,10)]" - }, - "declared-element": { - "#1": "" } } }, @@ -123,21 +123,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#6": "amf://id#9" - }, "type-property-lexical-info": { "#6": "[(18,6)-(18,10)]" }, - "lexical": { - "shacl:name": "[(17,4)-(17,7)]", - "#6": "[(17,4)-(22,0)]" + "resolved-link": { + "#6": "amf://id#9" + }, + "resolved-link-target": { + "#6": "amf://id#6" }, "declared-element": { "#6": "" }, - "resolved-link-target": { - "#6": "amf://id#6" + "lexical": { + "shacl:name": "[(17,4)-(17,7)]", + "#6": "[(17,4)-(22,0)]" } } }, @@ -161,21 +161,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#2": "amf://id#5" - }, "type-property-lexical-info": { "#2": "[(23,6)-(23,10)]" }, - "lexical": { - "shacl:name": "[(22,4)-(22,7)]", - "#2": "[(22,4)-(27,0)]" + "resolved-link": { + "#2": "amf://id#5" + }, + "resolved-link-target": { + "#2": "amf://id#2" }, "declared-element": { "#2": "" }, - "resolved-link-target": { - "#2": "amf://id#2" + "lexical": { + "shacl:name": "[(22,4)-(22,7)]", + "#2": "[(22,4)-(27,0)]" } } }, @@ -284,11 +284,11 @@ "resolved-link": { "#12": "amf://id#13" }, - "lexical": { - "#12": "[(16,19)-(16,25)]" - }, "resolved-link-target": { "#12": "amf://id#12" + }, + "lexical": { + "#12": "[(16,19)-(16,25)]" } } }, @@ -308,12 +308,12 @@ ], "shacl:name": "name", "smaps": { - "type-property-lexical-info": { - "#8": "[(21,10)-(21,14)]" - }, "lexical": { "shacl:datatype": "[(21,10)-(22,0)]", "#8": "[(20,8)-(22,0)]" + }, + "type-property-lexical-info": { + "#8": "[(21,10)-(21,14)]" } } }, @@ -333,12 +333,12 @@ ], "shacl:name": "bark", "smaps": { - "type-property-lexical-info": { - "#4": "[(26,10)-(26,14)]" - }, "lexical": { "shacl:datatype": "[(26,10)-(27,0)]", "#4": "[(25,8)-(27,0)]" + }, + "type-property-lexical-info": { + "#4": "[(26,10)-(26,14)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/oas30-discriminator/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/oas30-discriminator/api.expanded.jsonld index 51c576be45..4c429ce846 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas30-discriminator/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas30-discriminator/api.expanded.jsonld @@ -313,12 +313,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#4": "[(36,10)-(36,14)]" - }, "lexical": { "shacl:datatype": "[(36,10)-(37,0)]", "#4": "[(35,8)-(37,0)]" + }, + "type-property-lexical-info": { + "#4": "[(36,10)-(36,14)]" } } } @@ -352,21 +352,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#2": "amf://id#7" - }, "type-property-lexical-info": { "#2": "[(33,6)-(33,10)]" }, - "lexical": { - "shacl:name": "[(32,4)-(32,7)]", - "#2": "[(32,4)-(37,0)]" + "resolved-link": { + "#2": "amf://id#7" + }, + "resolved-link-target": { + "#2": "amf://id#5" }, "declared-element": { "#2": "" }, - "resolved-link-target": { - "#2": "amf://id#6" + "lexical": { + "shacl:name": "[(32,4)-(32,7)]", + "#2": "[(32,4)-(37,0)]" } } } @@ -440,12 +440,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#10": "[(31,10)-(31,14)]" - }, "lexical": { "shacl:datatype": "[(31,10)-(32,0)]", "#10": "[(30,8)-(32,0)]" + }, + "type-property-lexical-info": { + "#10": "[(31,10)-(31,14)]" } } } @@ -479,21 +479,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#8": "amf://id#13" - }, "type-property-lexical-info": { "#8": "[(28,6)-(28,10)]" }, - "lexical": { - "shacl:name": "[(27,4)-(27,7)]", - "#8": "[(27,4)-(32,0)]" + "resolved-link": { + "#8": "amf://id#13" + }, + "resolved-link-target": { + "#8": "amf://id#11" }, "declared-element": { "#8": "" }, - "resolved-link-target": { - "#8": "amf://id#12" + "lexical": { + "shacl:name": "[(27,4)-(27,7)]", + "#8": "[(27,4)-(32,0)]" } } } @@ -567,12 +567,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#4": "[(36,10)-(36,14)]" - }, "lexical": { "shacl:datatype": "[(36,10)-(37,0)]", "#4": "[(35,8)-(37,0)]" + }, + "type-property-lexical-info": { + "#4": "[(36,10)-(36,14)]" } } } @@ -606,21 +606,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#2": "amf://id#7" - }, "type-property-lexical-info": { "#2": "[(33,6)-(33,10)]" }, - "lexical": { - "shacl:name": "[(32,4)-(32,7)]", - "#2": "[(32,4)-(37,0)]" + "resolved-link": { + "#2": "amf://id#7" + }, + "resolved-link-target": { + "#2": "amf://id#5" }, "declared-element": { "#2": "" }, - "resolved-link-target": { - "#2": "amf://id#6" + "lexical": { + "shacl:name": "[(32,4)-(32,7)]", + "#2": "[(32,4)-(37,0)]" } } }, @@ -673,12 +673,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#10": "[(31,10)-(31,14)]" - }, "lexical": { "shacl:datatype": "[(31,10)-(32,0)]", "#10": "[(30,8)-(32,0)]" + }, + "type-property-lexical-info": { + "#10": "[(31,10)-(31,14)]" } } } @@ -712,21 +712,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#8": "amf://id#13" - }, "type-property-lexical-info": { "#8": "[(28,6)-(28,10)]" }, - "lexical": { - "shacl:name": "[(27,4)-(27,7)]", - "#8": "[(27,4)-(32,0)]" + "resolved-link": { + "#8": "amf://id#13" + }, + "resolved-link-target": { + "#8": "amf://id#11" }, "declared-element": { "#8": "" }, - "resolved-link-target": { - "#8": "amf://id#12" + "lexical": { + "shacl:name": "[(27,4)-(27,7)]", + "#8": "[(27,4)-(32,0)]" } } } @@ -736,6 +736,12 @@ "doc:recursive": "true", "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#18" + }, "resolved-link": { "#1": "amf://id#1" }, @@ -746,12 +752,6 @@ "#1": "[(18,4)-(27,0)]", "raml-shapes:discriminatorMapping": "[(24,8)-(27,0)]", "shacl:name": "[(18,4)-(18,10)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#18" } } }, @@ -804,12 +804,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#10": "[(31,10)-(31,14)]" - }, "lexical": { "shacl:datatype": "[(31,10)-(32,0)]", "#10": "[(30,8)-(32,0)]" + }, + "type-property-lexical-info": { + "#10": "[(31,10)-(31,14)]" } } } @@ -843,21 +843,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#8": "amf://id#13" - }, "type-property-lexical-info": { "#8": "[(28,6)-(28,10)]" }, - "lexical": { - "shacl:name": "[(27,4)-(27,7)]", - "#8": "[(27,4)-(32,0)]" + "resolved-link": { + "#8": "amf://id#13" + }, + "resolved-link-target": { + "#8": "amf://id#11" }, "declared-element": { "#8": "" }, - "resolved-link-target": { - "#8": "amf://id#12" + "lexical": { + "shacl:name": "[(27,4)-(27,7)]", + "#8": "[(27,4)-(32,0)]" } } }, @@ -910,12 +910,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#4": "[(36,10)-(36,14)]" - }, "lexical": { "shacl:datatype": "[(36,10)-(37,0)]", "#4": "[(35,8)-(37,0)]" + }, + "type-property-lexical-info": { + "#4": "[(36,10)-(36,14)]" } } } @@ -949,21 +949,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#2": "amf://id#7" - }, "type-property-lexical-info": { "#2": "[(33,6)-(33,10)]" }, - "lexical": { - "shacl:name": "[(32,4)-(32,7)]", - "#2": "[(32,4)-(37,0)]" + "resolved-link": { + "#2": "amf://id#7" + }, + "resolved-link-target": { + "#2": "amf://id#5" }, "declared-element": { "#2": "" }, - "resolved-link-target": { - "#2": "amf://id#6" + "lexical": { + "shacl:name": "[(32,4)-(32,7)]", + "#2": "[(32,4)-(37,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/oas30-discriminator/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/oas30-discriminator/api.flattened.jsonld index 7fc06350d2..afcb387416 100644 --- a/amf-cli/shared/src/test/resources/resolution/oas30-discriminator/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/oas30-discriminator/api.flattened.jsonld @@ -157,6 +157,12 @@ "doc:recursive": "true", "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#18" + }, "resolved-link": { "#1": "amf://id#1" }, @@ -167,12 +173,6 @@ "#1": "[(18,4)-(27,0)]", "raml-shapes:discriminatorMapping": "[(24,8)-(27,0)]", "shacl:name": "[(18,4)-(18,10)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#18" } } }, @@ -264,21 +264,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#2": "amf://id#7" - }, "type-property-lexical-info": { "#2": "[(33,6)-(33,10)]" }, - "lexical": { - "shacl:name": "[(32,4)-(32,7)]", - "#2": "[(32,4)-(37,0)]" + "resolved-link": { + "#2": "amf://id#7" + }, + "resolved-link-target": { + "#2": "amf://id#5" }, "declared-element": { "#2": "" }, - "resolved-link-target": { - "#2": "amf://id#6" + "lexical": { + "shacl:name": "[(32,4)-(32,7)]", + "#2": "[(32,4)-(37,0)]" } } }, @@ -302,21 +302,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#8": "amf://id#13" - }, "type-property-lexical-info": { "#8": "[(28,6)-(28,10)]" }, - "lexical": { - "shacl:name": "[(27,4)-(27,7)]", - "#8": "[(27,4)-(32,0)]" + "resolved-link": { + "#8": "amf://id#13" + }, + "resolved-link-target": { + "#8": "amf://id#11" }, "declared-element": { "#8": "" }, - "resolved-link-target": { - "#8": "amf://id#12" + "lexical": { + "shacl:name": "[(27,4)-(27,7)]", + "#8": "[(27,4)-(32,0)]" } } }, @@ -390,12 +390,12 @@ ], "shacl:name": "bark", "smaps": { - "type-property-lexical-info": { - "#4": "[(36,10)-(36,14)]" - }, "lexical": { "shacl:datatype": "[(36,10)-(37,0)]", "#4": "[(35,8)-(37,0)]" + }, + "type-property-lexical-info": { + "#4": "[(36,10)-(36,14)]" } } }, @@ -415,12 +415,12 @@ ], "shacl:name": "name", "smaps": { - "type-property-lexical-info": { - "#10": "[(31,10)-(31,14)]" - }, "lexical": { "shacl:datatype": "[(31,10)-(32,0)]", "#10": "[(30,8)-(32,0)]" + }, + "type-property-lexical-info": { + "#10": "[(31,10)-(31,14)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/operation-path-parameters/result.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/operation-path-parameters/result.expanded.jsonld index 7588af65ae..2f616237ec 100644 --- a/amf-cli/shared/src/test/resources/resolution/operation-path-parameters/result.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/operation-path-parameters/result.expanded.jsonld @@ -149,13 +149,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#7": "[(17,8)-(17,12)]" - }, "lexical": { "core:description": "[(15,8)-(16,0)]", "#7": "[(14,6)-(18,0)]", "shacl:datatype": "[(17,8)-(18,0)]" + }, + "type-property-lexical-info": { + "#7": "[(17,8)-(17,12)]" } } } @@ -175,12 +175,12 @@ ], "apiContract:payload": [], "smaps": { + "virtual-element": { + "#5": "true" + }, "lexical": { "apiContract:uriParameter": "[(13,4)-(18,0)]", "#5": "[(13,28)-(18,0)]" - }, - "virtual-element": { - "#5": "true" } } } @@ -317,13 +317,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#12": "[(28,8)-(28,12)]" - }, "lexical": { "core:description": "[(26,8)-(27,0)]", "#12": "[(25,6)-(29,0)]", "shacl:datatype": "[(28,8)-(29,0)]" + }, + "type-property-lexical-info": { + "#12": "[(28,8)-(28,12)]" } } } @@ -343,12 +343,12 @@ ], "apiContract:payload": [], "smaps": { + "virtual-element": { + "#10": "true" + }, "lexical": { "apiContract:uriParameter": "[(24,4)-(29,0)]", "#10": "[(24,28)-(29,0)]" - }, - "virtual-element": { - "#10": "true" } } } @@ -539,13 +539,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#18": "[(43,6)-(43,10)]" - }, "lexical": { "core:description": "[(42,6)-(43,0)]", "#18": "[(41,4)-(44,0)]", "shacl:datatype": "[(43,6)-(44,0)]" + }, + "type-property-lexical-info": { + "#18": "[(43,6)-(43,10)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/operation-path-parameters/result.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/operation-path-parameters/result.flattened.jsonld index 14956cec7a..6b0709c7d0 100644 --- a/amf-cli/shared/src/test/resources/resolution/operation-path-parameters/result.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/operation-path-parameters/result.flattened.jsonld @@ -219,12 +219,12 @@ ], "apiContract:payload": [], "smaps": { + "virtual-element": { + "#5": "true" + }, "lexical": { "apiContract:uriParameter": "[(13,4)-(18,0)]", "#5": "[(13,28)-(18,0)]" - }, - "virtual-element": { - "#5": "true" } } }, @@ -262,12 +262,12 @@ ], "apiContract:payload": [], "smaps": { + "virtual-element": { + "#10": "true" + }, "lexical": { "apiContract:uriParameter": "[(24,4)-(29,0)]", "#10": "[(24,28)-(29,0)]" - }, - "virtual-element": { - "#10": "true" } } }, @@ -326,13 +326,13 @@ "shacl:name": "schema", "core:description": "The id of the document to be retrieved.", "smaps": { - "type-property-lexical-info": { - "#18": "[(43,6)-(43,10)]" - }, "lexical": { "core:description": "[(42,6)-(43,0)]", "#18": "[(41,4)-(44,0)]", "shacl:datatype": "[(43,6)-(44,0)]" + }, + "type-property-lexical-info": { + "#18": "[(43,6)-(43,10)]" } } }, @@ -407,13 +407,13 @@ "shacl:name": "schema", "core:description": "string parameter", "smaps": { - "type-property-lexical-info": { - "#7": "[(17,8)-(17,12)]" - }, "lexical": { "core:description": "[(15,8)-(16,0)]", "#7": "[(14,6)-(18,0)]", "shacl:datatype": "[(17,8)-(18,0)]" + }, + "type-property-lexical-info": { + "#7": "[(17,8)-(17,12)]" } } }, @@ -434,13 +434,13 @@ "shacl:name": "schema", "core:description": "integer parameter", "smaps": { - "type-property-lexical-info": { - "#12": "[(28,8)-(28,12)]" - }, "lexical": { "core:description": "[(26,8)-(27,0)]", "#12": "[(25,6)-(29,0)]", "shacl:datatype": "[(28,8)-(29,0)]" + }, + "type-property-lexical-info": { + "#12": "[(28,8)-(28,12)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.expanded.jsonld index b4fb113771..7cf37a1cb9 100644 --- a/amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.expanded.jsonld @@ -744,9 +744,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version" @@ -754,14 +754,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(12,9)-(12,18)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version" @@ -769,7 +769,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,9)-(12,18)]" + "@value": "true" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.flattened.jsonld index 5d892daa5e..6fbd9371dc 100644 --- a/amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.flattened.jsonld @@ -573,14 +573,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version/source-map/virtual-element/element_0" } ] }, @@ -696,14 +696,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(12,9)-(12,18)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/parameter/parameter/path/version", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,9)-(12,18)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/overrided-baseUriParams.raml#/web-api/endpoint/%2Fhistory%2F%7Bversion%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/source-map/lexical/element_0", diff --git a/amf-cli/shared/src/test/resources/resolution/parameter-without-type/parameter-without-type.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/parameter-without-type/parameter-without-type.expanded.jsonld index 9f1fa35a99..b7984bb742 100644 --- a/amf-cli/shared/src/test/resources/resolution/parameter-without-type/parameter-without-type.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/parameter-without-type/parameter-without-type.expanded.jsonld @@ -34,14 +34,14 @@ } ], "smaps": { - "host-lexical": { - "core:urlTemplate": "[(6,2)-(6,33)]" + "synthesized-field": { + "core:urlTemplate": "true" }, "virtual-element": { "#5": "true" }, - "synthesized-field": { - "core:urlTemplate": "true" + "host-lexical": { + "core:urlTemplate": "[(6,2)-(6,33)]" } } } @@ -243,12 +243,12 @@ "form-body-parameter": { "#1": "true" }, + "declared-element": { + "#1": "" + }, "lexical": { "core:name": "[(20,6)-(20,35)]", "#1": "[(19,4)-(22,5)]" - }, - "declared-element": { - "#1": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/parameter-without-type/parameter-without-type.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/parameter-without-type/parameter-without-type.flattened.jsonld index 070c382c9f..a2ff002320 100644 --- a/amf-cli/shared/src/test/resources/resolution/parameter-without-type/parameter-without-type.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/parameter-without-type/parameter-without-type.flattened.jsonld @@ -44,14 +44,14 @@ ], "core:urlTemplate": "sandbox.przelewy24.pl", "smaps": { - "host-lexical": { - "core:urlTemplate": "[(6,2)-(6,33)]" + "synthesized-field": { + "core:urlTemplate": "true" }, "virtual-element": { "#5": "true" }, - "synthesized-field": { - "core:urlTemplate": "true" + "host-lexical": { + "core:urlTemplate": "[(6,2)-(6,33)]" } } }, @@ -211,12 +211,12 @@ "form-body-parameter": { "#1": "true" }, + "declared-element": { + "#1": "" + }, "lexical": { "core:name": "[(20,6)-(20,35)]", "#1": "[(19,4)-(22,5)]" - }, - "declared-element": { - "#1": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/parameters.json.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/parameters.json.expanded.jsonld index c594649cae..d8ef669160 100644 --- a/amf-cli/shared/src/test/resources/resolution/parameters.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/parameters.json.expanded.jsonld @@ -114,9 +114,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema" @@ -124,35 +124,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,10)-(20,16)]" + "@value": "[(16,8)-(21,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,8)-(21,9)]" + "@value": "[(20,10)-(20,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,10)-(20,26)]" + "@value": "[(20,10)-(20,16)]" } ] } @@ -303,9 +303,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema" @@ -313,35 +313,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,12)-(36,18)]" + "@value": "[(32,10)-(37,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,10)-(37,11)]" + "@value": "[(36,12)-(36,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,12)-(36,28)]" + "@value": "[(36,12)-(36,18)]" } ] } @@ -504,21 +504,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(30,12)-(30,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema/source-map/lexical/element_2", @@ -559,6 +544,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(30,12)-(30,18)]" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/resolution/parameters.json.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/parameters.json.flattened.jsonld index a3ab11f288..094c687cbf 100644 --- a/amf-cli/shared/src/test/resources/resolution/parameters.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/parameters.json.flattened.jsonld @@ -473,11 +473,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema/source-map/lexical/element_1" @@ -485,6 +480,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -522,11 +522,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema/source-map/lexical/element_1" @@ -534,6 +529,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -571,11 +571,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema/source-map/lexical/element_2" @@ -586,6 +581,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -623,11 +623,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(28,12)-(28,40)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema", @@ -639,9 +634,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(36,12)-(36,18)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/parameter/parameter/query/b/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema/source-map/lexical/element_1", @@ -654,9 +649,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(36,12)-(36,28)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,12)-(30,18)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/parameter/parameter/query/c/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,12)-(36,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema/source-map/lexical/element_2", @@ -673,6 +668,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(25,10)-(31,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/parameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/uri%20parameter/parameter/path/a/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,12)-(30,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/parameters.json", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/payloads-examples-resolution.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/payloads-examples-resolution.resolved.expanded.jsonld index cedecb4b92..ac5c4d7434 100644 --- a/amf-cli/shared/src/test/resources/resolution/payloads-examples-resolution.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/payloads-examples-resolution.resolved.expanded.jsonld @@ -98,12 +98,12 @@ } ], "smaps": { + "virtual-element": { + "#26": "true" + }, "lexical": { "apiContract:payload": "[(14,4)-(21,0)]", "#26": "[(14,9)-(21,0)]" - }, - "virtual-element": { - "#26": "true" } } } @@ -178,12 +178,12 @@ } ], "smaps": { + "virtual-element": { + "#28": "true" + }, "lexical": { "apiContract:payload": "[(22,4)-(28,19)]", "#28": "[(22,9)-(28,19)]" - }, - "virtual-element": { - "#28": "true" } } } @@ -769,18 +769,18 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#21" - }, - "lexical": { - "shacl:name": "[(4,2)-(4,3)]", - "#1": "[(4,2)-(12,0)]" - }, "declared-element": { "#1": "" }, "resolved-link-target": { "#1": "amf://id#20" + }, + "resolved-link": { + "#1": "amf://id#1" + }, + "lexical": { + "shacl:name": "[(4,2)-(4,3)]", + "#1": "[(4,2)-(12,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/payloads-examples-resolution.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/payloads-examples-resolution.resolved.flattened.jsonld index a58d8132cc..cccaa57c26 100644 --- a/amf-cli/shared/src/test/resources/resolution/payloads-examples-resolution.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/payloads-examples-resolution.resolved.flattened.jsonld @@ -104,12 +104,12 @@ } ], "smaps": { + "virtual-element": { + "#26": "true" + }, "lexical": { "apiContract:payload": "[(14,4)-(21,0)]", "#26": "[(14,9)-(21,0)]" - }, - "virtual-element": { - "#26": "true" } } }, @@ -127,12 +127,12 @@ } ], "smaps": { + "virtual-element": { + "#28": "true" + }, "lexical": { "apiContract:payload": "[(22,4)-(28,19)]", "#28": "[(22,9)-(28,19)]" - }, - "virtual-element": { - "#28": "true" } } }, @@ -204,18 +204,18 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#21" - }, - "lexical": { - "shacl:name": "[(4,2)-(4,3)]", - "#1": "[(4,2)-(12,0)]" - }, "declared-element": { "#1": "" }, "resolved-link-target": { "#1": "amf://id#20" + }, + "resolved-link": { + "#1": "amf://id#1" + }, + "lexical": { + "shacl:name": "[(4,2)-(4,3)]", + "#1": "[(4,2)-(12,0)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/queryString/query-string.json.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/queryString/query-string.json.expanded.jsonld index 570d5f3349..7b11a27c12 100644 --- a/amf-cli/shared/src/test/resources/resolution/queryString/query-string.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/queryString/query-string.json.expanded.jsonld @@ -120,9 +120,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size" @@ -130,35 +130,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,10)-(30,16)]" + "@value": "[(29,8)-(31,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,8)-(31,9)]" + "@value": "[(30,10)-(30,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,10)-(30,26)]" + "@value": "[(30,10)-(30,16)]" } ] } @@ -255,9 +255,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long" @@ -265,35 +265,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,10)-(13,16)]" + "@value": "[(12,8)-(14,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(14,9)]" + "@value": "[(13,10)-(13,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,10)-(13,26)]" + "@value": "[(13,10)-(13,16)]" } ] } @@ -390,9 +390,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start" @@ -400,35 +400,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,10)-(27,16)]" + "@value": "[(26,8)-(28,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,8)-(28,9)]" + "@value": "[(27,10)-(27,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,10)-(27,26)]" + "@value": "[(27,10)-(27,16)]" } ] } @@ -525,9 +525,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat" @@ -535,35 +535,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,10)-(10,16)]" + "@value": "[(9,8)-(11,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(11,9)]" + "@value": "[(10,10)-(10,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,10)-(10,26)]" + "@value": "[(10,10)-(10,16)]" } ] } @@ -648,9 +648,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0" @@ -658,14 +658,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(38,8)-(43,9)]" + "@value": "[(39,10)-(39,16)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0" @@ -673,7 +673,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,10)-(39,16)]" + "@value": "[(38,8)-(43,9)]" } ] } @@ -735,9 +735,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location" @@ -745,35 +745,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,10)-(20,16)]" + "@value": "[(19,8)-(21,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(21,9)]" + "@value": "[(20,10)-(20,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,10)-(20,26)]" + "@value": "[(20,10)-(20,16)]" } ] } @@ -870,9 +870,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size" @@ -880,35 +880,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,10)-(30,16)]" + "@value": "[(29,8)-(31,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,8)-(31,9)]" + "@value": "[(30,10)-(30,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,10)-(30,26)]" + "@value": "[(30,10)-(30,16)]" } ] } @@ -1005,9 +1005,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start" @@ -1015,35 +1015,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,10)-(27,16)]" + "@value": "[(26,8)-(28,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,8)-(28,9)]" + "@value": "[(27,10)-(27,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,10)-(27,26)]" + "@value": "[(27,10)-(27,16)]" } ] } @@ -1128,9 +1128,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1" @@ -1138,14 +1138,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(38,8)-(43,9)]" + "@value": "[(39,10)-(39,16)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1" @@ -1153,7 +1153,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,10)-(39,16)]" + "@value": "[(38,8)-(43,9)]" } ] } @@ -1173,9 +1173,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString" @@ -1183,14 +1183,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,10)-(39,16)]" + "@value": "[(38,8)-(43,9)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString" @@ -1198,7 +1198,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(38,8)-(43,9)]" + "@value": "[(39,10)-(39,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/queryString/query-string.json.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/queryString/query-string.json.flattened.jsonld index 75bfb9dc20..e43791e276 100644 --- a/amf-cli/shared/src/test/resources/resolution/queryString/query-string.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/queryString/query-string.json.flattened.jsonld @@ -259,14 +259,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/type-property-lexical-info/element_0" } ] }, @@ -386,14 +386,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0/source-map/lexical/element_0" } ] }, @@ -431,26 +431,26 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,10)-(39,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(38,8)-(43,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString", - "http://a.ml/vocabularies/document-source-maps#value": "[(38,8)-(43,9)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(39,10)-(39,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size", @@ -606,14 +606,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0", - "http://a.ml/vocabularies/document-source-maps#value": "[(38,8)-(43,9)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(39,10)-(39,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_0", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,10)-(39,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(38,8)-(43,9)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location", @@ -658,25 +658,20 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(38,8)-(43,9)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(39,10)-(39,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,10)-(39,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(38,8)-(43,9)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1" @@ -684,6 +679,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -701,11 +701,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1" @@ -713,6 +708,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -730,11 +730,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1" @@ -742,6 +737,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -759,11 +759,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1" @@ -771,6 +766,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -788,11 +788,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1" @@ -800,6 +795,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -812,11 +812,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location", "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(21,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(30,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size", @@ -828,9 +823,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(30,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,16)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/page-size/scalar/page-size", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(30,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", @@ -843,9 +838,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,10)-(27,16)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", @@ -858,9 +853,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(27,10)-(27,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,10)-(10,16)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/shape/paging/property/property/start/scalar/start", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,10)-(27,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", @@ -873,9 +868,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(10,10)-(10,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,16)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,10)-(10,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1", @@ -887,6 +882,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/scalar/location", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.json", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml.expanded.jsonld index 3a23b0b80d..5971482ac9 100644 --- a/amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml.expanded.jsonld @@ -120,9 +120,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size" @@ -130,35 +130,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(19,12)]" + "@value": "[(18,6)-(20,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,6)-(20,0)]" + "@value": "[(19,8)-(20,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(20,0)]" + "@value": "[(19,8)-(19,12)]" } ] } @@ -281,9 +281,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long" @@ -291,35 +291,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(9,12)]" + "@value": "[(8,6)-(10,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,6)-(10,0)]" + "@value": "[(9,8)-(10,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(10,0)]" + "@value": "[(9,8)-(9,12)]" } ] } @@ -442,9 +442,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start" @@ -452,35 +452,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(17,12)]" + "@value": "[(16,6)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,6)-(18,0)]" + "@value": "[(17,8)-(18,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(18,0)]" + "@value": "[(17,8)-(17,12)]" } ] } @@ -603,9 +603,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat" @@ -613,35 +613,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(7,12)]" + "@value": "[(6,6)-(8,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(8,0)]" + "@value": "[(7,8)-(8,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(8,0)]" + "@value": "[(7,8)-(7,12)]" } ] } @@ -752,9 +752,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0" @@ -762,14 +762,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,4)-(23,38)]" + "@value": "[(23,6)-(23,10)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0" @@ -777,7 +777,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,6)-(23,10)]" + "@value": "[(22,4)-(23,38)]" } ] } @@ -833,9 +833,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location" @@ -843,14 +843,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(13,12)]" + "@value": "[(12,6)-(14,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location" @@ -858,7 +858,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,6)-(14,0)]" + "@value": "[(13,8)-(13,12)]" } ] } @@ -981,9 +981,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size" @@ -991,35 +991,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(19,12)]" + "@value": "[(18,6)-(20,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,6)-(20,0)]" + "@value": "[(19,8)-(20,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(20,0)]" + "@value": "[(19,8)-(19,12)]" } ] } @@ -1142,9 +1142,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start" @@ -1152,35 +1152,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(17,12)]" + "@value": "[(16,6)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,6)-(18,0)]" + "@value": "[(17,8)-(18,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(18,0)]" + "@value": "[(17,8)-(17,12)]" } ] } @@ -1291,9 +1291,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1" @@ -1301,14 +1301,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,4)-(23,38)]" + "@value": "[(23,6)-(23,10)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1" @@ -1316,7 +1316,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,6)-(23,10)]" + "@value": "[(22,4)-(23,38)]" } ] } @@ -1336,9 +1336,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString" @@ -1346,14 +1346,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,6)-(23,10)]" + "@value": "[(22,4)-(23,38)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString" @@ -1361,7 +1361,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,4)-(23,38)]" + "@value": "[(23,6)-(23,10)]" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml.flattened.jsonld index 874479997c..9051a23553 100644 --- a/amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml.flattened.jsonld @@ -251,14 +251,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/type-property-lexical-info/element_0" } ] }, @@ -378,14 +378,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0/source-map/lexical/element_0" } ] }, @@ -423,26 +423,26 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString", - "http://a.ml/vocabularies/document-source-maps#value": "[(23,6)-(23,10)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(22,4)-(23,38)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString", - "http://a.ml/vocabularies/document-source-maps#value": "[(22,4)-(23,38)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(23,6)-(23,10)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size", @@ -622,14 +622,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0", - "http://a.ml/vocabularies/document-source-maps#value": "[(22,4)-(23,38)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(23,6)-(23,10)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_0", - "http://a.ml/vocabularies/document-source-maps#value": "[(23,6)-(23,10)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(22,4)-(23,38)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location", @@ -674,25 +674,20 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(22,4)-(23,38)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(23,6)-(23,10)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(23,6)-(23,10)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(22,4)-(23,38)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1" @@ -700,6 +695,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -727,11 +727,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1" @@ -739,6 +734,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -766,11 +766,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1" @@ -778,6 +773,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -805,11 +805,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1" @@ -817,6 +812,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -844,14 +844,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0" } ] }, @@ -875,11 +875,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(12,15)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size", @@ -891,9 +886,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(20,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/page-size/scalar/page-size", + "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", @@ -906,9 +901,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(10,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(17,12)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/long/scalar/long", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", @@ -921,9 +916,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(18,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/shape/paging/property/property/start/scalar/start", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(17,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", @@ -936,15 +931,20 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(8,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,12)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/lat-long/property/property/lat/scalar/lat", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location", "http://a.ml/vocabularies/document-source-maps#value": "[(12,6)-(14,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/loc/property/property/location/nil/location", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/query-string.raml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json.expanded.jsonld index b0fd7a69bc..29339f93ef 100644 --- a/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json.expanded.jsonld @@ -217,9 +217,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size" @@ -227,35 +227,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,10)-(30,16)]" + "@value": "[(29,8)-(31,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,8)-(31,9)]" + "@value": "[(30,10)-(30,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,10)-(30,26)]" + "@value": "[(30,10)-(30,16)]" } ] } @@ -352,9 +352,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long" @@ -362,35 +362,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,10)-(13,16)]" + "@value": "[(12,8)-(14,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(14,9)]" + "@value": "[(13,10)-(13,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,10)-(13,26)]" + "@value": "[(13,10)-(13,16)]" } ] } @@ -487,9 +487,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start" @@ -497,35 +497,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,10)-(27,16)]" + "@value": "[(26,8)-(28,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,8)-(28,9)]" + "@value": "[(27,10)-(27,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,10)-(27,26)]" + "@value": "[(27,10)-(27,16)]" } ] } @@ -622,9 +622,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat" @@ -632,35 +632,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,10)-(10,16)]" + "@value": "[(9,8)-(11,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(11,9)]" + "@value": "[(10,10)-(10,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,10)-(10,26)]" + "@value": "[(10,10)-(10,16)]" } ] } @@ -745,9 +745,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0" @@ -755,14 +755,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,8)-(44,9)]" + "@value": "[(40,10)-(40,16)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0" @@ -770,7 +770,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,10)-(40,16)]" + "@value": "[(39,8)-(44,9)]" } ] } @@ -832,9 +832,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location" @@ -842,35 +842,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,10)-(20,16)]" + "@value": "[(19,8)-(21,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(21,9)]" + "@value": "[(20,10)-(20,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,10)-(20,26)]" + "@value": "[(20,10)-(20,16)]" } ] } @@ -967,9 +967,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size" @@ -977,35 +977,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,10)-(30,16)]" + "@value": "[(29,8)-(31,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,8)-(31,9)]" + "@value": "[(30,10)-(30,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,10)-(30,26)]" + "@value": "[(30,10)-(30,16)]" } ] } @@ -1102,9 +1102,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start" @@ -1112,35 +1112,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,10)-(27,16)]" + "@value": "[(26,8)-(28,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,8)-(28,9)]" + "@value": "[(27,10)-(27,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,10)-(27,26)]" + "@value": "[(27,10)-(27,16)]" } ] } @@ -1225,9 +1225,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1" @@ -1235,14 +1235,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,8)-(44,9)]" + "@value": "[(40,10)-(40,16)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1" @@ -1250,7 +1250,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,10)-(40,16)]" + "@value": "[(39,8)-(44,9)]" } ] } @@ -1270,9 +1270,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString" @@ -1280,14 +1280,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,10)-(40,16)]" + "@value": "[(39,8)-(44,9)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString" @@ -1295,7 +1295,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,8)-(44,9)]" + "@value": "[(40,10)-(40,16)]" } ] } @@ -1310,21 +1310,6 @@ "@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/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0" - } - ], - "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/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/lexical/element_3", @@ -1378,6 +1363,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json.flattened.jsonld index 5b3ddbe538..8229eaa08f 100644 --- a/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json.flattened.jsonld @@ -131,11 +131,6 @@ "@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/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/lexical/element_3" @@ -149,6 +144,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" + } ] }, { @@ -231,22 +231,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString/source-map/type-property-lexical-info/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -267,6 +262,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0", "http://a.ml/vocabularies/document-source-maps#value": "[(36,4)-(46,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/settings/oauth2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/settings/oauth2", @@ -383,14 +383,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/lexical/element_0" } ] }, @@ -428,26 +428,26 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString", - "http://a.ml/vocabularies/document-source-maps#value": "[(40,10)-(40,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(39,8)-(44,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,8)-(44,9)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(40,10)-(40,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size", @@ -603,14 +603,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,8)-(44,9)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(40,10)-(40,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_0", - "http://a.ml/vocabularies/document-source-maps#value": "[(40,10)-(40,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(39,8)-(44,9)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location", @@ -655,25 +655,20 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,8)-(44,9)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(40,10)-(40,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/scheme/oauth_2_0/shape/queryString_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(40,10)-(40,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(39,8)-(44,9)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1" @@ -681,6 +676,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -698,11 +698,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1" @@ -710,6 +705,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -727,11 +727,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1" @@ -739,6 +734,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -756,11 +756,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1" @@ -768,6 +763,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -785,11 +785,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1" @@ -797,6 +792,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -809,11 +809,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location", "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(21,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(30,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size", @@ -825,9 +820,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(30,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,16)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(30,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", @@ -840,9 +835,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,10)-(27,16)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", @@ -855,9 +850,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(27,10)-(27,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,10)-(10,16)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,10)-(27,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", @@ -870,9 +865,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(10,10)-(10,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,16)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,10)-(10,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1", @@ -883,6 +878,11 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,26)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml.expanded.jsonld index dc733f74ee..46c6319849 100644 --- a/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml.expanded.jsonld @@ -169,9 +169,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size" @@ -179,35 +179,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(19,12)]" + "@value": "[(18,6)-(20,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,6)-(20,0)]" + "@value": "[(19,8)-(20,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(20,0)]" + "@value": "[(19,8)-(19,12)]" } ] } @@ -330,9 +330,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long" @@ -340,35 +340,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(9,12)]" + "@value": "[(8,6)-(10,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,6)-(10,0)]" + "@value": "[(9,8)-(10,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(10,0)]" + "@value": "[(9,8)-(9,12)]" } ] } @@ -491,9 +491,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start" @@ -501,35 +501,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(17,12)]" + "@value": "[(16,6)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,6)-(18,0)]" + "@value": "[(17,8)-(18,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(18,0)]" + "@value": "[(17,8)-(17,12)]" } ] } @@ -652,9 +652,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat" @@ -662,35 +662,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(7,12)]" + "@value": "[(6,6)-(8,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(8,0)]" + "@value": "[(7,8)-(8,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(8,0)]" + "@value": "[(7,8)-(7,12)]" } ] } @@ -801,9 +801,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0" @@ -811,14 +811,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,6)-(27,26)]" + "@value": "[(25,8)-(25,12)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0" @@ -826,7 +826,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,8)-(25,12)]" + "@value": "[(24,6)-(27,26)]" } ] } @@ -882,9 +882,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location" @@ -892,14 +892,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(13,12)]" + "@value": "[(12,6)-(14,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location" @@ -907,7 +907,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,6)-(14,0)]" + "@value": "[(13,8)-(13,12)]" } ] } @@ -1030,9 +1030,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size" @@ -1040,35 +1040,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(19,12)]" + "@value": "[(18,6)-(20,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,6)-(20,0)]" + "@value": "[(19,8)-(20,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(20,0)]" + "@value": "[(19,8)-(19,12)]" } ] } @@ -1191,9 +1191,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start" @@ -1201,35 +1201,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(17,12)]" + "@value": "[(16,6)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,6)-(18,0)]" + "@value": "[(17,8)-(18,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(18,0)]" + "@value": "[(17,8)-(17,12)]" } ] } @@ -1340,9 +1340,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1" @@ -1350,14 +1350,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,6)-(27,26)]" + "@value": "[(25,8)-(25,12)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1" @@ -1365,7 +1365,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,8)-(25,12)]" + "@value": "[(24,6)-(27,26)]" } ] } @@ -1385,9 +1385,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString" @@ -1395,14 +1395,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,8)-(25,12)]" + "@value": "[(24,6)-(27,26)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString" @@ -1410,7 +1410,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,6)-(27,26)]" + "@value": "[(25,8)-(25,12)]" } ] } @@ -1425,21 +1425,6 @@ "@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/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0" - } - ], - "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/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_2", @@ -1480,6 +1465,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml.flattened.jsonld index 9e51a4c752..a66eaa3a8a 100644 --- a/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml.flattened.jsonld @@ -115,11 +115,6 @@ "@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/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_2" @@ -130,6 +125,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" + } ] }, { @@ -196,22 +196,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString/source-map/type-property-lexical-info/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -227,6 +222,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0", "http://a.ml/vocabularies/document-source-maps#value": "[(21,2)-(27,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size", "@type": [ @@ -333,14 +333,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/lexical/element_0" } ] }, @@ -378,26 +378,26 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(25,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(24,6)-(27,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,6)-(27,26)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(25,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size", @@ -577,14 +577,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,6)-(27,26)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(25,12)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_0", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(25,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(24,6)-(27,26)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location", @@ -629,25 +629,20 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,6)-(27,26)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(25,12)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/scheme/oauth_2_0/shape/queryString_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(25,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(24,6)-(27,26)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1" @@ -655,6 +650,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -682,11 +682,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1" @@ -694,6 +689,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -721,11 +721,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1" @@ -733,6 +728,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -760,11 +760,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1" @@ -772,6 +767,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -799,14 +799,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0" } ] }, @@ -830,11 +830,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(12,15)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size", @@ -846,9 +841,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(20,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/page-size/scalar/page-size", + "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", @@ -861,9 +856,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(10,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(17,12)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/long/scalar/long", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", @@ -876,9 +871,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(18,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/paging/property/property/start/scalar/start", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(17,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", @@ -891,14 +886,19 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(8,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,12)]" + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/lat-long/property/property/lat/scalar/lat", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location", "http://a.ml/vocabularies/document-source-maps#value": "[(12,6)-(14,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/queryString/security-with-query-string.raml#/declares/shape/loc/property/property/location/nil/location", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/resolution/raml-multiple-fragments/output.source-info.jsonld b/amf-cli/shared/src/test/resources/resolution/raml-multiple-fragments/output.source-info.jsonld index d7884bc6fe..a8c86dd863 100644 --- a/amf-cli/shared/src/test/resources/resolution/raml-multiple-fragments/output.source-info.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/raml-multiple-fragments/output.source-info.jsonld @@ -243,17 +243,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#15": "amf://id#15" - }, - "lexical": { - "#15": "[(4,2)-(7,22)]" - }, "declared-element": { "#15": "" }, "resolved-link-target": { "#15": "amf://id#2" + }, + "resolved-link": { + "#15": "amf://id#15" + }, + "lexical": { + "#15": "[(4,2)-(7,22)]" } } }, @@ -273,21 +273,21 @@ ], "shacl:name": "b", "smaps": { - "resolved-link-target": { - "#16": "amf://id#9" - }, - "declared-element": { - "#16": "" - }, "lexical": { "shacl:datatype": "[(5,4)-(6,0)]", "#16": "[(4,2)-(6,0)]" }, - "type-property-lexical-info": { - "#16": "[(5,4)-(5,8)]" + "declared-element": { + "#16": "" + }, + "resolved-link-target": { + "#16": "amf://id#9" }, "resolved-link": { "#16": "amf://id#16" + }, + "type-property-lexical-info": { + "#16": "[(5,4)-(5,8)]" } } }, @@ -308,22 +308,22 @@ "shacl:name": "c", "core:description": "this is a data type", "smaps": { - "declared-element": { - "#17": "" - }, - "resolved-link": { - "#17": "amf://id#17" - }, "lexical": { "core:description": "[(2,0)-(3,0)]", "#17": "[(2,0)-(3,12)]", "shacl:datatype": "[(3,0)-(3,12)]" }, - "type-property-lexical-info": { - "#17": "[(3,0)-(3,4)]" + "resolved-link": { + "#17": "amf://id#17" + }, + "declared-element": { + "#17": "" }, "resolved-link-target": { "#17": "amf://id#14" + }, + "type-property-lexical-info": { + "#17": "[(3,0)-(3,4)]" } } }, @@ -350,12 +350,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#2": "" + }, "lexical": { "shacl:name": "[(4,2)-(4,8)]", "#2": "[(4,2)-(7,22)]" - }, - "declared-element": { - "#2": "" } } }, @@ -383,14 +383,14 @@ ], "shacl:name": "SomeString", "smaps": { - "declared-element": { - "#9": "" - }, "lexical": { "shacl:name": "[(4,2)-(4,12)]", "#9": "[(4,2)-(6,0)]", "shacl:datatype": "[(5,4)-(6,0)]" }, + "declared-element": { + "#9": "" + }, "type-property-lexical-info": { "#9": "[(5,4)-(5,8)]" } @@ -412,14 +412,14 @@ ], "shacl:name": "SomeNumber", "smaps": { - "declared-element": { - "#10": "" - }, "lexical": { "shacl:name": "[(6,2)-(6,12)]", "#10": "[(6,2)-(7,16)]", "shacl:datatype": "[(7,4)-(7,16)]" }, + "declared-element": { + "#10": "" + }, "type-property-lexical-info": { "#10": "[(7,4)-(7,8)]" } @@ -450,13 +450,13 @@ "shacl:name": "type", "core:description": "this is a data type", "smaps": { - "type-property-lexical-info": { - "#14": "[(3,0)-(3,4)]" - }, "lexical": { "core:description": "[(2,0)-(3,0)]", "#14": "[(2,0)-(3,12)]", "shacl:datatype": "[(3,0)-(3,12)]" + }, + "type-property-lexical-info": { + "#14": "[(3,0)-(3,4)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/raml-query-and-header-params/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/raml-query-and-header-params/api.expanded.jsonld index da191a6fd4..74c195155c 100644 --- a/amf-cli/shared/src/test/resources/resolution/raml-query-and-header-params/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/raml-query-and-header-params/api.expanded.jsonld @@ -154,12 +154,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#8": "[(13,10)-(13,14)]" - }, "lexical": { "shacl:datatype": "[(13,10)-(14,0)]", "#8": "[(11,8)-(14,0)]" + }, + "type-property-lexical-info": { + "#8": "[(13,10)-(13,14)]" } } } @@ -225,12 +225,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#10": "[(17,10)-(17,14)]" - }, "lexical": { "shacl:datatype": "[(17,10)-(18,0)]", "#10": "[(15,8)-(18,0)]" + }, + "type-property-lexical-info": { + "#10": "[(17,10)-(17,14)]" } } } @@ -248,13 +248,13 @@ } ], "smaps": { + "virtual-element": { + "#6": "true" + }, "lexical": { "apiContract:header": "[(14,6)-(18,0)]", "#6": "[(11,0)-(18,0)]", "apiContract:parameter": "[(10,6)-(14,0)]" - }, - "virtual-element": { - "#6": "true" } } } @@ -312,13 +312,13 @@ } ], "smaps": { - "auto-generated-name": { - "#13": "" - }, "lexical": { "shacl:datatype": "[(23,14)-(24,0)]", "#13": "[(22,12)-(24,0)]" }, + "auto-generated-name": { + "#13": "" + }, "type-property-lexical-info": { "#13": "[(23,14)-(23,18)]" } @@ -350,12 +350,12 @@ } ], "smaps": { - "parent-end-point": { - "#4": "amf://id#3" - }, "lexical": { "apiContract:path": "[(8,2)-(8,11)]", "#4": "[(8,2)-(24,0)]" + }, + "parent-end-point": { + "#4": "amf://id#3" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/raml-query-and-header-params/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/raml-query-and-header-params/api.flattened.jsonld index 72a4d4f595..0e3211a838 100644 --- a/amf-cli/shared/src/test/resources/resolution/raml-query-and-header-params/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/raml-query-and-header-params/api.flattened.jsonld @@ -84,12 +84,12 @@ } ], "smaps": { - "parent-end-point": { - "#4": "amf://id#3" - }, "lexical": { "apiContract:path": "[(8,2)-(8,11)]", "#4": "[(8,2)-(24,0)]" + }, + "parent-end-point": { + "#4": "amf://id#3" } } }, @@ -139,13 +139,13 @@ } ], "smaps": { + "virtual-element": { + "#6": "true" + }, "lexical": { "apiContract:header": "[(14,6)-(18,0)]", "#6": "[(11,0)-(18,0)]", "apiContract:parameter": "[(10,6)-(14,0)]" - }, - "virtual-element": { - "#6": "true" } } }, @@ -254,12 +254,12 @@ ], "shacl:name": "schema", "smaps": { - "type-property-lexical-info": { - "#8": "[(13,10)-(13,14)]" - }, "lexical": { "shacl:datatype": "[(13,10)-(14,0)]", "#8": "[(11,8)-(14,0)]" + }, + "type-property-lexical-info": { + "#8": "[(13,10)-(13,14)]" } } }, @@ -279,12 +279,12 @@ ], "shacl:name": "schema", "smaps": { - "type-property-lexical-info": { - "#10": "[(17,10)-(17,14)]" - }, "lexical": { "shacl:datatype": "[(17,10)-(18,0)]", "#10": "[(15,8)-(18,0)]" + }, + "type-property-lexical-info": { + "#10": "[(17,10)-(17,14)]" } } }, @@ -304,13 +304,13 @@ ], "shacl:name": "schema", "smaps": { - "auto-generated-name": { - "#13": "" - }, "lexical": { "shacl:datatype": "[(23,14)-(24,0)]", "#13": "[(22,12)-(24,0)]" }, + "auto-generated-name": { + "#13": "" + }, "type-property-lexical-info": { "#13": "[(23,14)-(23,18)]" } diff --git a/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties-2.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties-2.expanded.jsonld index cd3f6e0d80..189db562fc 100644 --- a/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties-2.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties-2.expanded.jsonld @@ -176,20 +176,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#7": "amf://id#8" - }, "type-property-lexical-info": { "#7": "[(8,4)-(8,8)]" }, - "lexical": { - "#7": "[(7,2)-(14,0)]" + "resolved-link": { + "#7": "amf://id#8" + }, + "resolved-link-target": { + "#7": "amf://id#1" }, "declared-element": { "#7": "" }, - "resolved-link-target": { - "#7": "amf://id#1" + "lexical": { + "#7": "[(7,2)-(14,0)]" } } } @@ -203,11 +203,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#6": "[(17,6)-(20,71)]" - }, "type-property-lexical-info": { "#6": "[(18,8)-(18,12)]" + }, + "lexical": { + "#6": "[(17,6)-(20,71)]" } } } @@ -241,21 +241,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#4": "amf://id#9" - }, "type-property-lexical-info": { "#4": "[(15,4)-(15,8)]" }, - "lexical": { - "shacl:name": "[(14,2)-(14,47)]", - "#4": "[(14,2)-(20,71)]" + "resolved-link": { + "#4": "amf://id#9" + }, + "resolved-link-target": { + "#4": "amf://id#4" }, "declared-element": { "#4": "" }, - "resolved-link-target": { - "#4": "amf://id#4" + "lexical": { + "shacl:name": "[(14,2)-(14,47)]", + "#4": "[(14,2)-(20,71)]" } } } @@ -266,11 +266,11 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(11,8)-(11,12)]" - }, "lexical": { "#3": "[(10,6)-(14,0)]" + }, + "type-property-lexical-info": { + "#3": "[(11,8)-(11,12)]" } } } @@ -310,21 +310,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#8" - }, "type-property-lexical-info": { "#1": "[(8,4)-(8,8)]" }, - "lexical": { - "shacl:name": "[(7,2)-(7,41)]", - "#1": "[(7,2)-(14,0)]" + "resolved-link": { + "#1": "amf://id#8" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#1" + "lexical": { + "shacl:name": "[(7,2)-(7,41)]", + "#1": "[(7,2)-(14,0)]" } } }, @@ -399,20 +399,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#7": "amf://id#8" - }, "type-property-lexical-info": { "#7": "[(8,4)-(8,8)]" }, - "lexical": { - "#7": "[(7,2)-(14,0)]" + "resolved-link": { + "#7": "amf://id#8" + }, + "resolved-link-target": { + "#7": "amf://id#1" }, "declared-element": { "#7": "" }, - "resolved-link-target": { - "#7": "amf://id#1" + "lexical": { + "#7": "[(7,2)-(14,0)]" } } } @@ -426,11 +426,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#6": "[(17,6)-(20,71)]" - }, "type-property-lexical-info": { "#6": "[(18,8)-(18,12)]" + }, + "lexical": { + "#6": "[(17,6)-(20,71)]" } } } @@ -464,21 +464,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#4": "amf://id#9" - }, "type-property-lexical-info": { "#4": "[(15,4)-(15,8)]" }, - "lexical": { - "shacl:name": "[(14,2)-(14,47)]", - "#4": "[(14,2)-(20,71)]" + "resolved-link": { + "#4": "amf://id#9" + }, + "resolved-link-target": { + "#4": "amf://id#4" }, "declared-element": { "#4": "" }, - "resolved-link-target": { - "#4": "amf://id#4" + "lexical": { + "shacl:name": "[(14,2)-(14,47)]", + "#4": "[(14,2)-(20,71)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties-2.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties-2.flattened.jsonld index a0a5aa0d1d..279434b35d 100644 --- a/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties-2.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties-2.flattened.jsonld @@ -75,21 +75,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#8" - }, "type-property-lexical-info": { "#1": "[(8,4)-(8,8)]" }, - "lexical": { - "shacl:name": "[(7,2)-(7,41)]", - "#1": "[(7,2)-(14,0)]" + "resolved-link": { + "#1": "amf://id#8" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#1" + "lexical": { + "shacl:name": "[(7,2)-(7,41)]", + "#1": "[(7,2)-(14,0)]" } } }, @@ -113,21 +113,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#4": "amf://id#9" - }, "type-property-lexical-info": { "#4": "[(15,4)-(15,8)]" }, - "lexical": { - "shacl:name": "[(14,2)-(14,47)]", - "#4": "[(14,2)-(20,71)]" + "resolved-link": { + "#4": "amf://id#9" + }, + "resolved-link-target": { + "#4": "amf://id#4" }, "declared-element": { "#4": "" }, - "resolved-link-target": { - "#4": "amf://id#4" + "lexical": { + "shacl:name": "[(14,2)-(14,47)]", + "#4": "[(14,2)-(20,71)]" } } }, @@ -199,11 +199,11 @@ }, "shacl:name": "options", "smaps": { - "type-property-lexical-info": { - "#3": "[(11,8)-(11,12)]" - }, "lexical": { "#3": "[(10,6)-(14,0)]" + }, + "type-property-lexical-info": { + "#3": "[(11,8)-(11,12)]" } } }, @@ -225,11 +225,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#6": "[(17,6)-(20,71)]" - }, "type-property-lexical-info": { "#6": "[(18,8)-(18,12)]" + }, + "lexical": { + "#6": "[(17,6)-(20,71)]" } } }, @@ -252,20 +252,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#7": "amf://id#8" - }, "type-property-lexical-info": { "#7": "[(8,4)-(8,8)]" }, - "lexical": { - "#7": "[(7,2)-(14,0)]" + "resolved-link": { + "#7": "amf://id#8" + }, + "resolved-link-target": { + "#7": "amf://id#1" }, "declared-element": { "#7": "" }, - "resolved-link-target": { - "#7": "amf://id#1" + "lexical": { + "#7": "[(7,2)-(14,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties.expanded.jsonld index f9aca84141..4a015ae2a5 100644 --- a/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties.expanded.jsonld @@ -29,12 +29,12 @@ } ], "smaps": { - "host-lexical": { - "core:urlTemplate": "[(4,0)-(5,0)]" - }, "synthesized-field": { "core:urlTemplate": "true" }, + "host-lexical": { + "core:urlTemplate": "[(4,0)-(5,0)]" + }, "virtual-element": { "#14": "true" }, @@ -154,11 +154,11 @@ } ], "smaps": { - "lexical": { - "#20": "[(29,2)-(34,16)]" - }, "virtual-element": { "#20": "true" + }, + "lexical": { + "#20": "[(29,2)-(34,16)]" } } } @@ -356,20 +356,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#6": "amf://id#7" - }, "type-property-lexical-info": { "#6": "[(28,4)-(28,8)]" }, - "lexical": { - "#6": "[(21,2)-(29,0)]" + "resolved-link": { + "#6": "amf://id#8" + }, + "resolved-link-target": { + "#6": "amf://id#7" }, "declared-element": { "#6": "" }, - "resolved-link-target": { - "#6": "amf://id#8" + "lexical": { + "#6": "[(21,2)-(29,0)]" } } } @@ -409,21 +409,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#4": "amf://id#11" - }, "type-property-lexical-info": { "#4": "[(34,4)-(34,8)]" }, - "lexical": { - "shacl:name": "[(29,2)-(29,7)]", - "#4": "[(29,2)-(34,16)]" + "resolved-link": { + "#4": "amf://id#11" + }, + "resolved-link-target": { + "#4": "amf://id#9" }, "declared-element": { "#4": "" }, - "resolved-link-target": { - "#4": "amf://id#10" + "lexical": { + "shacl:name": "[(29,2)-(29,7)]", + "#4": "[(29,2)-(34,16)]" } } } @@ -437,11 +437,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#3": "[(24,6)-(28,0)]" - }, "type-property-lexical-info": { "#3": "[(27,8)-(27,12)]" + }, + "lexical": { + "#3": "[(24,6)-(28,0)]" } } } @@ -486,22 +486,22 @@ "doc:recursive": "true", "shacl:closed": "true" }, + "type-property-lexical-info": { + "#1": "[(28,4)-(28,8)]" + }, "resolved-link": { + "#1": "amf://id#8" + }, + "resolved-link-target": { "#1": "amf://id#7" }, - "type-property-lexical-info": { - "#1": "[(28,4)-(28,8)]" + "declared-element": { + "#1": "" }, "lexical": { "core:description": "[(22,4)-(23,0)]", "#1": "[(21,2)-(29,0)]", "shacl:name": "[(21,2)-(21,10)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#8" } } }, @@ -561,20 +561,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#6": "amf://id#7" - }, "type-property-lexical-info": { "#6": "[(28,4)-(28,8)]" }, - "lexical": { - "#6": "[(21,2)-(29,0)]" + "resolved-link": { + "#6": "amf://id#8" + }, + "resolved-link-target": { + "#6": "amf://id#7" }, "declared-element": { "#6": "" }, - "resolved-link-target": { - "#6": "amf://id#8" + "lexical": { + "#6": "[(21,2)-(29,0)]" } } } @@ -614,21 +614,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#4": "amf://id#11" - }, "type-property-lexical-info": { "#4": "[(34,4)-(34,8)]" }, - "lexical": { - "shacl:name": "[(29,2)-(29,7)]", - "#4": "[(29,2)-(34,16)]" + "resolved-link": { + "#4": "amf://id#11" + }, + "resolved-link-target": { + "#4": "amf://id#9" }, "declared-element": { "#4": "" }, - "resolved-link-target": { - "#4": "amf://id#10" + "lexical": { + "shacl:name": "[(29,2)-(29,7)]", + "#4": "[(29,2)-(34,16)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties.flattened.jsonld index 6568cd091b..5aa6a33453 100644 --- a/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/recursive-additional-properties/recursive-additional-properties.flattened.jsonld @@ -60,12 +60,12 @@ ], "core:urlTemplate": "firestore.googleapis.com/", "smaps": { - "host-lexical": { - "core:urlTemplate": "[(4,0)-(5,0)]" - }, "synthesized-field": { "core:urlTemplate": "true" }, + "host-lexical": { + "core:urlTemplate": "[(4,0)-(5,0)]" + }, "virtual-element": { "#14": "true" }, @@ -183,12 +183,12 @@ "@id": "#4" }, "smaps": { + "virtual-element": { + "#20": "true" + }, "lexical": { "raml-shapes:schema": "[(18,10)-(20,0)]", "#20": "[(29,2)-(34,16)]" - }, - "virtual-element": { - "#20": "true" } } }, @@ -214,21 +214,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#4": "amf://id#11" - }, "type-property-lexical-info": { "#4": "[(34,4)-(34,8)]" }, - "lexical": { - "shacl:name": "[(29,2)-(29,7)]", - "#4": "[(29,2)-(34,16)]" + "resolved-link": { + "#4": "amf://id#11" + }, + "resolved-link-target": { + "#4": "amf://id#9" }, "declared-element": { "#4": "" }, - "resolved-link-target": { - "#4": "amf://id#10" + "lexical": { + "shacl:name": "[(29,2)-(29,7)]", + "#4": "[(29,2)-(34,16)]" } } }, @@ -278,20 +278,20 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#6": "amf://id#7" - }, "type-property-lexical-info": { "#6": "[(28,4)-(28,8)]" }, - "lexical": { - "#6": "[(21,2)-(29,0)]" + "resolved-link": { + "#6": "amf://id#8" + }, + "resolved-link-target": { + "#6": "amf://id#7" }, "declared-element": { "#6": "" }, - "resolved-link-target": { - "#6": "amf://id#8" + "lexical": { + "#6": "[(21,2)-(29,0)]" } } }, @@ -342,22 +342,22 @@ "doc:recursive": "true", "shacl:closed": "true" }, + "type-property-lexical-info": { + "#1": "[(28,4)-(28,8)]" + }, "resolved-link": { + "#1": "amf://id#8" + }, + "resolved-link-target": { "#1": "amf://id#7" }, - "type-property-lexical-info": { - "#1": "[(28,4)-(28,8)]" + "declared-element": { + "#1": "" }, "lexical": { "core:description": "[(22,4)-(23,0)]", "#1": "[(21,2)-(29,0)]", "shacl:name": "[(21,2)-(21,10)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#8" } } }, @@ -406,11 +406,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#3": "[(24,6)-(28,0)]" - }, "type-property-lexical-info": { "#3": "[(27,8)-(27,12)]" + }, + "lexical": { + "#3": "[(24,6)-(28,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/recursive-extension-provenance/api.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/recursive-extension-provenance/api.resolved.expanded.jsonld index 64aa5c9c83..e925979e4c 100644 --- a/amf-cli/shared/src/test/resources/resolution/recursive-extension-provenance/api.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/recursive-extension-provenance/api.resolved.expanded.jsonld @@ -276,12 +276,6 @@ } ], "smaps": { - "resolved-link-target": { - "#18": "amf://id#25" - }, - "declared-element": { - "#18": "" - }, "lexical": { "doc:variable": "[(21,19)-(27,0)]", "core:name": "[(21,2)-(21,18)]", @@ -289,7 +283,13 @@ "doc:dataNode": "[(22,4)-(27,0)]" }, "resolved-link": { + "#18": "amf://id#25" + }, + "resolved-link-target": { "#18": "amf://id#24" + }, + "declared-element": { + "#18": "" } } } @@ -442,17 +442,17 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#6": "amf://id#7" - }, - "lexical": { - "#6": "[(5,2)-(9,0)]" - }, "declared-element": { "#6": "" }, "resolved-link-target": { + "#6": "amf://id#7" + }, + "resolved-link": { "#6": "amf://id#8" + }, + "lexical": { + "#6": "[(5,2)-(9,0)]" } } } @@ -484,12 +484,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#9" + }, "lexical": { "raml-shapes:range": "[(11,18)-(11,29)]", "#4": "[(11,6)-(13,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#9" } } }, @@ -565,23 +565,23 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#3": "amf://id#15" - }, - "declared-element": { - "#3": "" - }, - "lexical": { - "#3": "[(13,2)-(19,0)]" - }, "type-property-lexical-info": { "#3": "[(14,4)-(14,8)]" }, "resolved-link": { - "#3": "amf://id#14" + "#3": "amf://id#15" }, "inherited-shapes": { "#3": "amf://id#9" + }, + "resolved-link-target": { + "#3": "amf://id#14" + }, + "declared-element": { + "#3": "" + }, + "lexical": { + "#3": "[(13,2)-(19,0)]" } } } @@ -617,18 +617,18 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#7" - }, - "lexical": { - "shacl:name": "[(5,2)-(5,11)]", - "#1": "[(5,2)-(9,0)]" - }, "declared-element": { "#1": "" }, "resolved-link-target": { + "#1": "amf://id#7" + }, + "resolved-link": { "#1": "amf://id#8" + }, + "lexical": { + "shacl:name": "[(5,2)-(5,11)]", + "#1": "[(5,2)-(9,0)]" } } }, @@ -698,17 +698,17 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#6": "amf://id#7" - }, - "lexical": { - "#6": "[(5,2)-(9,0)]" - }, "declared-element": { "#6": "" }, "resolved-link-target": { + "#6": "amf://id#7" + }, + "resolved-link": { "#6": "amf://id#8" + }, + "lexical": { + "#6": "[(5,2)-(9,0)]" } } } @@ -740,12 +740,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#9" + }, "lexical": { "raml-shapes:range": "[(11,18)-(11,29)]", "#4": "[(11,6)-(13,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#9" } } } @@ -759,17 +759,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#9": "amf://id#16" - }, - "lexical": { - "#9": "[(9,2)-(13,0)]" - }, "declared-element": { "#9": "" }, "resolved-link-target": { + "#9": "amf://id#16" + }, + "resolved-link": { "#9": "amf://id#17" + }, + "lexical": { + "#9": "[(9,2)-(13,0)]" } } }, @@ -839,17 +839,17 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#6": "amf://id#7" - }, - "lexical": { - "#6": "[(5,2)-(9,0)]" - }, "declared-element": { "#6": "" }, "resolved-link-target": { + "#6": "amf://id#7" + }, + "resolved-link": { "#6": "amf://id#8" + }, + "lexical": { + "#6": "[(5,2)-(9,0)]" } } } @@ -881,12 +881,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#9" + }, "lexical": { "raml-shapes:range": "[(11,18)-(11,29)]", "#4": "[(11,6)-(13,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#9" } } }, @@ -962,23 +962,23 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#3": "amf://id#15" - }, - "declared-element": { - "#3": "" - }, - "lexical": { - "#3": "[(13,2)-(19,0)]" - }, "type-property-lexical-info": { "#3": "[(14,4)-(14,8)]" }, "resolved-link": { - "#3": "amf://id#14" + "#3": "amf://id#15" }, "inherited-shapes": { "#3": "amf://id#9" + }, + "resolved-link-target": { + "#3": "amf://id#14" + }, + "declared-element": { + "#3": "" + }, + "lexical": { + "#3": "[(13,2)-(19,0)]" } } }, @@ -1130,12 +1130,6 @@ } ], "smaps": { - "resolved-link-target": { - "#18": "amf://id#25" - }, - "declared-element": { - "#18": "" - }, "lexical": { "doc:variable": "[(21,19)-(27,0)]", "core:name": "[(21,2)-(21,18)]", @@ -1143,7 +1137,13 @@ "doc:dataNode": "[(22,4)-(27,0)]" }, "resolved-link": { + "#18": "amf://id#25" + }, + "resolved-link-target": { "#18": "amf://id#24" + }, + "declared-element": { + "#18": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/recursive-extension-provenance/api.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/recursive-extension-provenance/api.resolved.flattened.jsonld index 04880e4ee5..b40c0aa305 100644 --- a/amf-cli/shared/src/test/resources/resolution/recursive-extension-provenance/api.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/recursive-extension-provenance/api.resolved.flattened.jsonld @@ -128,12 +128,6 @@ "resourcePathName" ], "smaps": { - "resolved-link-target": { - "#18": "amf://id#25" - }, - "declared-element": { - "#18": "" - }, "lexical": { "doc:variable": "[(21,19)-(27,0)]", "core:name": "[(21,2)-(21,18)]", @@ -141,7 +135,13 @@ "doc:dataNode": "[(22,4)-(27,0)]" }, "resolved-link": { + "#18": "amf://id#25" + }, + "resolved-link-target": { "#18": "amf://id#24" + }, + "declared-element": { + "#18": "" } } }, @@ -206,23 +206,23 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#3": "amf://id#15" - }, - "declared-element": { - "#3": "" - }, - "lexical": { - "#3": "[(13,2)-(19,0)]" - }, "type-property-lexical-info": { "#3": "[(14,4)-(14,8)]" }, "resolved-link": { - "#3": "amf://id#14" + "#3": "amf://id#15" }, "inherited-shapes": { "#3": "amf://id#9" + }, + "resolved-link-target": { + "#3": "amf://id#14" + }, + "declared-element": { + "#3": "" + }, + "lexical": { + "#3": "[(13,2)-(19,0)]" } } }, @@ -270,12 +270,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#9" + }, "lexical": { "raml-shapes:range": "[(11,18)-(11,29)]", "#4": "[(11,6)-(13,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#9" } } }, @@ -410,17 +410,17 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link": { - "#6": "amf://id#7" - }, - "lexical": { - "#6": "[(5,2)-(9,0)]" - }, "declared-element": { "#6": "" }, "resolved-link-target": { + "#6": "amf://id#7" + }, + "resolved-link": { "#6": "amf://id#8" + }, + "lexical": { + "#6": "[(5,2)-(9,0)]" } } }, @@ -498,18 +498,18 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#7" - }, - "lexical": { - "shacl:name": "[(5,2)-(5,11)]", - "#1": "[(5,2)-(9,0)]" - }, "declared-element": { "#1": "" }, "resolved-link-target": { + "#1": "amf://id#7" + }, + "resolved-link": { "#1": "amf://id#8" + }, + "lexical": { + "shacl:name": "[(5,2)-(5,11)]", + "#1": "[(5,2)-(9,0)]" } } }, @@ -533,17 +533,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#9": "amf://id#16" - }, - "lexical": { - "#9": "[(9,2)-(13,0)]" - }, "declared-element": { "#9": "" }, "resolved-link-target": { + "#9": "amf://id#16" + }, + "resolved-link": { "#9": "amf://id#17" + }, + "lexical": { + "#9": "[(9,2)-(13,0)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/recursive-tuple/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/recursive-tuple/api.expanded.jsonld index 4ea4e5a091..69e64ed89f 100644 --- a/amf-cli/shared/src/test/resources/resolution/recursive-tuple/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/recursive-tuple/api.expanded.jsonld @@ -143,12 +143,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#16": "[(12,10)-(12,16)]" - }, "lexical": { "shacl:datatype": "[(12,10)-(12,26)]", "#16": "[(11,8)-(13,9)]" + }, + "type-property-lexical-info": { + "#16": "[(12,10)-(12,16)]" } } } @@ -235,12 +235,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#20": "[(22,10)-(22,16)]" - }, "lexical": { "shacl:datatype": "[(22,10)-(22,26)]", "#20": "[(21,8)-(23,9)]" + }, + "type-property-lexical-info": { + "#20": "[(22,10)-(22,16)]" } } } @@ -298,12 +298,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#22": "[(25,10)-(25,16)]" - }, "lexical": { "shacl:datatype": "[(25,10)-(25,27)]", "#22": "[(24,8)-(26,9)]" + }, + "type-property-lexical-info": { + "#22": "[(25,10)-(25,16)]" } } } @@ -381,11 +381,11 @@ "resolved-link": { "#25": "amf://id#26" }, - "lexical": { - "#25": "[(9,4)-(18,5)]" - }, "resolved-link-target": { "#25": "amf://id#14" + }, + "lexical": { + "#25": "[(9,4)-(18,5)]" } } } @@ -396,11 +396,11 @@ } ], "smaps": { - "type-property-lexical-info": { - "#24": "[(28,10)-(28,16)]" - }, "lexical": { "#24": "[(27,8)-(32,9)]" + }, + "type-property-lexical-info": { + "#24": "[(28,10)-(28,16)]" } } } @@ -441,13 +441,13 @@ "shacl:closed": "true" }, "resolved-link": { + "#18": "amf://id#28" + }, + "resolved-link-target": { "#18": "amf://id#27" }, "lexical": { "#18": "[(19,4)-(34,5)]" - }, - "resolved-link-target": { - "#18": "amf://id#28" } } } @@ -484,11 +484,11 @@ "resolved-link": { "#14": "amf://id#26" }, - "lexical": { - "#14": "[(9,4)-(18,5)]" - }, "resolved-link-target": { "#14": "amf://id#14" + }, + "lexical": { + "#14": "[(9,4)-(18,5)]" } } } @@ -543,12 +543,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#20": "[(22,10)-(22,16)]" - }, "lexical": { "shacl:datatype": "[(22,10)-(22,26)]", "#20": "[(21,8)-(23,9)]" + }, + "type-property-lexical-info": { + "#20": "[(22,10)-(22,16)]" } } } @@ -606,12 +606,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#22": "[(25,10)-(25,16)]" - }, "lexical": { "shacl:datatype": "[(25,10)-(25,27)]", "#22": "[(24,8)-(26,9)]" + }, + "type-property-lexical-info": { + "#22": "[(25,10)-(25,16)]" } } } @@ -689,11 +689,11 @@ "resolved-link": { "#25": "amf://id#26" }, - "lexical": { - "#25": "[(9,4)-(18,5)]" - }, "resolved-link-target": { "#25": "amf://id#14" + }, + "lexical": { + "#25": "[(9,4)-(18,5)]" } } } @@ -704,11 +704,11 @@ } ], "smaps": { - "type-property-lexical-info": { - "#24": "[(28,10)-(28,16)]" - }, "lexical": { "#24": "[(27,8)-(32,9)]" + }, + "type-property-lexical-info": { + "#24": "[(28,10)-(28,16)]" } } } @@ -749,13 +749,13 @@ "shacl:closed": "true" }, "resolved-link": { + "#18": "amf://id#28" + }, + "resolved-link-target": { "#18": "amf://id#27" }, "lexical": { "#18": "[(19,4)-(34,5)]" - }, - "resolved-link-target": { - "#18": "amf://id#28" } } } @@ -1034,11 +1034,11 @@ } ], "smaps": { - "parsed-json-example": { - "#30": "[{\n \"name\": \"Astro\",\n \"pet\": {\n \"name\": \"Netwon\",\n \"age\": 55,\n \"owners\": [\"Astro\", \"Boy\"]\n }\n}]" - }, "lexical": { "#30": "[(1,0)-(8,2)]" + }, + "parsed-json-example": { + "#30": "[{\n \"name\": \"Astro\",\n \"pet\": {\n \"name\": \"Netwon\",\n \"age\": 55,\n \"owners\": [\"Astro\", \"Boy\"]\n }\n}]" } } } @@ -1072,12 +1072,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#13": "[(2,2)-(2,8)]" - }, "lexical": { "#13": "[(9,12)-(36,1)]" }, + "type-property-lexical-info": { + "#13": "[(2,2)-(2,8)]" + }, "parsed-json-schema": { "#13": "{\n \"type\": \"array\",\n \"items\": [{\n \"$ref\": \"#/definitions/Person\"\n },{\n \"$ref\": \"#/definitions/Animal\"\n }],\n \"definitions\": {\n \"Person\": {\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"pet\": {\n \"$ref\": \"#/definitions/Animal\"\n }\n }\n },\n \"Animal\": {\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"age\": {\n \"type\": \"integer\"\n },\n \"owners\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/Person\"\n }\n }\n }\n }\n }\n}" } diff --git a/amf-cli/shared/src/test/resources/resolution/recursive-tuple/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/recursive-tuple/api.flattened.jsonld index 0503e6c9e8..606861668a 100644 --- a/amf-cli/shared/src/test/resources/resolution/recursive-tuple/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/recursive-tuple/api.flattened.jsonld @@ -133,12 +133,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#13": "[(2,2)-(2,8)]" - }, "lexical": { "#13": "[(9,12)-(36,1)]" }, + "type-property-lexical-info": { + "#13": "[(2,2)-(2,8)]" + }, "parsed-json-schema": { "#13": "{\n \"type\": \"array\",\n \"items\": [{\n \"$ref\": \"#/definitions/Person\"\n },{\n \"$ref\": \"#/definitions/Animal\"\n }],\n \"definitions\": {\n \"Person\": {\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"pet\": {\n \"$ref\": \"#/definitions/Animal\"\n }\n }\n },\n \"Animal\": {\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"age\": {\n \"type\": \"integer\"\n },\n \"owners\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/Person\"\n }\n }\n }\n }\n }\n}" } @@ -208,11 +208,11 @@ "resolved-link": { "#14": "amf://id#26" }, - "lexical": { - "#14": "[(9,4)-(18,5)]" - }, "resolved-link-target": { "#14": "amf://id#14" + }, + "lexical": { + "#14": "[(9,4)-(18,5)]" } } }, @@ -245,13 +245,13 @@ "shacl:closed": "true" }, "resolved-link": { + "#18": "amf://id#28" + }, + "resolved-link-target": { "#18": "amf://id#27" }, "lexical": { "#18": "[(19,4)-(34,5)]" - }, - "resolved-link-target": { - "#18": "amf://id#28" } } }, @@ -270,11 +270,11 @@ ], "core:name": "array_1", "smaps": { - "parsed-json-example": { - "#30": "[{\n \"name\": \"Astro\",\n \"pet\": {\n \"name\": \"Netwon\",\n \"age\": 55,\n \"owners\": [\"Astro\", \"Boy\"]\n }\n}]" - }, "lexical": { "#30": "[(1,0)-(8,2)]" + }, + "parsed-json-example": { + "#30": "[{\n \"name\": \"Astro\",\n \"pet\": {\n \"name\": \"Netwon\",\n \"age\": 55,\n \"owners\": [\"Astro\", \"Boy\"]\n }\n}]" } } }, @@ -454,12 +454,12 @@ ], "shacl:name": "name", "smaps": { - "type-property-lexical-info": { - "#16": "[(12,10)-(12,16)]" - }, "lexical": { "shacl:datatype": "[(12,10)-(12,26)]", "#16": "[(11,8)-(13,9)]" + }, + "type-property-lexical-info": { + "#16": "[(12,10)-(12,16)]" } } }, @@ -479,12 +479,12 @@ ], "shacl:name": "name", "smaps": { - "type-property-lexical-info": { - "#20": "[(22,10)-(22,16)]" - }, "lexical": { "shacl:datatype": "[(22,10)-(22,26)]", "#20": "[(21,8)-(23,9)]" + }, + "type-property-lexical-info": { + "#20": "[(22,10)-(22,16)]" } } }, @@ -504,12 +504,12 @@ ], "shacl:name": "age", "smaps": { - "type-property-lexical-info": { - "#22": "[(25,10)-(25,16)]" - }, "lexical": { "shacl:datatype": "[(25,10)-(25,27)]", "#22": "[(24,8)-(26,9)]" + }, + "type-property-lexical-info": { + "#22": "[(25,10)-(25,16)]" } } }, @@ -527,11 +527,11 @@ }, "shacl:name": "owners", "smaps": { - "type-property-lexical-info": { - "#24": "[(28,10)-(28,16)]" - }, "lexical": { "#24": "[(27,8)-(32,9)]" + }, + "type-property-lexical-info": { + "#24": "[(28,10)-(28,16)]" } } }, @@ -610,11 +610,11 @@ "resolved-link": { "#25": "amf://id#26" }, - "lexical": { - "#25": "[(9,4)-(18,5)]" - }, "resolved-link-target": { "#25": "amf://id#14" + }, + "lexical": { + "#25": "[(9,4)-(18,5)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/request-link-parameters/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/request-link-parameters/api.expanded.jsonld index 7509dd43b2..0372efcd81 100644 --- a/amf-cli/shared/src/test/resources/resolution/request-link-parameters/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/request-link-parameters/api.expanded.jsonld @@ -129,13 +129,13 @@ } ], "smaps": { - "auto-generated-name": { - "#5": "" - }, "lexical": { "shacl:datatype": "[(22,8)-(23,0)]", "#5": "[(21,6)-(23,0)]" }, + "auto-generated-name": { + "#5": "" + }, "type-property-lexical-info": { "#5": "[(22,8)-(22,12)]" } @@ -148,14 +148,14 @@ "apiContract:required": "true", "apiContract:style": "true" }, + "declared-element": { + "#4": "" + }, "lexical": { "raml-shapes:schema": "[(21,6)-(23,0)]", "apiContract:paramName": "[(23,6)-(24,0)]", "#4": "[(20,4)-(25,0)]", "apiContract:binding": "[(24,6)-(25,0)]" - }, - "declared-element": { - "#4": "" } } } @@ -219,13 +219,13 @@ } ], "smaps": { - "auto-generated-name": { - "#9": "" - }, "lexical": { "shacl:datatype": "[(32,8)-(33,0)]", "#9": "[(31,6)-(33,0)]" }, + "auto-generated-name": { + "#9": "" + }, "type-property-lexical-info": { "#9": "[(32,8)-(32,12)]" } @@ -237,15 +237,15 @@ "apiContract:explode": "true", "apiContract:style": "true" }, + "declared-element": { + "#8": "" + }, "lexical": { "raml-shapes:schema": "[(31,6)-(33,0)]", "apiContract:required": "[(35,6)-(36,0)]", "#8": "[(30,4)-(36,0)]", "apiContract:paramName": "[(33,6)-(34,0)]", "apiContract:binding": "[(34,6)-(35,0)]" - }, - "declared-element": { - "#8": "" } } } @@ -309,13 +309,13 @@ } ], "smaps": { - "auto-generated-name": { - "#11": "" - }, "lexical": { "shacl:datatype": "[(38,8)-(39,0)]", "#11": "[(37,6)-(39,0)]" }, + "auto-generated-name": { + "#11": "" + }, "type-property-lexical-info": { "#11": "[(38,8)-(38,12)]" } @@ -328,14 +328,14 @@ "apiContract:required": "true", "apiContract:style": "true" }, + "declared-element": { + "#10": "" + }, "lexical": { "raml-shapes:schema": "[(37,6)-(39,0)]", "apiContract:paramName": "[(39,6)-(40,0)]", "#10": "[(36,4)-(42,0)]", "apiContract:binding": "[(40,6)-(42,0)]" - }, - "declared-element": { - "#10": "" } } } @@ -447,13 +447,13 @@ } ], "smaps": { - "auto-generated-name": { - "#7": "" - }, "lexical": { "shacl:datatype": "[(27,8)-(28,0)]", "#7": "[(26,6)-(28,0)]" }, + "auto-generated-name": { + "#7": "" + }, "type-property-lexical-info": { "#7": "[(27,8)-(27,12)]" } @@ -466,25 +466,25 @@ "apiContract:required": "true", "apiContract:style": "true" }, + "declared-element": { + "#6": "" + }, "lexical": { "raml-shapes:schema": "[(26,6)-(28,0)]", "apiContract:paramName": "[(28,6)-(29,0)]", "#6": "[(25,4)-(30,0)]", "apiContract:binding": "[(29,6)-(30,0)]" - }, - "declared-element": { - "#6": "" } } } ], "smaps": { - "lexical": { - "#21": "[(10,8)-(50,17)]" - }, "virtual-element": { "#21": "true" }, + "lexical": { + "#21": "[(10,8)-(50,17)]" + }, "declared-element": { "#21": "" } @@ -555,11 +555,11 @@ "type-property-lexical-info": { "#20": "[(58,16)-(58,20)]" }, - "lexical": { - "#20": "[(57,14)-(59,0)]" - }, "auto-generated-name": { "#20": "" + }, + "lexical": { + "#20": "[(57,14)-(59,0)]" } } } @@ -686,12 +686,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(18,10)-(18,14)]" - }, "lexical": { "shacl:datatype": "[(18,10)-(19,0)]", "#3": "[(17,8)-(19,0)]" + }, + "type-property-lexical-info": { + "#3": "[(18,10)-(18,14)]" } } } @@ -734,12 +734,12 @@ "type-property-lexical-info": { "#1": "[(15,6)-(15,10)]" }, + "declared-element": { + "#1": "" + }, "lexical": { "shacl:name": "[(14,4)-(14,11)]", "#1": "[(14,4)-(19,0)]" - }, - "declared-element": { - "#1": "" } } }, @@ -811,13 +811,13 @@ } ], "smaps": { - "auto-generated-name": { - "#5": "" - }, "lexical": { "shacl:datatype": "[(22,8)-(23,0)]", "#5": "[(21,6)-(23,0)]" }, + "auto-generated-name": { + "#5": "" + }, "type-property-lexical-info": { "#5": "[(22,8)-(22,12)]" } @@ -830,14 +830,14 @@ "apiContract:required": "true", "apiContract:style": "true" }, + "declared-element": { + "#4": "" + }, "lexical": { "raml-shapes:schema": "[(21,6)-(23,0)]", "apiContract:paramName": "[(23,6)-(24,0)]", "#4": "[(20,4)-(25,0)]", "apiContract:binding": "[(24,6)-(25,0)]" - }, - "declared-element": { - "#4": "" } } }, @@ -899,13 +899,13 @@ } ], "smaps": { - "auto-generated-name": { - "#7": "" - }, "lexical": { "shacl:datatype": "[(27,8)-(28,0)]", "#7": "[(26,6)-(28,0)]" }, + "auto-generated-name": { + "#7": "" + }, "type-property-lexical-info": { "#7": "[(27,8)-(27,12)]" } @@ -918,14 +918,14 @@ "apiContract:required": "true", "apiContract:style": "true" }, + "declared-element": { + "#6": "" + }, "lexical": { "raml-shapes:schema": "[(26,6)-(28,0)]", "apiContract:paramName": "[(28,6)-(29,0)]", "#6": "[(25,4)-(30,0)]", "apiContract:binding": "[(29,6)-(30,0)]" - }, - "declared-element": { - "#6": "" } } }, @@ -987,13 +987,13 @@ } ], "smaps": { - "auto-generated-name": { - "#9": "" - }, "lexical": { "shacl:datatype": "[(32,8)-(33,0)]", "#9": "[(31,6)-(33,0)]" }, + "auto-generated-name": { + "#9": "" + }, "type-property-lexical-info": { "#9": "[(32,8)-(32,12)]" } @@ -1005,15 +1005,15 @@ "apiContract:explode": "true", "apiContract:style": "true" }, + "declared-element": { + "#8": "" + }, "lexical": { "raml-shapes:schema": "[(31,6)-(33,0)]", "apiContract:required": "[(35,6)-(36,0)]", "#8": "[(30,4)-(36,0)]", "apiContract:paramName": "[(33,6)-(34,0)]", "apiContract:binding": "[(34,6)-(35,0)]" - }, - "declared-element": { - "#8": "" } } }, @@ -1075,13 +1075,13 @@ } ], "smaps": { - "auto-generated-name": { - "#11": "" - }, "lexical": { "shacl:datatype": "[(38,8)-(39,0)]", "#11": "[(37,6)-(39,0)]" }, + "auto-generated-name": { + "#11": "" + }, "type-property-lexical-info": { "#11": "[(38,8)-(38,12)]" } @@ -1094,14 +1094,14 @@ "apiContract:required": "true", "apiContract:style": "true" }, + "declared-element": { + "#10": "" + }, "lexical": { "raml-shapes:schema": "[(37,6)-(39,0)]", "apiContract:paramName": "[(39,6)-(40,0)]", "#10": "[(36,4)-(42,0)]", "apiContract:binding": "[(40,6)-(42,0)]" - }, - "declared-element": { - "#10": "" } } }, @@ -1181,12 +1181,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(18,10)-(18,14)]" - }, "lexical": { "shacl:datatype": "[(18,10)-(19,0)]", "#3": "[(17,8)-(19,0)]" + }, + "type-property-lexical-info": { + "#3": "[(18,10)-(18,14)]" } } } @@ -1229,12 +1229,12 @@ "type-property-lexical-info": { "#1": "[(15,6)-(15,10)]" }, + "declared-element": { + "#1": "" + }, "lexical": { "shacl:name": "[(14,4)-(14,11)]", "#1": "[(14,4)-(19,0)]" - }, - "declared-element": { - "#1": "" } } } @@ -1249,13 +1249,13 @@ } ], "smaps": { + "virtual-element": { + "#12": "true" + }, "lexical": { "core:name": "[(8,4)-(8,13)]", "#12": "[(8,4)-(13,0)]" }, - "virtual-element": { - "#12": "true" - }, "declared-element": { "#12": "" } diff --git a/amf-cli/shared/src/test/resources/resolution/request-link-parameters/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/request-link-parameters/api.flattened.jsonld index faa6890670..f8b06d6c55 100644 --- a/amf-cli/shared/src/test/resources/resolution/request-link-parameters/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/request-link-parameters/api.flattened.jsonld @@ -111,12 +111,12 @@ } ], "smaps": { - "lexical": { - "#21": "[(10,8)-(50,17)]" - }, "virtual-element": { "#21": "true" }, + "lexical": { + "#21": "[(10,8)-(50,17)]" + }, "declared-element": { "#21": "" } @@ -171,14 +171,14 @@ "apiContract:required": "true", "apiContract:style": "true" }, + "declared-element": { + "#4": "" + }, "lexical": { "raml-shapes:schema": "[(21,6)-(23,0)]", "apiContract:paramName": "[(23,6)-(24,0)]", "#4": "[(20,4)-(25,0)]", "apiContract:binding": "[(24,6)-(25,0)]" - }, - "declared-element": { - "#4": "" } } }, @@ -203,15 +203,15 @@ "apiContract:explode": "true", "apiContract:style": "true" }, + "declared-element": { + "#8": "" + }, "lexical": { "raml-shapes:schema": "[(31,6)-(33,0)]", "apiContract:required": "[(35,6)-(36,0)]", "#8": "[(30,4)-(36,0)]", "apiContract:paramName": "[(33,6)-(34,0)]", "apiContract:binding": "[(34,6)-(35,0)]" - }, - "declared-element": { - "#8": "" } } }, @@ -237,14 +237,14 @@ "apiContract:required": "true", "apiContract:style": "true" }, + "declared-element": { + "#10": "" + }, "lexical": { "raml-shapes:schema": "[(37,6)-(39,0)]", "apiContract:paramName": "[(39,6)-(40,0)]", "#10": "[(36,4)-(42,0)]", "apiContract:binding": "[(40,6)-(42,0)]" - }, - "declared-element": { - "#10": "" } } }, @@ -289,14 +289,14 @@ "apiContract:required": "true", "apiContract:style": "true" }, + "declared-element": { + "#6": "" + }, "lexical": { "raml-shapes:schema": "[(26,6)-(28,0)]", "apiContract:paramName": "[(28,6)-(29,0)]", "#6": "[(25,4)-(30,0)]", "apiContract:binding": "[(29,6)-(30,0)]" - }, - "declared-element": { - "#6": "" } } }, @@ -335,13 +335,13 @@ ], "shacl:name": "queryParam", "smaps": { - "auto-generated-name": { - "#5": "" - }, "lexical": { "shacl:datatype": "[(22,8)-(23,0)]", "#5": "[(21,6)-(23,0)]" }, + "auto-generated-name": { + "#5": "" + }, "type-property-lexical-info": { "#5": "[(22,8)-(22,12)]" } @@ -363,13 +363,13 @@ ], "shacl:name": "pathParam", "smaps": { - "auto-generated-name": { - "#9": "" - }, "lexical": { "shacl:datatype": "[(32,8)-(33,0)]", "#9": "[(31,6)-(33,0)]" }, + "auto-generated-name": { + "#9": "" + }, "type-property-lexical-info": { "#9": "[(32,8)-(32,12)]" } @@ -391,13 +391,13 @@ ], "shacl:name": "cookieParam", "smaps": { - "auto-generated-name": { - "#11": "" - }, "lexical": { "shacl:datatype": "[(38,8)-(39,0)]", "#11": "[(37,6)-(39,0)]" }, + "auto-generated-name": { + "#11": "" + }, "type-property-lexical-info": { "#11": "[(38,8)-(38,12)]" } @@ -428,12 +428,12 @@ "type-property-lexical-info": { "#1": "[(15,6)-(15,10)]" }, + "declared-element": { + "#1": "" + }, "lexical": { "shacl:name": "[(14,4)-(14,11)]", "#1": "[(14,4)-(19,0)]" - }, - "declared-element": { - "#1": "" } } }, @@ -453,13 +453,13 @@ ], "shacl:name": "headerParam", "smaps": { - "auto-generated-name": { - "#7": "" - }, "lexical": { "shacl:datatype": "[(27,8)-(28,0)]", "#7": "[(26,6)-(28,0)]" }, + "auto-generated-name": { + "#7": "" + }, "type-property-lexical-info": { "#7": "[(27,8)-(27,12)]" } @@ -483,11 +483,11 @@ "type-property-lexical-info": { "#20": "[(58,16)-(58,20)]" }, - "lexical": { - "#20": "[(57,14)-(59,0)]" - }, "auto-generated-name": { "#20": "" + }, + "lexical": { + "#20": "[(57,14)-(59,0)]" } } }, @@ -534,12 +534,12 @@ ], "shacl:name": "a", "smaps": { - "type-property-lexical-info": { - "#3": "[(18,10)-(18,14)]" - }, "lexical": { "shacl:datatype": "[(18,10)-(19,0)]", "#3": "[(17,8)-(19,0)]" + }, + "type-property-lexical-info": { + "#3": "[(18,10)-(18,14)]" } } }, @@ -594,13 +594,13 @@ } ], "smaps": { + "virtual-element": { + "#12": "true" + }, "lexical": { "core:name": "[(8,4)-(8,13)]", "#12": "[(8,4)-(13,0)]" }, - "virtual-element": { - "#12": "true" - }, "declared-element": { "#12": "" } diff --git a/amf-cli/shared/src/test/resources/resolution/security-requirements/security-requirements.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/security-requirements/security-requirements.expanded.jsonld index 2be82f382b..047f48f566 100644 --- a/amf-cli/shared/src/test/resources/resolution/security-requirements/security-requirements.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/security-requirements/security-requirements.expanded.jsonld @@ -216,14 +216,14 @@ } ], "smaps": { - "type-property-lexical-info": { - "#8": "[(13,6)-(13,10)]" - }, "lexical": { "apiContract:examples": "[(14,6)-(15,0)]", "shacl:datatype": "[(13,6)-(14,0)]", "#8": "[(12,4)-(17,0)]", "core:description": "[(15,6)-(16,0)]" + }, + "type-property-lexical-info": { + "#8": "[(13,6)-(13,10)]" } } } @@ -300,13 +300,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#12": "[(8,6)-(8,10)]" - }, "lexical": { "core:description": "[(9,6)-(10,0)]", "#12": "[(7,4)-(11,0)]", "shacl:datatype": "[(8,6)-(9,0)]" + }, + "type-property-lexical-info": { + "#12": "[(8,6)-(8,10)]" } } } @@ -376,11 +376,11 @@ } ], "smaps": { - "auto-generated-name": { - "#15": "" - }, "lexical": { "#15": "[(21,8)-(22,0)]" + }, + "auto-generated-name": { + "#15": "" } } } @@ -451,11 +451,11 @@ } ], "smaps": { - "auto-generated-name": { - "#18": "" - }, "lexical": { "#18": "[(25,8)-(26,0)]" + }, + "auto-generated-name": { + "#18": "" } } } @@ -557,12 +557,6 @@ } ], "smaps": { - "declared-element": { - "#29": "" - }, - "resolved-link": { - "#29": "amf://id#29" - }, "lexical": { "security:settings": "[(26,0)-(31,0)]", "apiContract:parameter": "[(6,2)-(11,0)]", @@ -575,6 +569,12 @@ }, "resolved-link-target": { "#29": "amf://id#2" + }, + "declared-element": { + "#29": "" + }, + "resolved-link": { + "#29": "amf://id#29" } } } @@ -691,13 +691,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#24": "[(20,6)-(20,10)]" - }, "lexical": { "core:description": "[(21,6)-(25,0)]", "#24": "[(19,4)-(25,0)]", "shacl:datatype": "[(20,6)-(21,0)]" + }, + "type-property-lexical-info": { + "#24": "[(20,6)-(20,10)]" } } } @@ -773,13 +773,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#26": "[(13,6)-(13,10)]" - }, "lexical": { "core:description": "[(14,6)-(18,0)]", "#26": "[(12,4)-(18,0)]", "shacl:datatype": "[(13,6)-(14,0)]" + }, + "type-property-lexical-info": { + "#26": "[(13,6)-(13,10)]" } } } @@ -871,12 +871,6 @@ } ], "smaps": { - "declared-element": { - "#30": "" - }, - "resolved-link": { - "#30": "amf://id#30" - }, "lexical": { "security:settings": "[(5,0)-(10,0)]", "apiContract:parameter": "[(11,2)-(18,0)]", @@ -888,6 +882,12 @@ }, "resolved-link-target": { "#30": "amf://id#21" + }, + "declared-element": { + "#30": "" + }, + "resolved-link": { + "#30": "amf://id#30" } } } @@ -1111,14 +1111,14 @@ } ], "smaps": { - "type-property-lexical-info": { - "#8": "[(13,6)-(13,10)]" - }, "lexical": { "apiContract:examples": "[(14,6)-(15,0)]", "shacl:datatype": "[(13,6)-(14,0)]", "#8": "[(12,4)-(17,0)]", "core:description": "[(15,6)-(16,0)]" + }, + "type-property-lexical-info": { + "#8": "[(13,6)-(13,10)]" } } } @@ -1195,13 +1195,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#12": "[(8,6)-(8,10)]" - }, "lexical": { "core:description": "[(9,6)-(10,0)]", "#12": "[(7,4)-(11,0)]", "shacl:datatype": "[(8,6)-(9,0)]" + }, + "type-property-lexical-info": { + "#12": "[(8,6)-(8,10)]" } } } @@ -1271,11 +1271,11 @@ } ], "smaps": { - "auto-generated-name": { - "#15": "" - }, "lexical": { "#15": "[(21,8)-(22,0)]" + }, + "auto-generated-name": { + "#15": "" } } } @@ -1346,11 +1346,11 @@ } ], "smaps": { - "auto-generated-name": { - "#18": "" - }, "lexical": { "#18": "[(25,8)-(26,0)]" + }, + "auto-generated-name": { + "#18": "" } } } @@ -1577,13 +1577,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#24": "[(20,6)-(20,10)]" - }, "lexical": { "core:description": "[(21,6)-(25,0)]", "#24": "[(19,4)-(25,0)]", "shacl:datatype": "[(20,6)-(21,0)]" + }, + "type-property-lexical-info": { + "#24": "[(20,6)-(20,10)]" } } } @@ -1659,13 +1659,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#26": "[(13,6)-(13,10)]" - }, "lexical": { "core:description": "[(14,6)-(18,0)]", "#26": "[(12,4)-(18,0)]", "shacl:datatype": "[(13,6)-(14,0)]" + }, + "type-property-lexical-info": { + "#26": "[(13,6)-(13,10)]" } } } @@ -1950,14 +1950,14 @@ } ], "smaps": { - "type-property-lexical-info": { - "#8": "[(13,6)-(13,10)]" - }, "lexical": { "apiContract:examples": "[(14,6)-(15,0)]", "shacl:datatype": "[(13,6)-(14,0)]", "#8": "[(12,4)-(17,0)]", "core:description": "[(15,6)-(16,0)]" + }, + "type-property-lexical-info": { + "#8": "[(13,6)-(13,10)]" } } } @@ -2034,13 +2034,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#12": "[(8,6)-(8,10)]" - }, "lexical": { "core:description": "[(9,6)-(10,0)]", "#12": "[(7,4)-(11,0)]", "shacl:datatype": "[(8,6)-(9,0)]" + }, + "type-property-lexical-info": { + "#12": "[(8,6)-(8,10)]" } } } @@ -2110,11 +2110,11 @@ } ], "smaps": { - "auto-generated-name": { - "#15": "" - }, "lexical": { "#15": "[(21,8)-(22,0)]" + }, + "auto-generated-name": { + "#15": "" } } } @@ -2185,11 +2185,11 @@ } ], "smaps": { - "auto-generated-name": { - "#18": "" - }, "lexical": { "#18": "[(25,8)-(26,0)]" + }, + "auto-generated-name": { + "#18": "" } } } @@ -2291,12 +2291,6 @@ } ], "smaps": { - "declared-element": { - "#29": "" - }, - "resolved-link": { - "#29": "amf://id#29" - }, "lexical": { "security:settings": "[(26,0)-(31,0)]", "apiContract:parameter": "[(6,2)-(11,0)]", @@ -2309,6 +2303,12 @@ }, "resolved-link-target": { "#29": "amf://id#2" + }, + "declared-element": { + "#29": "" + }, + "resolved-link": { + "#29": "amf://id#29" } } }, @@ -2392,13 +2392,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#24": "[(20,6)-(20,10)]" - }, "lexical": { "core:description": "[(21,6)-(25,0)]", "#24": "[(19,4)-(25,0)]", "shacl:datatype": "[(20,6)-(21,0)]" + }, + "type-property-lexical-info": { + "#24": "[(20,6)-(20,10)]" } } } @@ -2474,13 +2474,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#26": "[(13,6)-(13,10)]" - }, "lexical": { "core:description": "[(14,6)-(18,0)]", "#26": "[(12,4)-(18,0)]", "shacl:datatype": "[(13,6)-(14,0)]" + }, + "type-property-lexical-info": { + "#26": "[(13,6)-(13,10)]" } } } @@ -2572,12 +2572,6 @@ } ], "smaps": { - "declared-element": { - "#30": "" - }, - "resolved-link": { - "#30": "amf://id#30" - }, "lexical": { "security:settings": "[(5,0)-(10,0)]", "apiContract:parameter": "[(11,2)-(18,0)]", @@ -2589,6 +2583,12 @@ }, "resolved-link-target": { "#30": "amf://id#21" + }, + "declared-element": { + "#30": "" + }, + "resolved-link": { + "#30": "amf://id#30" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/security-requirements/security-requirements.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/security-requirements/security-requirements.flattened.jsonld index 74a1f09514..1caa219092 100644 --- a/amf-cli/shared/src/test/resources/resolution/security-requirements/security-requirements.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/security-requirements/security-requirements.flattened.jsonld @@ -169,12 +169,6 @@ "@id": "#3" }, "smaps": { - "declared-element": { - "#29": "" - }, - "resolved-link": { - "#29": "amf://id#29" - }, "lexical": { "security:settings": "[(26,0)-(31,0)]", "apiContract:parameter": "[(6,2)-(11,0)]", @@ -187,6 +181,12 @@ }, "resolved-link-target": { "#29": "amf://id#2" + }, + "declared-element": { + "#29": "" + }, + "resolved-link": { + "#29": "amf://id#29" } } }, @@ -218,12 +218,6 @@ "@id": "#22" }, "smaps": { - "declared-element": { - "#30": "" - }, - "resolved-link": { - "#30": "amf://id#30" - }, "lexical": { "security:settings": "[(5,0)-(10,0)]", "apiContract:parameter": "[(11,2)-(18,0)]", @@ -235,6 +229,12 @@ }, "resolved-link-target": { "#30": "amf://id#21" + }, + "declared-element": { + "#30": "" + }, + "resolved-link": { + "#30": "amf://id#30" } } }, @@ -480,14 +480,14 @@ } ], "smaps": { - "type-property-lexical-info": { - "#8": "[(13,6)-(13,10)]" - }, "lexical": { "apiContract:examples": "[(14,6)-(15,0)]", "shacl:datatype": "[(13,6)-(14,0)]", "#8": "[(12,4)-(17,0)]", "core:description": "[(15,6)-(16,0)]" + }, + "type-property-lexical-info": { + "#8": "[(13,6)-(13,10)]" } } }, @@ -508,13 +508,13 @@ "shacl:name": "schema", "core:description": "Used to send a valid OAuth 2 access token. Do not use with the \"Authorization\" header.", "smaps": { - "type-property-lexical-info": { - "#12": "[(8,6)-(8,10)]" - }, "lexical": { "core:description": "[(9,6)-(10,0)]", "#12": "[(7,4)-(11,0)]", "shacl:datatype": "[(8,6)-(9,0)]" + }, + "type-property-lexical-info": { + "#12": "[(8,6)-(8,10)]" } } }, @@ -594,13 +594,13 @@ "shacl:name": "schema", "core:description": "Received Access Token.\n\nDo not mix with query parameters.\n", "smaps": { - "type-property-lexical-info": { - "#24": "[(20,6)-(20,10)]" - }, "lexical": { "core:description": "[(21,6)-(25,0)]", "#24": "[(19,4)-(25,0)]", "shacl:datatype": "[(20,6)-(21,0)]" + }, + "type-property-lexical-info": { + "#24": "[(20,6)-(20,10)]" } } }, @@ -621,13 +621,13 @@ "shacl:name": "schema", "core:description": "Received Access Token.\n\nDo not mix with headers\n", "smaps": { - "type-property-lexical-info": { - "#26": "[(13,6)-(13,10)]" - }, "lexical": { "core:description": "[(14,6)-(18,0)]", "#26": "[(12,4)-(18,0)]", "shacl:datatype": "[(13,6)-(14,0)]" + }, + "type-property-lexical-info": { + "#26": "[(13,6)-(13,10)]" } } }, @@ -665,11 +665,11 @@ ], "shacl:name": "schema", "smaps": { - "auto-generated-name": { - "#15": "" - }, "lexical": { "#15": "[(21,8)-(22,0)]" + }, + "auto-generated-name": { + "#15": "" } } }, @@ -683,11 +683,11 @@ ], "shacl:name": "schema", "smaps": { - "auto-generated-name": { - "#18": "" - }, "lexical": { "#18": "[(25,8)-(26,0)]" + }, + "auto-generated-name": { + "#18": "" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/security/security.json.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/security/security.json.expanded.jsonld index 015d89aa0f..a93d119cbb 100644 --- a/amf-cli/shared/src/test/resources/resolution/security/security.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/security/security.json.expanded.jsonld @@ -141,21 +141,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(42,12)-(42,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -196,6 +181,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(42,12)-(42,18)]" + } + ] + } ] } ] @@ -747,21 +747,6 @@ "@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/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0" - } - ], - "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/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_6", @@ -854,6 +839,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1093,21 +1093,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(21,12)-(21,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -1148,6 +1133,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(21,12)-(21,18)]" + } + ] + } ] } ] @@ -1566,21 +1566,6 @@ "@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/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0" - } - ], - "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/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/lexical/element_7", @@ -1686,6 +1671,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1914,21 +1914,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(42,12)-(42,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -1969,6 +1954,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(42,12)-(42,18)]" + } + ] + } ] } ] @@ -2520,21 +2520,6 @@ "@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/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0" - } - ], - "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/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_6", @@ -2627,6 +2612,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3036,21 +3036,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(21,12)-(21,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -3091,6 +3076,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(21,12)-(21,18)]" + } + ] + } ] } ] @@ -3509,21 +3509,6 @@ "@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/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0" - } - ], - "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/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/lexical/element_7", @@ -3629,6 +3614,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3713,21 +3713,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(42,12)-(42,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -3768,6 +3753,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(42,12)-(42,18)]" + } + ] + } ] } ] @@ -4319,21 +4319,6 @@ "@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/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0" - } - ], - "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/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_6", @@ -4426,6 +4411,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/resolution/security/security.json.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/security/security.json.flattened.jsonld index 95850cdb86..81ebd9b6bc 100644 --- a/amf-cli/shared/src/test/resources/resolution/security/security.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/security/security.json.flattened.jsonld @@ -570,11 +570,6 @@ "@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/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_6" @@ -597,6 +592,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_5" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0" + } ] }, { @@ -708,11 +708,6 @@ "@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/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/lexical/element_7" @@ -738,6 +733,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/lexical/element_6" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0" + } ] }, { @@ -924,11 +924,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#response", @@ -964,6 +959,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#header", "http://a.ml/vocabularies/document-source-maps#value": "[(39,8)-(44,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/settings/oauth2/flows/default-flow/source-map", "@type": [ @@ -1112,11 +1112,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/lexical/element_7", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#response", @@ -1157,6 +1152,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#header", "http://a.ml/vocabularies/document-source-maps#value": "[(18,8)-(23,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/settings/oauth2/flows/default-flow/scope/profile", "@type": [ @@ -1209,11 +1209,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2" @@ -1224,6 +1219,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1373,11 +1373,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2" @@ -1388,6 +1383,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1516,11 +1516,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/settings/oauth2/flows/default-flow", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(42,12)-(42,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1536,6 +1531,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(40,10)-(43,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(42,12)-(42,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1593,11 +1593,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/requirement_1/schemes/oauth_2_0/scheme/oauth_2_0/settings/oauth2/flows/default-flow", "http://a.ml/vocabularies/document-source-maps#value": "[(36,17)-(69,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(21,12)-(21,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1613,6 +1608,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(19,10)-(22,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(21,12)-(21,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.json#/web-api/endpoint/%2Fusers/supportedOperation/get/security/requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", diff --git a/amf-cli/shared/src/test/resources/resolution/security/security.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/security/security.raml.expanded.jsonld index 61b04541c2..97949832ec 100644 --- a/amf-cli/shared/src/test/resources/resolution/security/security.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/security/security.raml.expanded.jsonld @@ -146,21 +146,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(22,10)-(22,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -201,6 +186,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(22,10)-(22,14)]" + } + ] + } ] } ] @@ -541,9 +541,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" @@ -551,35 +551,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,18)-(33,22)]" + "@value": "[(32,16)-(34,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,16)-(34,0)]" + "@value": "[(33,18)-(34,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,18)-(34,0)]" + "@value": "[(33,18)-(33,22)]" } ] } @@ -705,9 +705,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema" @@ -715,14 +715,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,12)-(35,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema" @@ -730,7 +730,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(30,12)-(35,0)]" } ] } @@ -994,21 +994,6 @@ "@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/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0" - } - ], - "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/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_6", @@ -1101,6 +1086,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1309,21 +1309,6 @@ "@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/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0" - } - ], - "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/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/lexical/element_4", @@ -1390,6 +1375,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1652,9 +1652,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid" @@ -1662,14 +1662,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(50,7)-(50,15)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid" @@ -1677,7 +1677,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(50,7)-(50,15)]" + "@value": "true" } ] } @@ -1728,9 +1728,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#null-security": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null" @@ -1738,14 +1738,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(53,8)-(53,12)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#null-security": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null" @@ -1753,7 +1753,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(53,8)-(53,12)]" } ] } @@ -1885,21 +1885,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(22,10)-(22,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -1940,6 +1925,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(22,10)-(22,14)]" + } + ] + } ] } ] @@ -2280,9 +2280,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" @@ -2290,35 +2290,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,18)-(33,22)]" + "@value": "[(32,16)-(34,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,16)-(34,0)]" + "@value": "[(33,18)-(34,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,18)-(34,0)]" + "@value": "[(33,18)-(33,22)]" } ] } @@ -2444,9 +2444,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema" @@ -2454,14 +2454,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,12)-(35,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema" @@ -2469,7 +2469,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(30,12)-(35,0)]" } ] } @@ -2733,21 +2733,6 @@ "@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/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0" - } - ], - "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/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_6", @@ -2840,6 +2825,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3210,21 +3210,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(22,10)-(22,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -3265,6 +3250,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(22,10)-(22,14)]" + } + ] + } ] } ] @@ -3605,9 +3605,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" @@ -3615,35 +3615,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,18)-(33,22)]" + "@value": "[(32,16)-(34,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,16)-(34,0)]" + "@value": "[(33,18)-(34,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,18)-(34,0)]" + "@value": "[(33,18)-(33,22)]" } ] } @@ -3769,9 +3769,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema" @@ -3779,14 +3779,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,12)-(35,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema" @@ -3794,7 +3794,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(30,12)-(35,0)]" } ] } @@ -4058,21 +4058,6 @@ "@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/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0" - } - ], - "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/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_6", @@ -4165,6 +4150,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -4304,21 +4304,6 @@ "@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/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0" - } - ], - "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/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/lexical/element_4", @@ -4385,6 +4370,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/resolution/security/security.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/security/security.raml.flattened.jsonld index e6fa97fd00..818fb38abb 100644 --- a/amf-cli/shared/src/test/resources/resolution/security/security.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/security/security.raml.flattened.jsonld @@ -550,14 +550,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/virtual-element/element_0" } ] }, @@ -571,14 +571,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#null-security": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#null-security": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0" } ] }, @@ -715,11 +715,6 @@ "@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/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_6" @@ -742,6 +737,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_5" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0" + } ] }, { @@ -774,11 +774,6 @@ "@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/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/lexical/element_4" @@ -795,6 +790,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0" + } ] }, { @@ -823,14 +823,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(50,7)-(50,15)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid", - "http://a.ml/vocabularies/document-source-maps#value": "[(50,7)-(50,15)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/synthesized-field/element_0", @@ -838,14 +838,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null", - "http://a.ml/vocabularies/document-source-maps#value": "[(53,8)-(53,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(53,8)-(53,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/settings/oauth2/flows/default-flow", @@ -1046,11 +1046,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#response", @@ -1086,6 +1081,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#header", "http://a.ml/vocabularies/document-source-maps#value": "[(19,6)-(23,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/settings/oauth1/source-map", "@type": [ @@ -1109,11 +1109,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -1139,6 +1134,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(35,2)-(35,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_2/schemes/oauth_1_0/scheme/oauth_1_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/settings/oauth2/flows/default-flow/scope/ADMINISTRATOR", "@type": [ @@ -1171,11 +1171,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2" @@ -1186,6 +1181,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1384,11 +1384,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#scope", "http://a.ml/vocabularies/document-source-maps#value": "[(55,10)-(56,27)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(22,10)-(22,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1404,6 +1399,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(23,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(22,10)-(22,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1458,14 +1458,14 @@ "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } ] }, @@ -1548,25 +1548,20 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(34,14)-(34,18)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,12)-(35,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(30,12)-(35,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_1" @@ -1574,6 +1569,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1596,11 +1596,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(32,22)-(34,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge", - "http://a.ml/vocabularies/document-source-maps#value": "[(33,18)-(33,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge", @@ -1611,6 +1606,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(33,18)-(34,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/scheme/oauth_2_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge", + "http://a.ml/vocabularies/document-source-maps#value": "[(33,18)-(33,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/resolution/security/security.raml", "http://a.ml/vocabularies/document#declares": [ diff --git a/amf-cli/shared/src/test/resources/resolution/shared-oas-30-examples/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/shared-oas-30-examples/api.expanded.jsonld index 6b01dd6604..be81727626 100644 --- a/amf-cli/shared/src/test/resources/resolution/shared-oas-30-examples/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/shared-oas-30-examples/api.expanded.jsonld @@ -110,7 +110,7 @@ ], "apiContract:payload": [ { - "@id": "#21", + "@id": "#15", "@type": [ "apiContract:Payload", "core:Payload", @@ -268,8 +268,14 @@ "doc:raw": "true", "doc:strict": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#16" + }, "resolved-link": { - "#6": "amf://id#15" + "#6": "amf://id#21" }, "lexical": { "doc:structuredValue": "[(59,6)-(62,0)]", @@ -277,14 +283,8 @@ "#6": "[(57,4)-(62,0)]", "apiContract:guiSummary": "[(58,6)-(59,0)]" }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#11" - }, "tracked-element": { - "#6": "amf://id#21,amf://id#17,amf://id#19,amf://id#16,amf://id#20,amf://id#18" + "#6": "amf://id#13,amf://id#10,amf://id#11,amf://id#15,amf://id#14,amf://id#12" } } } @@ -292,7 +292,7 @@ "smaps": { "lexical": { "apiContract:examples": "[(16,14)-(19,0)]", - "#21": "[(13,12)-(19,0)]", + "#15": "[(13,12)-(19,0)]", "core:mediaType": "[(13,12)-(13,28)]" } } @@ -321,7 +321,7 @@ ], "apiContract:payload": [ { - "@id": "#19", + "@id": "#13", "@type": [ "apiContract:Payload", "core:Payload", @@ -479,8 +479,14 @@ "doc:raw": "true", "doc:strict": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#16" + }, "resolved-link": { - "#6": "amf://id#15" + "#6": "amf://id#21" }, "lexical": { "doc:structuredValue": "[(59,6)-(62,0)]", @@ -488,14 +494,8 @@ "#6": "[(57,4)-(62,0)]", "apiContract:guiSummary": "[(58,6)-(59,0)]" }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#11" - }, "tracked-element": { - "#6": "amf://id#21,amf://id#17,amf://id#19,amf://id#16,amf://id#20,amf://id#18" + "#6": "amf://id#13,amf://id#10,amf://id#11,amf://id#15,amf://id#14,amf://id#12" } } } @@ -503,20 +503,20 @@ "smaps": { "lexical": { "apiContract:examples": "[(24,12)-(27,0)]", - "#19": "[(21,10)-(27,0)]", + "#13": "[(21,10)-(27,0)]", "core:mediaType": "[(21,10)-(21,26)]" } } } ], "smaps": { + "virtual-element": { + "#39": "true" + }, "lexical": { "core:name": "[(19,6)-(19,17)]", "#39": "[(8,6)-(27,0)]", "apiContract:parameter": "[(8,6)-(19,0)]" - }, - "virtual-element": { - "#39": "true" } } } @@ -547,7 +547,7 @@ ], "apiContract:payload": [ { - "@id": "#18", + "@id": "#12", "@type": [ "apiContract:Payload", "core:Payload", @@ -583,7 +583,7 @@ "smaps": { "lexical": { "core:mediaType": "[(31,12)-(31,28)]", - "#18": "[(31,12)-(37,0)]" + "#12": "[(31,12)-(37,0)]" } } } @@ -853,8 +853,14 @@ "doc:raw": "true", "doc:strict": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#16" + }, "resolved-link": { - "#6": "amf://id#15" + "#6": "amf://id#21" }, "lexical": { "doc:structuredValue": "[(59,6)-(62,0)]", @@ -862,14 +868,8 @@ "#6": "[(57,4)-(62,0)]", "apiContract:guiSummary": "[(58,6)-(59,0)]" }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#11" - }, "tracked-element": { - "#6": "amf://id#21,amf://id#17,amf://id#19,amf://id#16,amf://id#20,amf://id#18" + "#6": "amf://id#13,amf://id#10,amf://id#11,amf://id#15,amf://id#14,amf://id#12" } } } @@ -888,15 +888,15 @@ "apiContract:explode": "true", "apiContract:required": "true" }, + "declared-element": { + "#28": "" + }, "lexical": { "apiContract:payload": "[(86,6)-(92,64)]", "apiContract:style": "[(85,6)-(86,0)]", "#28": "[(82,4)-(92,64)]", "apiContract:paramName": "[(83,6)-(84,0)]", "apiContract:binding": "[(84,6)-(85,0)]" - }, - "declared-element": { - "#28": "" } } } @@ -1066,8 +1066,14 @@ "doc:raw": "true", "doc:strict": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#16" + }, "resolved-link": { - "#6": "amf://id#15" + "#6": "amf://id#21" }, "lexical": { "doc:structuredValue": "[(59,6)-(62,0)]", @@ -1075,14 +1081,8 @@ "#6": "[(57,4)-(62,0)]", "apiContract:guiSummary": "[(58,6)-(59,0)]" }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#11" - }, "tracked-element": { - "#6": "amf://id#21,amf://id#17,amf://id#19,amf://id#16,amf://id#20,amf://id#18" + "#6": "amf://id#13,amf://id#10,amf://id#11,amf://id#15,amf://id#14,amf://id#12" } } } @@ -1097,12 +1097,12 @@ } ], "smaps": { - "lexical": { - "#45": "[(41,6)-(81,0)]" - }, "virtual-element": { "#45": "true" }, + "lexical": { + "#45": "[(41,6)-(81,0)]" + }, "declared-element": { "#45": "" } @@ -1293,8 +1293,14 @@ "doc:raw": "true", "doc:strict": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#16" + }, "resolved-link": { - "#6": "amf://id#15" + "#6": "amf://id#21" }, "lexical": { "doc:structuredValue": "[(59,6)-(62,0)]", @@ -1302,14 +1308,8 @@ "#6": "[(57,4)-(62,0)]", "apiContract:guiSummary": "[(58,6)-(59,0)]" }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#11" - }, "tracked-element": { - "#6": "amf://id#21,amf://id#17,amf://id#19,amf://id#16,amf://id#20,amf://id#18" + "#6": "amf://id#13,amf://id#10,amf://id#11,amf://id#15,amf://id#14,amf://id#12" } } } @@ -1324,19 +1324,19 @@ } ], "smaps": { - "resolved-link-target": { - "#43": "amf://id#30" - }, "lexical": { "apiContract:payload": "[(65,6)-(72,0)]", "#43": "[(63,4)-(72,0)]", "core:description": "[(64,6)-(65,0)]" }, - "declared-element": { - "#43": "" - }, "resolved-link": { "#43": "amf://id#44" + }, + "resolved-link-target": { + "#43": "amf://id#30" + }, + "declared-element": { + "#43": "" } } } @@ -1444,12 +1444,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(53,10)-(53,14)]" - }, "lexical": { "shacl:datatype": "[(53,10)-(54,0)]", "#3": "[(52,8)-(54,0)]" + }, + "type-property-lexical-info": { + "#3": "[(53,10)-(53,14)]" } } } @@ -1507,12 +1507,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(55,10)-(55,14)]" - }, "lexical": { "shacl:datatype": "[(55,10)-(56,0)]", "#5": "[(54,8)-(56,0)]" + }, + "type-property-lexical-info": { + "#5": "[(55,10)-(55,14)]" } } } @@ -1672,8 +1672,14 @@ "doc:raw": "true", "doc:strict": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#16" + }, "resolved-link": { - "#6": "amf://id#15" + "#6": "amf://id#21" }, "lexical": { "doc:structuredValue": "[(59,6)-(62,0)]", @@ -1681,14 +1687,8 @@ "#6": "[(57,4)-(62,0)]", "apiContract:guiSummary": "[(58,6)-(59,0)]" }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#11" - }, "tracked-element": { - "#6": "amf://id#21,amf://id#17,amf://id#19,amf://id#16,amf://id#20,amf://id#18" + "#6": "amf://id#13,amf://id#10,amf://id#11,amf://id#15,amf://id#14,amf://id#12" } } } @@ -1698,21 +1698,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#27" - }, "type-property-lexical-info": { "#1": "[(50,6)-(50,10)]" }, - "lexical": { - "shacl:name": "[(49,4)-(49,17)]", - "#1": "[(49,4)-(56,0)]" + "resolved-link": { + "#1": "amf://id#27" + }, + "resolved-link-target": { + "#1": "amf://id#22" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#23" + "lexical": { + "shacl:name": "[(49,4)-(49,17)]", + "#1": "[(49,4)-(56,0)]" } } }, @@ -1826,12 +1826,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(53,10)-(53,14)]" - }, "lexical": { "shacl:datatype": "[(53,10)-(54,0)]", "#3": "[(52,8)-(54,0)]" + }, + "type-property-lexical-info": { + "#3": "[(53,10)-(53,14)]" } } } @@ -1889,12 +1889,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(55,10)-(55,14)]" - }, "lexical": { "shacl:datatype": "[(55,10)-(56,0)]", "#5": "[(54,8)-(56,0)]" + }, + "type-property-lexical-info": { + "#5": "[(55,10)-(55,14)]" } } } @@ -2054,8 +2054,14 @@ "doc:raw": "true", "doc:strict": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#16" + }, "resolved-link": { - "#6": "amf://id#15" + "#6": "amf://id#21" }, "lexical": { "doc:structuredValue": "[(59,6)-(62,0)]", @@ -2063,14 +2069,8 @@ "#6": "[(57,4)-(62,0)]", "apiContract:guiSummary": "[(58,6)-(59,0)]" }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#11" - }, "tracked-element": { - "#6": "amf://id#21,amf://id#17,amf://id#19,amf://id#16,amf://id#20,amf://id#18" + "#6": "amf://id#13,amf://id#10,amf://id#11,amf://id#15,amf://id#14,amf://id#12" } } } @@ -2080,21 +2080,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#27" - }, "type-property-lexical-info": { "#1": "[(50,6)-(50,10)]" }, - "lexical": { - "shacl:name": "[(49,4)-(49,17)]", - "#1": "[(49,4)-(56,0)]" + "resolved-link": { + "#1": "amf://id#27" + }, + "resolved-link-target": { + "#1": "amf://id#22" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#23" + "lexical": { + "shacl:name": "[(49,4)-(49,17)]", + "#1": "[(49,4)-(56,0)]" } } } @@ -2224,8 +2224,14 @@ "doc:raw": "true", "doc:strict": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#16" + }, "resolved-link": { - "#6": "amf://id#15" + "#6": "amf://id#21" }, "lexical": { "doc:structuredValue": "[(59,6)-(62,0)]", @@ -2233,14 +2239,8 @@ "#6": "[(57,4)-(62,0)]", "apiContract:guiSummary": "[(58,6)-(59,0)]" }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#11" - }, "tracked-element": { - "#6": "amf://id#21,amf://id#17,amf://id#19,amf://id#16,amf://id#20,amf://id#18" + "#6": "amf://id#13,amf://id#10,amf://id#11,amf://id#15,amf://id#14,amf://id#12" } } } @@ -2260,15 +2260,15 @@ "apiContract:explode": "true", "apiContract:required": "true" }, + "declared-element": { + "#28": "" + }, "lexical": { "apiContract:payload": "[(86,6)-(92,64)]", "apiContract:style": "[(85,6)-(86,0)]", "#28": "[(82,4)-(92,64)]", "apiContract:paramName": "[(83,6)-(84,0)]", "apiContract:binding": "[(84,6)-(85,0)]" - }, - "declared-element": { - "#28": "" } } }, @@ -2353,12 +2353,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(53,10)-(53,14)]" - }, "lexical": { "shacl:datatype": "[(53,10)-(54,0)]", "#3": "[(52,8)-(54,0)]" + }, + "type-property-lexical-info": { + "#3": "[(53,10)-(53,14)]" } } } @@ -2416,12 +2416,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(55,10)-(55,14)]" - }, "lexical": { "shacl:datatype": "[(55,10)-(56,0)]", "#5": "[(54,8)-(56,0)]" + }, + "type-property-lexical-info": { + "#5": "[(55,10)-(55,14)]" } } } @@ -2581,8 +2581,14 @@ "doc:raw": "true", "doc:strict": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#16" + }, "resolved-link": { - "#6": "amf://id#15" + "#6": "amf://id#21" }, "lexical": { "doc:structuredValue": "[(59,6)-(62,0)]", @@ -2590,14 +2596,8 @@ "#6": "[(57,4)-(62,0)]", "apiContract:guiSummary": "[(58,6)-(59,0)]" }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#11" - }, "tracked-element": { - "#6": "amf://id#21,amf://id#17,amf://id#19,amf://id#16,amf://id#20,amf://id#18" + "#6": "amf://id#13,amf://id#10,amf://id#11,amf://id#15,amf://id#14,amf://id#12" } } } @@ -2607,21 +2607,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#27" - }, "type-property-lexical-info": { "#1": "[(50,6)-(50,10)]" }, - "lexical": { - "shacl:name": "[(49,4)-(49,17)]", - "#1": "[(49,4)-(56,0)]" + "resolved-link": { + "#1": "amf://id#27" + }, + "resolved-link-target": { + "#1": "amf://id#22" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#23" + "lexical": { + "shacl:name": "[(49,4)-(49,17)]", + "#1": "[(49,4)-(56,0)]" } } } @@ -2751,8 +2751,14 @@ "doc:raw": "true", "doc:strict": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#16" + }, "resolved-link": { - "#6": "amf://id#15" + "#6": "amf://id#21" }, "lexical": { "doc:structuredValue": "[(59,6)-(62,0)]", @@ -2760,14 +2766,8 @@ "#6": "[(57,4)-(62,0)]", "apiContract:guiSummary": "[(58,6)-(59,0)]" }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#11" - }, "tracked-element": { - "#6": "amf://id#21,amf://id#17,amf://id#19,amf://id#16,amf://id#20,amf://id#18" + "#6": "amf://id#13,amf://id#10,amf://id#11,amf://id#15,amf://id#14,amf://id#12" } } } @@ -2917,8 +2917,14 @@ "doc:raw": "true", "doc:strict": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#16" + }, "resolved-link": { - "#6": "amf://id#15" + "#6": "amf://id#21" }, "lexical": { "doc:structuredValue": "[(59,6)-(62,0)]", @@ -2926,14 +2932,8 @@ "#6": "[(57,4)-(62,0)]", "apiContract:guiSummary": "[(58,6)-(59,0)]" }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#11" - }, "tracked-element": { - "#6": "amf://id#21,amf://id#17,amf://id#19,amf://id#16,amf://id#20,amf://id#18" + "#6": "amf://id#13,amf://id#10,amf://id#11,amf://id#15,amf://id#14,amf://id#12" } } }, @@ -3013,12 +3013,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(53,10)-(53,14)]" - }, "lexical": { "shacl:datatype": "[(53,10)-(54,0)]", "#3": "[(52,8)-(54,0)]" + }, + "type-property-lexical-info": { + "#3": "[(53,10)-(53,14)]" } } } @@ -3076,12 +3076,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(55,10)-(55,14)]" - }, "lexical": { "shacl:datatype": "[(55,10)-(56,0)]", "#5": "[(54,8)-(56,0)]" + }, + "type-property-lexical-info": { + "#5": "[(55,10)-(55,14)]" } } } @@ -3241,8 +3241,14 @@ "doc:raw": "true", "doc:strict": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#16" + }, "resolved-link": { - "#6": "amf://id#15" + "#6": "amf://id#21" }, "lexical": { "doc:structuredValue": "[(59,6)-(62,0)]", @@ -3250,14 +3256,8 @@ "#6": "[(57,4)-(62,0)]", "apiContract:guiSummary": "[(58,6)-(59,0)]" }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#11" - }, "tracked-element": { - "#6": "amf://id#21,amf://id#17,amf://id#19,amf://id#16,amf://id#20,amf://id#18" + "#6": "amf://id#13,amf://id#10,amf://id#11,amf://id#15,amf://id#14,amf://id#12" } } } @@ -3267,21 +3267,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#27" - }, "type-property-lexical-info": { "#1": "[(50,6)-(50,10)]" }, - "lexical": { - "shacl:name": "[(49,4)-(49,17)]", - "#1": "[(49,4)-(56,0)]" + "resolved-link": { + "#1": "amf://id#27" + }, + "resolved-link-target": { + "#1": "amf://id#22" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#23" + "lexical": { + "shacl:name": "[(49,4)-(49,17)]", + "#1": "[(49,4)-(56,0)]" } } } @@ -3411,8 +3411,14 @@ "doc:raw": "true", "doc:strict": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#16" + }, "resolved-link": { - "#6": "amf://id#15" + "#6": "amf://id#21" }, "lexical": { "doc:structuredValue": "[(59,6)-(62,0)]", @@ -3420,14 +3426,8 @@ "#6": "[(57,4)-(62,0)]", "apiContract:guiSummary": "[(58,6)-(59,0)]" }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#11" - }, "tracked-element": { - "#6": "amf://id#21,amf://id#17,amf://id#19,amf://id#16,amf://id#20,amf://id#18" + "#6": "amf://id#13,amf://id#10,amf://id#11,amf://id#15,amf://id#14,amf://id#12" } } } @@ -3443,13 +3443,13 @@ } ], "smaps": { + "virtual-element": { + "#32": "true" + }, "lexical": { "core:name": "[(73,4)-(73,13)]", "#32": "[(73,4)-(81,0)]" }, - "virtual-element": { - "#32": "true" - }, "declared-element": { "#32": "" } diff --git a/amf-cli/shared/src/test/resources/resolution/shared-oas-30-examples/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/shared-oas-30-examples/api.flattened.jsonld index f1065feaa3..3a72763935 100644 --- a/amf-cli/shared/src/test/resources/resolution/shared-oas-30-examples/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/shared-oas-30-examples/api.flattened.jsonld @@ -138,17 +138,17 @@ "core:name": "requestBody", "apiContract:payload": [ { - "@id": "#19" + "@id": "#13" } ], "smaps": { + "virtual-element": { + "#39": "true" + }, "lexical": { "core:name": "[(19,6)-(19,17)]", "#39": "[(8,6)-(27,0)]", "apiContract:parameter": "[(8,6)-(19,0)]" - }, - "virtual-element": { - "#39": "true" } } }, @@ -165,7 +165,7 @@ "core:description": "Ok", "apiContract:payload": [ { - "@id": "#18" + "@id": "#12" } ], "smaps": { @@ -197,12 +197,12 @@ } ], "smaps": { - "lexical": { - "#45": "[(41,6)-(81,0)]" - }, "virtual-element": { "#45": "true" }, + "lexical": { + "#45": "[(41,6)-(81,0)]" + }, "declared-element": { "#45": "" } @@ -225,19 +225,19 @@ } ], "smaps": { - "resolved-link-target": { - "#43": "amf://id#30" - }, "lexical": { "apiContract:payload": "[(65,6)-(72,0)]", "#43": "[(63,4)-(72,0)]", "core:description": "[(64,6)-(65,0)]" }, - "declared-element": { - "#43": "" - }, "resolved-link": { "#43": "amf://id#44" + }, + "resolved-link-target": { + "#43": "amf://id#30" + }, + "declared-element": { + "#43": "" } } }, @@ -258,7 +258,7 @@ "apiContract:binding": "query", "apiContract:payload": [ { - "@id": "#21" + "@id": "#15" } ], "smaps": { @@ -277,7 +277,7 @@ } }, { - "@id": "#19", + "@id": "#13", "@type": [ "apiContract:Payload", "core:Payload", @@ -296,13 +296,13 @@ "lexical": { "apiContract:examples": "[(24,12)-(27,0)]", "core:mediaType": "[(21,10)-(21,26)]", - "#19": "[(21,10)-(27,0)]", + "#13": "[(21,10)-(27,0)]", "raml-shapes:schema": "[(22,12)-(24,0)]" } } }, { - "@id": "#18", + "@id": "#12", "@type": [ "apiContract:Payload", "core:Payload", @@ -315,7 +315,7 @@ "smaps": { "lexical": { "raml-shapes:schema": "[(32,14)-(34,0)]", - "#18": "[(31,12)-(37,0)]", + "#12": "[(31,12)-(37,0)]", "core:mediaType": "[(31,12)-(31,28)]" } } @@ -345,15 +345,15 @@ "apiContract:explode": "true", "apiContract:required": "true" }, + "declared-element": { + "#28": "" + }, "lexical": { "apiContract:payload": "[(86,6)-(92,64)]", "apiContract:style": "[(85,6)-(86,0)]", "#28": "[(82,4)-(92,64)]", "apiContract:paramName": "[(83,6)-(84,0)]", "apiContract:binding": "[(84,6)-(85,0)]" - }, - "declared-element": { - "#28": "" } } }, @@ -408,7 +408,7 @@ } }, { - "@id": "#21", + "@id": "#15", "@type": [ "apiContract:Payload", "core:Payload", @@ -427,7 +427,7 @@ "lexical": { "apiContract:examples": "[(16,14)-(19,0)]", "core:mediaType": "[(13,12)-(13,28)]", - "#21": "[(13,12)-(19,0)]", + "#15": "[(13,12)-(19,0)]", "raml-shapes:schema": "[(14,14)-(16,0)]" } } @@ -462,21 +462,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#27" - }, "type-property-lexical-info": { "#1": "[(50,6)-(50,10)]" }, - "lexical": { - "shacl:name": "[(49,4)-(49,17)]", - "#1": "[(49,4)-(56,0)]" + "resolved-link": { + "#1": "amf://id#27" + }, + "resolved-link-target": { + "#1": "amf://id#22" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#23" + "lexical": { + "shacl:name": "[(49,4)-(49,17)]", + "#1": "[(49,4)-(56,0)]" } } }, @@ -498,8 +498,14 @@ "doc:raw": "true", "doc:strict": "true" }, + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#16" + }, "resolved-link": { - "#6": "amf://id#15" + "#6": "amf://id#21" }, "lexical": { "doc:structuredValue": "[(59,6)-(62,0)]", @@ -507,14 +513,8 @@ "#6": "[(57,4)-(62,0)]", "apiContract:guiSummary": "[(58,6)-(59,0)]" }, - "declared-element": { - "#6": "" - }, - "resolved-link-target": { - "#6": "amf://id#11" - }, "tracked-element": { - "#6": "amf://id#21,amf://id#17,amf://id#19,amf://id#16,amf://id#20,amf://id#18" + "#6": "amf://id#13,amf://id#10,amf://id#11,amf://id#15,amf://id#14,amf://id#12" } } }, @@ -638,12 +638,12 @@ ], "shacl:name": "status", "smaps": { - "type-property-lexical-info": { - "#3": "[(53,10)-(53,14)]" - }, "lexical": { "shacl:datatype": "[(53,10)-(54,0)]", "#3": "[(52,8)-(54,0)]" + }, + "type-property-lexical-info": { + "#3": "[(53,10)-(53,14)]" } } }, @@ -663,12 +663,12 @@ ], "shacl:name": "text", "smaps": { - "type-property-lexical-info": { - "#5": "[(55,10)-(55,14)]" - }, "lexical": { "shacl:datatype": "[(55,10)-(56,0)]", "#5": "[(54,8)-(56,0)]" + }, + "type-property-lexical-info": { + "#5": "[(55,10)-(55,14)]" } } }, @@ -794,13 +794,13 @@ } ], "smaps": { + "virtual-element": { + "#32": "true" + }, "lexical": { "core:name": "[(73,4)-(73,13)]", "#32": "[(73,4)-(81,0)]" }, - "virtual-element": { - "#32": "true" - }, "declared-element": { "#32": "" } diff --git a/amf-cli/shared/src/test/resources/resolution/shared-request-body-reference/oas30/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/shared-request-body-reference/oas30/api.expanded.jsonld index 010ab3547f..c0582ea453 100644 --- a/amf-cli/shared/src/test/resources/resolution/shared-request-body-reference/oas30/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/shared-request-body-reference/oas30/api.expanded.jsonld @@ -114,22 +114,22 @@ } ], "smaps": { + "virtual-element": { + "#13": "true" + }, + "resolved-link": { + "#13": "amf://id#16" + }, "lexical": { "core:description": "[(32,6)-(33,0)]", "#13": "[(31,4)-(40,0)]", "core:name": "[(31,4)-(31,13)]" }, - "resolved-link": { - "#13": "amf://id#16" - }, - "virtual-element": { - "#13": "true" + "resolved-link-target": { + "#13": "amf://id#14" }, "declared-element": { "#13": "" - }, - "resolved-link-target": { - "#13": "amf://id#15" } } } @@ -268,22 +268,22 @@ } ], "smaps": { + "virtual-element": { + "#13": "true" + }, + "resolved-link": { + "#13": "amf://id#16" + }, "lexical": { "core:description": "[(32,6)-(33,0)]", "#13": "[(31,4)-(40,0)]", "core:name": "[(31,4)-(31,13)]" }, - "resolved-link": { - "#13": "amf://id#16" - }, - "virtual-element": { - "#13": "true" + "resolved-link-target": { + "#13": "amf://id#14" }, "declared-element": { "#13": "" - }, - "resolved-link-target": { - "#13": "amf://id#15" } } } @@ -424,12 +424,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(27,10)-(27,14)]" - }, "lexical": { "shacl:datatype": "[(27,10)-(28,0)]", "#3": "[(26,8)-(28,0)]" + }, + "type-property-lexical-info": { + "#3": "[(27,10)-(27,14)]" } } } @@ -487,12 +487,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(29,10)-(29,14)]" - }, "lexical": { "shacl:datatype": "[(29,10)-(30,0)]", "#5": "[(28,8)-(30,0)]" + }, + "type-property-lexical-info": { + "#5": "[(29,10)-(29,14)]" } } } @@ -662,21 +662,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#11" - }, "type-property-lexical-info": { "#1": "[(24,6)-(24,10)]" }, - "lexical": { - "shacl:name": "[(23,4)-(23,17)]", - "#1": "[(23,4)-(30,0)]" + "resolved-link": { + "#1": "amf://id#12" + }, + "resolved-link-target": { + "#1": "amf://id#11" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#12" + "lexical": { + "shacl:name": "[(23,4)-(23,17)]", + "#1": "[(23,4)-(30,0)]" } } }, @@ -761,12 +761,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(27,10)-(27,14)]" - }, "lexical": { "shacl:datatype": "[(27,10)-(28,0)]", "#3": "[(26,8)-(28,0)]" + }, + "type-property-lexical-info": { + "#3": "[(27,10)-(27,14)]" } } } @@ -824,12 +824,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(29,10)-(29,14)]" - }, "lexical": { "shacl:datatype": "[(29,10)-(30,0)]", "#5": "[(28,8)-(30,0)]" + }, + "type-property-lexical-info": { + "#5": "[(29,10)-(29,14)]" } } } @@ -999,21 +999,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#11" - }, "type-property-lexical-info": { "#1": "[(24,6)-(24,10)]" }, - "lexical": { - "shacl:name": "[(23,4)-(23,17)]", - "#1": "[(23,4)-(30,0)]" + "resolved-link": { + "#1": "amf://id#12" + }, + "resolved-link-target": { + "#1": "amf://id#11" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#12" + "lexical": { + "shacl:name": "[(23,4)-(23,17)]", + "#1": "[(23,4)-(30,0)]" } } } @@ -1028,22 +1028,22 @@ } ], "smaps": { + "virtual-element": { + "#13": "true" + }, + "resolved-link": { + "#13": "amf://id#16" + }, "lexical": { "core:description": "[(32,6)-(33,0)]", "#13": "[(31,4)-(40,0)]", "core:name": "[(31,4)-(31,13)]" }, - "resolved-link": { - "#13": "amf://id#16" - }, - "virtual-element": { - "#13": "true" + "resolved-link-target": { + "#13": "amf://id#14" }, "declared-element": { "#13": "" - }, - "resolved-link-target": { - "#13": "amf://id#15" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/shared-request-body-reference/oas30/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/shared-request-body-reference/oas30/api.flattened.jsonld index 9a05e9d942..5a5e074765 100644 --- a/amf-cli/shared/src/test/resources/resolution/shared-request-body-reference/oas30/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/shared-request-body-reference/oas30/api.flattened.jsonld @@ -138,22 +138,22 @@ } ], "smaps": { + "virtual-element": { + "#13": "true" + }, + "resolved-link": { + "#13": "amf://id#16" + }, "lexical": { "core:description": "[(32,6)-(33,0)]", "#13": "[(31,4)-(40,0)]", "core:name": "[(31,4)-(31,13)]" }, - "resolved-link": { - "#13": "amf://id#16" - }, - "virtual-element": { - "#13": "true" + "resolved-link-target": { + "#13": "amf://id#14" }, "declared-element": { "#13": "" - }, - "resolved-link-target": { - "#13": "amf://id#15" } } }, @@ -244,21 +244,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#11" - }, "type-property-lexical-info": { "#1": "[(24,6)-(24,10)]" }, - "lexical": { - "shacl:name": "[(23,4)-(23,17)]", - "#1": "[(23,4)-(30,0)]" + "resolved-link": { + "#1": "amf://id#12" + }, + "resolved-link-target": { + "#1": "amf://id#11" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#12" + "lexical": { + "shacl:name": "[(23,4)-(23,17)]", + "#1": "[(23,4)-(30,0)]" } } }, @@ -358,12 +358,12 @@ ], "shacl:name": "status", "smaps": { - "type-property-lexical-info": { - "#3": "[(27,10)-(27,14)]" - }, "lexical": { "shacl:datatype": "[(27,10)-(28,0)]", "#3": "[(26,8)-(28,0)]" + }, + "type-property-lexical-info": { + "#3": "[(27,10)-(27,14)]" } } }, @@ -383,12 +383,12 @@ ], "shacl:name": "text", "smaps": { - "type-property-lexical-info": { - "#5": "[(29,10)-(29,14)]" - }, "lexical": { "shacl:datatype": "[(29,10)-(30,0)]", "#5": "[(28,8)-(30,0)]" + }, + "type-property-lexical-info": { + "#5": "[(29,10)-(29,14)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas20/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas20/api.expanded.jsonld index e3895617fc..f66042f613 100644 --- a/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas20/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas20/api.expanded.jsonld @@ -121,28 +121,28 @@ } ], "smaps": { - "lexical": { - "#11": "[(19,2)-(26,0)]" - }, "virtual-element": { "#11": "true" + }, + "lexical": { + "#11": "[(19,2)-(26,0)]" } } } ], "smaps": { - "resolved-link-target": { - "#20": "amf://id#10" - }, "lexical": { "core:description": "[(28,4)-(29,0)]", "#20": "[(27,2)-(34,21)]" }, - "declared-element": { - "#20": "" - }, "resolved-link": { "#20": "amf://id#21" + }, + "resolved-link-target": { + "#20": "amf://id#10" + }, + "declared-element": { + "#20": "" } } } @@ -250,28 +250,28 @@ } ], "smaps": { - "lexical": { - "#12": "[(19,2)-(26,0)]" - }, "virtual-element": { "#12": "true" + }, + "lexical": { + "#12": "[(19,2)-(26,0)]" } } } ], "smaps": { - "resolved-link-target": { - "#24": "amf://id#10" - }, "lexical": { "core:description": "[(28,4)-(29,0)]", "#24": "[(27,2)-(34,21)]" }, - "declared-element": { - "#24": "" - }, "resolved-link": { "#24": "amf://id#25" + }, + "resolved-link-target": { + "#24": "amf://id#10" + }, + "declared-element": { + "#24": "" } } } @@ -380,12 +380,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(23,8)-(23,12)]" - }, "lexical": { "shacl:datatype": "[(23,8)-(24,0)]", "#3": "[(22,6)-(24,0)]" + }, + "type-property-lexical-info": { + "#3": "[(23,8)-(23,12)]" } } } @@ -443,12 +443,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(25,8)-(25,12)]" - }, "lexical": { "shacl:datatype": "[(25,8)-(26,0)]", "#5": "[(24,6)-(26,0)]" + }, + "type-property-lexical-info": { + "#5": "[(25,8)-(25,12)]" } } } @@ -622,21 +622,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#13" - }, "type-property-lexical-info": { "#1": "[(20,4)-(20,8)]" }, - "lexical": { - "shacl:name": "[(19,2)-(19,15)]", - "#1": "[(19,2)-(26,0)]" + "resolved-link": { + "#1": "amf://id#14" + }, + "resolved-link-target": { + "#1": "amf://id#13" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#14" + "lexical": { + "shacl:name": "[(19,2)-(19,15)]", + "#1": "[(19,2)-(26,0)]" } } }, @@ -716,12 +716,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(23,8)-(23,12)]" - }, "lexical": { "shacl:datatype": "[(23,8)-(24,0)]", "#3": "[(22,6)-(24,0)]" + }, + "type-property-lexical-info": { + "#3": "[(23,8)-(23,12)]" } } } @@ -779,12 +779,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(25,8)-(25,12)]" - }, "lexical": { "shacl:datatype": "[(25,8)-(26,0)]", "#5": "[(24,6)-(26,0)]" + }, + "type-property-lexical-info": { + "#5": "[(25,8)-(25,12)]" } } } @@ -958,32 +958,32 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#13" - }, "type-property-lexical-info": { "#1": "[(20,4)-(20,8)]" }, - "lexical": { - "shacl:name": "[(19,2)-(19,15)]", - "#1": "[(19,2)-(26,0)]" + "resolved-link": { + "#1": "amf://id#14" + }, + "resolved-link-target": { + "#1": "amf://id#13" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#14" + "lexical": { + "shacl:name": "[(19,2)-(19,15)]", + "#1": "[(19,2)-(26,0)]" } } } ], "smaps": { + "virtual-element": { + "#15": "true" + }, "lexical": { "raml-shapes:schema": "[(29,4)-(31,0)]", "#15": "[(19,2)-(26,0)]" - }, - "virtual-element": { - "#15": "true" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas20/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas20/api.flattened.jsonld index d53a9b3a0c..bfc7364759 100644 --- a/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas20/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas20/api.flattened.jsonld @@ -139,18 +139,18 @@ } ], "smaps": { - "resolved-link-target": { - "#20": "amf://id#10" - }, "lexical": { "core:description": "[(28,4)-(29,0)]", "#20": "[(27,2)-(34,21)]" }, - "declared-element": { - "#20": "" - }, "resolved-link": { "#20": "amf://id#21" + }, + "resolved-link-target": { + "#20": "amf://id#10" + }, + "declared-element": { + "#20": "" } } }, @@ -171,18 +171,18 @@ } ], "smaps": { - "resolved-link-target": { - "#24": "amf://id#10" - }, "lexical": { "core:description": "[(28,4)-(29,0)]", "#24": "[(27,2)-(34,21)]" }, - "declared-element": { - "#24": "" - }, "resolved-link": { "#24": "amf://id#25" + }, + "resolved-link-target": { + "#24": "amf://id#10" + }, + "declared-element": { + "#24": "" } } }, @@ -198,11 +198,11 @@ "@id": "#1" }, "smaps": { - "lexical": { - "#11": "[(19,2)-(26,0)]" - }, "virtual-element": { "#11": "true" + }, + "lexical": { + "#11": "[(19,2)-(26,0)]" } } }, @@ -218,11 +218,11 @@ "@id": "#1" }, "smaps": { - "lexical": { - "#12": "[(19,2)-(26,0)]" - }, "virtual-element": { "#12": "true" + }, + "lexical": { + "#12": "[(19,2)-(26,0)]" } } }, @@ -256,21 +256,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#13" - }, "type-property-lexical-info": { "#1": "[(20,4)-(20,8)]" }, - "lexical": { - "shacl:name": "[(19,2)-(19,15)]", - "#1": "[(19,2)-(26,0)]" + "resolved-link": { + "#1": "amf://id#14" + }, + "resolved-link-target": { + "#1": "amf://id#13" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#14" + "lexical": { + "shacl:name": "[(19,2)-(19,15)]", + "#1": "[(19,2)-(26,0)]" } } }, @@ -370,12 +370,12 @@ ], "shacl:name": "status", "smaps": { - "type-property-lexical-info": { - "#3": "[(23,8)-(23,12)]" - }, "lexical": { "shacl:datatype": "[(23,8)-(24,0)]", "#3": "[(22,6)-(24,0)]" + }, + "type-property-lexical-info": { + "#3": "[(23,8)-(23,12)]" } } }, @@ -395,12 +395,12 @@ ], "shacl:name": "text", "smaps": { - "type-property-lexical-info": { - "#5": "[(25,8)-(25,12)]" - }, "lexical": { "shacl:datatype": "[(25,8)-(26,0)]", "#5": "[(24,6)-(26,0)]" + }, + "type-property-lexical-info": { + "#5": "[(25,8)-(25,12)]" } } }, @@ -543,12 +543,12 @@ "@id": "#1" }, "smaps": { + "virtual-element": { + "#15": "true" + }, "lexical": { "raml-shapes:schema": "[(29,4)-(31,0)]", "#15": "[(19,2)-(26,0)]" - }, - "virtual-element": { - "#15": "true" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas30/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas30/api.expanded.jsonld index f8360cacb2..f1cb1c22c1 100644 --- a/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas30/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas30/api.expanded.jsonld @@ -119,19 +119,19 @@ } ], "smaps": { - "resolved-link-target": { - "#18": "amf://id#13" - }, "lexical": { "apiContract:payload": "[(28,6)-(35,0)]", "#18": "[(26,4)-(35,0)]", "core:description": "[(27,6)-(28,0)]" }, - "declared-element": { - "#18": "" - }, "resolved-link": { "#18": "amf://id#19" + }, + "resolved-link-target": { + "#18": "amf://id#13" + }, + "declared-element": { + "#18": "" } } } @@ -242,19 +242,19 @@ } ], "smaps": { - "resolved-link-target": { - "#22": "amf://id#13" - }, "lexical": { "apiContract:payload": "[(28,6)-(35,0)]", "#22": "[(26,4)-(35,0)]", "core:description": "[(27,6)-(28,0)]" }, - "declared-element": { - "#22": "" - }, "resolved-link": { "#22": "amf://id#23" + }, + "resolved-link-target": { + "#22": "amf://id#13" + }, + "declared-element": { + "#22": "" } } } @@ -362,12 +362,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(22,10)-(22,14)]" - }, "lexical": { "shacl:datatype": "[(22,10)-(23,0)]", "#3": "[(21,8)-(23,0)]" + }, + "type-property-lexical-info": { + "#3": "[(22,10)-(22,14)]" } } } @@ -425,12 +425,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(24,10)-(24,14)]" - }, "lexical": { "shacl:datatype": "[(24,10)-(25,0)]", "#5": "[(23,8)-(25,0)]" + }, + "type-property-lexical-info": { + "#5": "[(24,10)-(24,14)]" } } } @@ -600,21 +600,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#11" - }, "type-property-lexical-info": { "#1": "[(19,6)-(19,10)]" }, - "lexical": { - "shacl:name": "[(18,4)-(18,17)]", - "#1": "[(18,4)-(25,0)]" + "resolved-link": { + "#1": "amf://id#12" + }, + "resolved-link-target": { + "#1": "amf://id#11" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#12" + "lexical": { + "shacl:name": "[(18,4)-(18,17)]", + "#1": "[(18,4)-(25,0)]" } } }, @@ -699,12 +699,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(22,10)-(22,14)]" - }, "lexical": { "shacl:datatype": "[(22,10)-(23,0)]", "#3": "[(21,8)-(23,0)]" + }, + "type-property-lexical-info": { + "#3": "[(22,10)-(22,14)]" } } } @@ -762,12 +762,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(24,10)-(24,14)]" - }, "lexical": { "shacl:datatype": "[(24,10)-(25,0)]", "#5": "[(23,8)-(25,0)]" + }, + "type-property-lexical-info": { + "#5": "[(24,10)-(24,14)]" } } } @@ -937,21 +937,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#11" - }, "type-property-lexical-info": { "#1": "[(19,6)-(19,10)]" }, - "lexical": { - "shacl:name": "[(18,4)-(18,17)]", - "#1": "[(18,4)-(25,0)]" + "resolved-link": { + "#1": "amf://id#12" + }, + "resolved-link-target": { + "#1": "amf://id#11" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#12" + "lexical": { + "shacl:name": "[(18,4)-(18,17)]", + "#1": "[(18,4)-(25,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas30/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas30/api.flattened.jsonld index b2d6a8b6a0..8156f826f2 100644 --- a/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas30/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/shared-response-reference/oas30/api.flattened.jsonld @@ -129,19 +129,19 @@ } ], "smaps": { - "resolved-link-target": { - "#18": "amf://id#13" - }, "lexical": { "apiContract:payload": "[(28,6)-(35,0)]", "#18": "[(26,4)-(35,0)]", "core:description": "[(27,6)-(28,0)]" }, - "declared-element": { - "#18": "" - }, "resolved-link": { "#18": "amf://id#19" + }, + "resolved-link-target": { + "#18": "amf://id#13" + }, + "declared-element": { + "#18": "" } } }, @@ -162,19 +162,19 @@ } ], "smaps": { - "resolved-link-target": { - "#22": "amf://id#13" - }, "lexical": { "apiContract:payload": "[(28,6)-(35,0)]", "#22": "[(26,4)-(35,0)]", "core:description": "[(27,6)-(28,0)]" }, - "declared-element": { - "#22": "" - }, "resolved-link": { "#22": "amf://id#23" + }, + "resolved-link-target": { + "#22": "amf://id#13" + }, + "declared-element": { + "#22": "" } } }, @@ -227,21 +227,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#11" - }, "type-property-lexical-info": { "#1": "[(19,6)-(19,10)]" }, - "lexical": { - "shacl:name": "[(18,4)-(18,17)]", - "#1": "[(18,4)-(25,0)]" + "resolved-link": { + "#1": "amf://id#12" + }, + "resolved-link-target": { + "#1": "amf://id#11" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#12" + "lexical": { + "shacl:name": "[(18,4)-(18,17)]", + "#1": "[(18,4)-(25,0)]" } } }, @@ -341,12 +341,12 @@ ], "shacl:name": "status", "smaps": { - "type-property-lexical-info": { - "#3": "[(22,10)-(22,14)]" - }, "lexical": { "shacl:datatype": "[(22,10)-(23,0)]", "#3": "[(21,8)-(23,0)]" + }, + "type-property-lexical-info": { + "#3": "[(22,10)-(22,14)]" } } }, @@ -366,12 +366,12 @@ ], "shacl:name": "text", "smaps": { - "type-property-lexical-info": { - "#5": "[(24,10)-(24,14)]" - }, "lexical": { "shacl:datatype": "[(24,10)-(25,0)]", "#5": "[(23,8)-(25,0)]" + }, + "type-property-lexical-info": { + "#5": "[(24,10)-(24,14)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/trait-with-link.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/trait-with-link.expanded.jsonld index 8efcbd6078..eb6cbd2b2b 100644 --- a/amf-cli/shared/src/test/resources/resolution/trait-with-link.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/trait-with-link.expanded.jsonld @@ -306,14 +306,14 @@ } ], "smaps": { - "declared-element": { - "#22": "" - }, "lexical": { "doc:variable": "[(33,24)-(40,0)]", "core:name": "[(33,2)-(33,23)]", "#22": "[(33,2)-(40,0)]", "doc:dataNode": "[(34,4)-(40,0)]" + }, + "declared-element": { + "#22": "" } } } @@ -748,14 +748,14 @@ } ], "smaps": { - "declared-element": { - "#13": "" - }, "lexical": { "doc:variable": "[(41,23)-(48,32)]", "core:name": "[(41,2)-(41,22)]", "#13": "[(41,2)-(48,32)]", "doc:dataNode": "[(42,4)-(48,32)]" + }, + "declared-element": { + "#13": "" } } } @@ -954,17 +954,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#5" - }, - "lexical": { - "#1": "[(23,2)-(27,0)]" - }, "declared-element": { "#1": "" }, "resolved-link-target": { "#1": "amf://id#6" + }, + "resolved-link": { + "#1": "amf://id#1" + }, + "lexical": { + "#1": "[(23,2)-(27,0)]" } } }, @@ -1055,17 +1055,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#7": "amf://id#11" - }, - "lexical": { - "#7": "[(27,2)-(32,0)]" - }, "declared-element": { "#7": "" }, "resolved-link-target": { "#7": "amf://id#12" + }, + "resolved-link": { + "#7": "amf://id#7" + }, + "lexical": { + "#7": "[(27,2)-(32,0)]" } } }, @@ -1300,14 +1300,14 @@ } ], "smaps": { - "declared-element": { - "#13": "" - }, "lexical": { "doc:variable": "[(41,23)-(48,32)]", "core:name": "[(41,2)-(41,22)]", "#13": "[(41,2)-(48,32)]", "doc:dataNode": "[(42,4)-(48,32)]" + }, + "declared-element": { + "#13": "" } } }, @@ -1483,14 +1483,14 @@ } ], "smaps": { - "declared-element": { - "#22": "" - }, "lexical": { "doc:variable": "[(33,24)-(40,0)]", "core:name": "[(33,2)-(33,23)]", "#22": "[(33,2)-(40,0)]", "doc:dataNode": "[(34,4)-(40,0)]" + }, + "declared-element": { + "#22": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/trait-with-link.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/trait-with-link.flattened.jsonld index 4a64443b96..70ad10f8b8 100644 --- a/amf-cli/shared/src/test/resources/resolution/trait-with-link.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/trait-with-link.flattened.jsonld @@ -230,14 +230,14 @@ "typeName" ], "smaps": { - "declared-element": { - "#13": "" - }, "lexical": { "doc:variable": "[(41,23)-(48,32)]", "core:name": "[(41,2)-(41,22)]", "#13": "[(41,2)-(48,32)]", "doc:dataNode": "[(42,4)-(48,32)]" + }, + "declared-element": { + "#13": "" } } }, @@ -290,14 +290,14 @@ "typeName" ], "smaps": { - "declared-element": { - "#22": "" - }, "lexical": { "doc:variable": "[(33,24)-(40,0)]", "core:name": "[(33,2)-(33,23)]", "#22": "[(33,2)-(40,0)]", "doc:dataNode": "[(34,4)-(40,0)]" + }, + "declared-element": { + "#22": "" } } }, @@ -400,17 +400,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#5" - }, - "lexical": { - "#1": "[(23,2)-(27,0)]" - }, "declared-element": { "#1": "" }, "resolved-link-target": { "#1": "amf://id#6" + }, + "resolved-link": { + "#1": "amf://id#1" + }, + "lexical": { + "#1": "[(23,2)-(27,0)]" } } }, @@ -479,17 +479,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#7": "amf://id#11" - }, - "lexical": { - "#7": "[(27,2)-(32,0)]" - }, "declared-element": { "#7": "" }, "resolved-link-target": { "#7": "amf://id#12" + }, + "resolved-link": { + "#7": "amf://id#7" + }, + "lexical": { + "#7": "[(27,2)-(32,0)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/union-of-arrays/api.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/union-of-arrays/api.expanded.jsonld index e1d3f590d3..c75fc71542 100644 --- a/amf-cli/shared/src/test/resources/resolution/union-of-arrays/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/union-of-arrays/api.expanded.jsonld @@ -98,12 +98,12 @@ } ], "smaps": { + "virtual-element": { + "#16": "true" + }, "lexical": { "apiContract:payload": "[(13,4)-(16,0)]", "#16": "[(13,9)-(16,0)]" - }, - "virtual-element": { - "#16": "true" } } } @@ -247,18 +247,18 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#4" - }, - "lexical": { - "shacl:name": "[(4,2)-(4,7)]", - "#1": "[(4,2)-(7,0)]" - }, "declared-element": { "#1": "" }, "resolved-link-target": { + "#1": "amf://id#4" + }, + "resolved-link": { "#1": "amf://id#5" + }, + "lexical": { + "shacl:name": "[(4,2)-(4,7)]", + "#1": "[(4,2)-(7,0)]" } } }, @@ -299,21 +299,21 @@ } ], "smaps": { - "resolved-link-target": { - "#6": "amf://id#9" + "lexical": { + "shacl:name": "[(7,2)-(7,7)]", + "#6": "[(7,2)-(9,0)]" }, "declared-element": { "#6": "" }, - "lexical": { - "shacl:name": "[(7,2)-(7,7)]", - "#6": "[(7,2)-(9,0)]" + "resolved-link-target": { + "#6": "amf://id#8" + }, + "resolved-link": { + "#6": "amf://id#9" }, "type-property-lexical-info": { "#6": "[(8,4)-(8,8)]" - }, - "resolved-link": { - "#6": "amf://id#8" } } }, @@ -424,18 +424,18 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#4" - }, - "lexical": { - "shacl:name": "[(4,2)-(4,7)]", - "#1": "[(4,2)-(7,0)]" - }, "declared-element": { "#1": "" }, "resolved-link-target": { + "#1": "amf://id#4" + }, + "resolved-link": { "#1": "amf://id#5" + }, + "lexical": { + "shacl:name": "[(4,2)-(4,7)]", + "#1": "[(4,2)-(7,0)]" } } } @@ -483,21 +483,21 @@ } ], "smaps": { - "resolved-link-target": { - "#6": "amf://id#9" + "lexical": { + "shacl:name": "[(7,2)-(7,7)]", + "#6": "[(7,2)-(9,0)]" }, "declared-element": { "#6": "" }, - "lexical": { - "shacl:name": "[(7,2)-(7,7)]", - "#6": "[(7,2)-(9,0)]" + "resolved-link-target": { + "#6": "amf://id#8" + }, + "resolved-link": { + "#6": "amf://id#9" }, "type-property-lexical-info": { "#6": "[(8,4)-(8,8)]" - }, - "resolved-link": { - "#6": "amf://id#8" } } } @@ -508,15 +508,15 @@ } ], "smaps": { - "declared-element": { - "#10": "" - }, "lexical": { "shacl:name": "[(9,2)-(9,11)]", "#10": "[(9,2)-(11,0)]" }, "type-property-lexical-info": { "#10": "[(10,4)-(10,8)]" + }, + "declared-element": { + "#10": "" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/union-of-arrays/api.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/union-of-arrays/api.flattened.jsonld index 81f97b339b..2cb679c910 100644 --- a/amf-cli/shared/src/test/resources/resolution/union-of-arrays/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/union-of-arrays/api.flattened.jsonld @@ -82,12 +82,12 @@ } ], "smaps": { + "virtual-element": { + "#16": "true" + }, "lexical": { "apiContract:payload": "[(13,4)-(16,0)]", "#16": "[(13,9)-(16,0)]" - }, - "virtual-element": { - "#16": "true" } } }, @@ -127,15 +127,15 @@ ], "shacl:name": "unionType", "smaps": { - "declared-element": { - "#10": "" - }, "lexical": { "shacl:name": "[(9,2)-(9,11)]", "#10": "[(9,2)-(11,0)]" }, "type-property-lexical-info": { "#10": "[(10,4)-(10,8)]" + }, + "declared-element": { + "#10": "" } } }, @@ -171,21 +171,21 @@ }, "shacl:name": "type2", "smaps": { - "resolved-link-target": { - "#6": "amf://id#9" + "lexical": { + "shacl:name": "[(7,2)-(7,7)]", + "#6": "[(7,2)-(9,0)]" }, "declared-element": { "#6": "" }, - "lexical": { - "shacl:name": "[(7,2)-(7,7)]", - "#6": "[(7,2)-(9,0)]" + "resolved-link-target": { + "#6": "amf://id#8" + }, + "resolved-link": { + "#6": "amf://id#9" }, "type-property-lexical-info": { "#6": "[(8,4)-(8,8)]" - }, - "resolved-link": { - "#6": "amf://id#8" } } }, @@ -209,18 +209,18 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#4" - }, - "lexical": { - "shacl:name": "[(4,2)-(4,7)]", - "#1": "[(4,2)-(7,0)]" - }, "declared-element": { "#1": "" }, "resolved-link-target": { + "#1": "amf://id#4" + }, + "resolved-link": { "#1": "amf://id#5" + }, + "lexical": { + "shacl:name": "[(4,2)-(4,7)]", + "#1": "[(4,2)-(7,0)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/union-of-declarations/api.raml.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/union-of-declarations/api.raml.resolved.expanded.jsonld index cb2c7c7b4b..af5eceebe1 100644 --- a/amf-cli/shared/src/test/resources/resolution/union-of-declarations/api.raml.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/union-of-declarations/api.raml.resolved.expanded.jsonld @@ -126,14 +126,14 @@ } ], "smaps": { - "auto-generated-name": { - "#26": "" - }, "lexical": { "#26": "[(23,4)-(25,0)]" }, "type-property-lexical-info": { "#26": "[(24,6)-(24,10)]" + }, + "auto-generated-name": { + "#26": "" } } } @@ -146,12 +146,12 @@ } ], "smaps": { + "virtual-element": { + "#24": "true" + }, "lexical": { "apiContract:payload": "[(22,2)-(25,0)]", "#24": "[(22,7)-(25,0)]" - }, - "virtual-element": { - "#24": "true" } } } @@ -273,12 +273,12 @@ } ], "smaps": { + "virtual-element": { + "#30": "true" + }, "lexical": { "apiContract:payload": "[(29,2)-(32,0)]", "#30": "[(29,7)-(32,0)]" - }, - "virtual-element": { - "#30": "true" } } } @@ -421,12 +421,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#7": "[(10,6)-(10,10)]" - }, "lexical": { "shacl:datatype": "[(10,6)-(11,0)]", "#7": "[(9,4)-(11,0)]" + }, + "type-property-lexical-info": { + "#7": "[(10,6)-(10,10)]" } } } @@ -548,22 +548,22 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#2": "[(7,2)-(7,6)]" + }, "resolved-link": { "#2": "amf://id#10" }, - "type-property-lexical-info": { - "#2": "[(7,2)-(7,6)]" + "resolved-link-target": { + "#2": "amf://id#8" + }, + "declared-element": { + "#2": "" }, "lexical": { "apiContract:examples": "[(11,2)-(13,0)]", "#2": "[(6,1)-(13,0)]", "shacl:name": "[(6,1)-(6,4)]" - }, - "declared-element": { - "#2": "" - }, - "resolved-link-target": { - "#2": "amf://id#9" } } }, @@ -616,12 +616,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#16": "[(17,6)-(17,10)]" - }, "lexical": { "shacl:datatype": "[(17,6)-(18,0)]", "#16": "[(16,4)-(18,0)]" + }, + "type-property-lexical-info": { + "#16": "[(17,6)-(17,10)]" } } } @@ -743,22 +743,22 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#11": "[(14,2)-(14,6)]" + }, "resolved-link": { "#11": "amf://id#19" }, - "type-property-lexical-info": { - "#11": "[(14,2)-(14,6)]" + "resolved-link-target": { + "#11": "amf://id#17" + }, + "declared-element": { + "#11": "" }, "lexical": { "apiContract:examples": "[(18,2)-(20,0)]", "#11": "[(13,1)-(20,0)]", "shacl:name": "[(13,1)-(13,4)]" - }, - "declared-element": { - "#11": "" - }, - "resolved-link-target": { - "#11": "amf://id#18" } } } @@ -769,15 +769,15 @@ } ], "smaps": { - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(4,1)-(4,10)]", "#1": "[(4,1)-(6,0)]" }, "type-property-lexical-info": { "#1": "[(5,2)-(5,6)]" + }, + "declared-element": { + "#1": "" } } }, @@ -830,12 +830,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#7": "[(10,6)-(10,10)]" - }, "lexical": { "shacl:datatype": "[(10,6)-(11,0)]", "#7": "[(9,4)-(11,0)]" + }, + "type-property-lexical-info": { + "#7": "[(10,6)-(10,10)]" } } } @@ -957,22 +957,22 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#2": "[(7,2)-(7,6)]" + }, "resolved-link": { "#2": "amf://id#10" }, - "type-property-lexical-info": { - "#2": "[(7,2)-(7,6)]" + "resolved-link-target": { + "#2": "amf://id#8" + }, + "declared-element": { + "#2": "" }, "lexical": { "apiContract:examples": "[(11,2)-(13,0)]", "#2": "[(6,1)-(13,0)]", "shacl:name": "[(6,1)-(6,4)]" - }, - "declared-element": { - "#2": "" - }, - "resolved-link-target": { - "#2": "amf://id#9" } } }, @@ -1025,12 +1025,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#16": "[(17,6)-(17,10)]" - }, "lexical": { "shacl:datatype": "[(17,6)-(18,0)]", "#16": "[(16,4)-(18,0)]" + }, + "type-property-lexical-info": { + "#16": "[(17,6)-(17,10)]" } } } @@ -1152,22 +1152,22 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#11": "[(14,2)-(14,6)]" + }, "resolved-link": { "#11": "amf://id#19" }, - "type-property-lexical-info": { - "#11": "[(14,2)-(14,6)]" + "resolved-link-target": { + "#11": "amf://id#17" + }, + "declared-element": { + "#11": "" }, "lexical": { "apiContract:examples": "[(18,2)-(20,0)]", "#11": "[(13,1)-(20,0)]", "shacl:name": "[(13,1)-(13,4)]" - }, - "declared-element": { - "#11": "" - }, - "resolved-link-target": { - "#11": "amf://id#18" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/union-of-declarations/api.raml.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/union-of-declarations/api.raml.resolved.flattened.jsonld index 38bd05aa49..5bb3474299 100644 --- a/amf-cli/shared/src/test/resources/resolution/union-of-declarations/api.raml.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/union-of-declarations/api.raml.resolved.flattened.jsonld @@ -135,12 +135,12 @@ } ], "smaps": { + "virtual-element": { + "#24": "true" + }, "lexical": { "apiContract:payload": "[(22,2)-(25,0)]", "#24": "[(22,7)-(25,0)]" - }, - "virtual-element": { - "#24": "true" } } }, @@ -174,12 +174,12 @@ } ], "smaps": { + "virtual-element": { + "#30": "true" + }, "lexical": { "apiContract:payload": "[(29,2)-(32,0)]", "#30": "[(29,7)-(32,0)]" - }, - "virtual-element": { - "#30": "true" } } }, @@ -252,14 +252,14 @@ ], "shacl:name": "schema", "smaps": { - "auto-generated-name": { - "#26": "" - }, "lexical": { "#26": "[(23,4)-(25,0)]" }, "type-property-lexical-info": { "#26": "[(24,6)-(24,10)]" + }, + "auto-generated-name": { + "#26": "" } } }, @@ -282,15 +282,15 @@ ], "shacl:name": "UnionType", "smaps": { - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(4,1)-(4,10)]", "#1": "[(4,1)-(6,0)]" }, "type-property-lexical-info": { "#1": "[(5,2)-(5,6)]" + }, + "declared-element": { + "#1": "" } } }, @@ -319,22 +319,22 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#2": "[(7,2)-(7,6)]" + }, "resolved-link": { "#2": "amf://id#10" }, - "type-property-lexical-info": { - "#2": "[(7,2)-(7,6)]" + "resolved-link-target": { + "#2": "amf://id#8" + }, + "declared-element": { + "#2": "" }, "lexical": { "apiContract:examples": "[(11,2)-(13,0)]", "#2": "[(6,1)-(13,0)]", "shacl:name": "[(6,1)-(6,4)]" - }, - "declared-element": { - "#2": "" - }, - "resolved-link-target": { - "#2": "amf://id#9" } } }, @@ -363,22 +363,22 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#11": "[(14,2)-(14,6)]" + }, "resolved-link": { "#11": "amf://id#19" }, - "type-property-lexical-info": { - "#11": "[(14,2)-(14,6)]" + "resolved-link-target": { + "#11": "amf://id#17" + }, + "declared-element": { + "#11": "" }, "lexical": { "apiContract:examples": "[(18,2)-(20,0)]", "#11": "[(13,1)-(20,0)]", "shacl:name": "[(13,1)-(13,4)]" - }, - "declared-element": { - "#11": "" - }, - "resolved-link-target": { - "#11": "amf://id#18" } } }, @@ -498,12 +498,12 @@ ], "shacl:name": "name", "smaps": { - "type-property-lexical-info": { - "#7": "[(10,6)-(10,10)]" - }, "lexical": { "shacl:datatype": "[(10,6)-(11,0)]", "#7": "[(9,4)-(11,0)]" + }, + "type-property-lexical-info": { + "#7": "[(10,6)-(10,10)]" } } }, @@ -544,12 +544,12 @@ ], "shacl:name": "age", "smaps": { - "type-property-lexical-info": { - "#16": "[(17,6)-(17,10)]" - }, "lexical": { "shacl:datatype": "[(17,6)-(18,0)]", "#16": "[(16,4)-(18,0)]" + }, + "type-property-lexical-info": { + "#16": "[(17,6)-(17,10)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/unresolved-shape.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/unresolved-shape.raml.expanded.jsonld index 88e6dbb1f9..88eb4fb7ed 100644 --- a/amf-cli/shared/src/test/resources/resolution/unresolved-shape.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/unresolved-shape.raml.expanded.jsonld @@ -95,12 +95,12 @@ } ], "smaps": { - "resolved-link-target": { - "#3": "amf://id#3" - }, "lexical": { "#3": "[(6,10)-(6,18)]" }, + "resolved-link-target": { + "#3": "amf://id#3" + }, "resolved-link": { "#3": "amf://id#4" } @@ -138,18 +138,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#1": "[(4,4)-(4,8)]" + }, + "inherited-shapes": { + "#1": "amf://id#5" + }, "declared-element": { "#1": "" }, "lexical": { "shacl:name": "[(3,2)-(3,3)]", "#1": "[(3,2)-(6,18)]" - }, - "type-property-lexical-info": { - "#1": "[(4,4)-(4,8)]" - }, - "inherited-shapes": { - "#1": "amf://id#5" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/unresolved-shape.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/unresolved-shape.raml.flattened.jsonld index 95fcae8d3b..8b316194cd 100644 --- a/amf-cli/shared/src/test/resources/resolution/unresolved-shape.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/unresolved-shape.raml.flattened.jsonld @@ -64,18 +64,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#1": "[(4,4)-(4,8)]" + }, + "inherited-shapes": { + "#1": "amf://id#5" + }, "declared-element": { "#1": "" }, "lexical": { "shacl:name": "[(3,2)-(3,3)]", "#1": "[(3,2)-(6,18)]" - }, - "type-property-lexical-info": { - "#1": "[(4,4)-(4,8)]" - }, - "inherited-shapes": { - "#1": "amf://id#5" } } }, @@ -118,12 +118,12 @@ ], "shacl:name": "booolean", "smaps": { - "resolved-link-target": { - "#3": "amf://id#3" - }, "lexical": { "#3": "[(6,10)-(6,18)]" }, + "resolved-link-target": { + "#3": "amf://id#3" + }, "resolved-link": { "#3": "amf://id#4" } diff --git a/amf-cli/shared/src/test/resources/resolution/uri-params/api-operation.jsonld b/amf-cli/shared/src/test/resources/resolution/uri-params/api-operation.jsonld index e8c92cc7e9..2ca6f0c1c2 100644 --- a/amf-cli/shared/src/test/resources/resolution/uri-params/api-operation.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/uri-params/api-operation.jsonld @@ -100,11 +100,11 @@ "default-node": { "#5": "" }, - "virtual-element": { - "#5": "true" - }, "lexical": { "#5": "[(5,10)-(5,19)]" + }, + "virtual-element": { + "#5": "true" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/uri-params/api.jsonld b/amf-cli/shared/src/test/resources/resolution/uri-params/api.jsonld index a29f8e2afe..89b7360ea0 100644 --- a/amf-cli/shared/src/test/resources/resolution/uri-params/api.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/uri-params/api.jsonld @@ -81,11 +81,11 @@ "default-node": { "#4": "" }, - "virtual-element": { - "#4": "true" - }, "lexical": { "#4": "[(5,10)-(5,19)]" + }, + "virtual-element": { + "#4": "true" } } }, diff --git a/amf-cli/shared/src/test/resources/upanddown/additional-properties.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/additional-properties.expanded.jsonld index 2c013f394e..4ac894d208 100644 --- a/amf-cli/shared/src/test/resources/upanddown/additional-properties.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/additional-properties.expanded.jsonld @@ -155,9 +155,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties" @@ -165,35 +165,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(12,14)]" + "@value": "[(11,6)-(13,7)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(13,7)]" + "@value": "[(12,8)-(12,24)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(12,24)]" + "@value": "[(12,8)-(12,14)]" } ] } @@ -256,9 +256,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType" @@ -266,35 +266,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,4)-(14,5)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,4)-(9,13)]" + "@value": "[(9,4)-(14,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,4)-(9,13)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/additional-properties.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/additional-properties.flattened.jsonld index 3f4fbd0f2f..fdaca68c08 100644 --- a/amf-cli/shared/src/test/resources/upanddown/additional-properties.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/additional-properties.flattened.jsonld @@ -145,6 +145,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/source-map/lexical/element_1" @@ -152,11 +157,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/source-map/declared-element/element_0" - } ] }, { @@ -164,11 +164,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties/source-map/lexical/element_1" @@ -176,6 +171,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -193,6 +193,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType", "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType", @@ -203,16 +208,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(9,13)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties", @@ -222,6 +217,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,24)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/additional-properties.json#/declares/shape/ObjType/scalar/additionalProperties", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,14)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/basic.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/basic.json.expanded.jsonld index 3afbb09892..d866fab1f2 100644 --- a/amf-cli/shared/src/test/resources/upanddown/basic.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/basic.json.expanded.jsonld @@ -44,9 +44,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/basic.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/basic.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -54,14 +54,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,2)-(9,27)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/basic.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/basic.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -69,7 +69,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,2)-(9,27)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/basic.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/basic.json.flattened.jsonld index 9a443f74a7..31b1d19b01 100644 --- a/amf-cli/shared/src/test/resources/upanddown/basic.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/basic.json.flattened.jsonld @@ -95,14 +95,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/basic.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/basic.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/basic.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/basic.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -162,14 +162,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(17,2)-(20,3)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/basic.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/basic.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,27)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/basic.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/basic.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,27)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/basic.json#/web-api/server/api.example.com%2Fpath/source-map/virtual-element/element_0", 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 de53df3b96..e55aa3b12b 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 @@ -134,9 +134,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items" @@ -144,35 +144,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,14)-(27,20)]" + "@value": "[(26,12)-(29,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,12)-(29,13)]" + "@value": "[(27,14)-(27,30)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,14)-(27,30)]" + "@value": "[(27,14)-(27,20)]" } ] } @@ -197,21 +197,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(25,12)-(25,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/source-map/lexical/element_2", @@ -252,6 +237,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(25,12)-(25,18)]" + } + ] + } ] } ] @@ -413,9 +413,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items" @@ -423,35 +423,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,14)-(18,20)]" + "@value": "[(17,12)-(19,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,12)-(19,13)]" + "@value": "[(18,14)-(18,30)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,14)-(18,30)]" + "@value": "[(18,14)-(18,20)]" } ] } @@ -476,21 +476,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(16,12)-(16,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/source-map/lexical/element_2", @@ -531,6 +516,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,12)-(16,18)]" + } + ] + } ] } ] 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 4c96b64baa..3b151d7002 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 @@ -401,11 +401,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/source-map/lexical/element_2" @@ -416,6 +411,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -474,11 +474,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/source-map/lexical/element_2" @@ -489,6 +484,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -526,11 +526,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items/source-map/lexical/element_1" @@ -538,13 +533,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,12)-(25,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", @@ -560,16 +555,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(22,10)-(30,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,12)-(25,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items/source-map/lexical/element_1" @@ -577,13 +572,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,12)-(16,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", @@ -600,9 +595,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(21,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,14)-(27,20)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,12)-(16,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items/source-map/lexical/element_1", @@ -615,9 +610,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(27,14)-(27,30)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,14)-(18,20)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/array/schema/scalar/items", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,14)-(27,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items/source-map/lexical/element_1", @@ -629,6 +624,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(18,14)-(18,30)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/endpoint/%2Fsomepath/supportedOperation/get/Some%20title/expects/request/header/parameter/header/param1/array/schema/scalar/items", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,14)-(18,20)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/complete.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/complete.json.expanded.jsonld index 64f738e269..7060e1cb2c 100644 --- a/amf-cli/shared/src/test/resources/upanddown/complete.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/complete.json.expanded.jsonld @@ -44,9 +44,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/complete.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/complete.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -54,14 +54,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,2)-(18,27)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/complete.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/complete.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -69,7 +69,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(18,2)-(18,27)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/complete.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/complete.json.flattened.jsonld index 8d7163299f..d56e2a8854 100644 --- a/amf-cli/shared/src/test/resources/upanddown/complete.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/complete.json.flattened.jsonld @@ -173,14 +173,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/complete.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/complete.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/complete.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/complete.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -312,14 +312,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(6,40)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/complete.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/complete.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(18,27)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/complete.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/complete.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(18,27)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/complete.json#/web-api/server/api.example.com%2Fpath/source-map/virtual-element/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.3-all.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.3-all.yaml index 8f857b5d0c..69c1cefff0 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.3-all.yaml +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.3-all.yaml @@ -50,7 +50,7 @@ channels: bindingVersion: test publish: bindings: - ibmmq: { } + ibmmq: {} message: bindings: ibmmq: diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.4-all.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.4-all.yaml index be34e8da28..ba9584fdc9 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.4-all.yaml +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.4-all.yaml @@ -75,7 +75,7 @@ channels: bindingVersion: test publish: bindings: - ibmmq: { } + ibmmq: {} message: bindings: ibmmq: diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.5-all.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.5-all.yaml index ed7dae8f8a..df040acfad 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.5-all.yaml +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.5-all.yaml @@ -75,7 +75,7 @@ channels: bindingVersion: test publish: bindings: - ibmmq: { } + ibmmq: {} message: bindings: ibmmq: diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.6-all.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.6-all.yaml index cee25c0432..9f707f7a3c 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.6-all.yaml +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/asyncApi-2.6-all.yaml @@ -82,7 +82,7 @@ channels: bindingVersion: test publish: bindings: - ibmmq: { } + ibmmq: {} message: bindings: ibmmq: diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/google-pub-sub-binding.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/google-pub-sub-binding.yaml index 7b547acb5f..b595424b44 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/google-pub-sub-binding.yaml +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/google-pub-sub-binding.yaml @@ -38,7 +38,6 @@ channels: firstRevisionId: 1.0.0 lastRevisionId: 2.0.0 bindingVersion: 0.2.0 - components: messages: some-message: diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/http-message-binding.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/http-message-binding.yaml index fac29324ce..e264841ee0 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/http-message-binding.yaml +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/http-message-binding.yaml @@ -13,14 +13,12 @@ channels: properties: some: type: string - other-channel: subscribe: message: bindings: http: bindingVersion: 0.2.0 - some-other-channel: subscribe: message: diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/http-operation-binding.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/http-operation-binding.yaml index 30bacc2dc4..2639e59fb3 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/http-operation-binding.yaml +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/http-operation-binding.yaml @@ -14,7 +14,6 @@ channels: properties: some: type: string - other-channel: publish: bindings: @@ -25,4 +24,4 @@ channels: type: object properties: some: - type: string \ No newline at end of file + type: string diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/kafka-channel-binding.yaml b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/kafka-channel-binding.yaml index 9146ef13a2..73a78030c5 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/kafka-channel-binding.yaml +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/async20/bindings/kafka-channel-binding.yaml @@ -2,7 +2,6 @@ asyncapi: 2.0.0 info: title: Test API version: 1.0.0 - channels: some-channel: bindings: @@ -11,7 +10,6 @@ channels: partitions: 20 replicas: 3 bindingVersion: 0.3.0 - other-channel: bindings: kafka: @@ -27,7 +25,6 @@ channels: retention.bytes: 1000000000 delete.retention.ms: 86400000 max.message.bytes: 1048588 - the-other-channel: bindings: kafka: diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.jsonld index ede2f1555d..834c00fc35 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.jsonld @@ -1331,9 +1331,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Interface/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Interface/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Interface" @@ -1341,14 +1341,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,0)-(25,1)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Interface/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Interface/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Interface" @@ -1356,7 +1356,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(18,0)-(25,1)]" } ] } @@ -1483,9 +1483,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/scalar/Enum/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/scalar/Enum/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/scalar/Enum" @@ -1493,14 +1493,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,0)-(40,1)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/scalar/Enum/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/scalar/Enum/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/scalar/Enum" @@ -1508,7 +1508,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(36,0)-(40,1)]" } ] } @@ -1953,9 +1953,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Query/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Query/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Query" @@ -1963,14 +1963,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(1,0)-(7,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Query/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Query/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Query" @@ -1978,7 +1978,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(7,1)]" + "@value": "" } ] } @@ -2031,9 +2031,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/scalar/Scalar/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/scalar/Scalar/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/scalar/Scalar" @@ -2041,14 +2041,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(42,0)-(43,13)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/scalar/Scalar/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/scalar/Scalar/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/scalar/Scalar" @@ -2056,7 +2056,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(42,0)-(43,13)]" } ] } @@ -2506,9 +2506,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Object/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Object/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Object" @@ -2516,14 +2516,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,0)-(16,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Object/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Object/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/Object" @@ -2531,7 +2531,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,0)-(16,1)]" + "@value": "" } ] } @@ -2688,9 +2688,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/InputObject/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/InputObject/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/InputObject" @@ -2698,14 +2698,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,0)-(31,1)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/InputObject/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/InputObject/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/shape/InputObject" @@ -2713,7 +2713,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(27,0)-(31,1)]" } ] } @@ -2811,9 +2811,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/union/Union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/union/Union/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/union/Union" @@ -2821,14 +2821,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,0)-(34,20)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/union/Union/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/union/Union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/union/Union" @@ -2836,7 +2836,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(33,0)-(34,20)]" } ] } @@ -2928,9 +2928,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/Directive/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/Directive/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/Directive" @@ -2938,14 +2938,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(45,0)-(46,30)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/Directive/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/Directive/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/block.graphql#/declares/Directive" @@ -2953,7 +2953,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(45,0)-(46,30)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.jsonld index c5dba62716..abe29b7bc3 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.jsonld @@ -1331,9 +1331,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Interface/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Interface/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Interface" @@ -1341,14 +1341,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,0)-(25,1)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Interface/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Interface/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Interface" @@ -1356,7 +1356,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(18,0)-(25,1)]" } ] } @@ -1483,9 +1483,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/scalar/Enum/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/scalar/Enum/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/scalar/Enum" @@ -1493,14 +1493,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,0)-(40,1)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/scalar/Enum/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/scalar/Enum/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/scalar/Enum" @@ -1508,7 +1508,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(36,0)-(40,1)]" } ] } @@ -1953,9 +1953,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Query/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Query/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Query" @@ -1963,14 +1963,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(1,0)-(7,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Query/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Query/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Query" @@ -1978,7 +1978,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(7,1)]" + "@value": "" } ] } @@ -2031,9 +2031,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/scalar/Scalar/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/scalar/Scalar/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/scalar/Scalar" @@ -2041,14 +2041,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(42,0)-(43,13)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/scalar/Scalar/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/scalar/Scalar/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/scalar/Scalar" @@ -2056,7 +2056,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(42,0)-(43,13)]" } ] } @@ -2506,9 +2506,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Object/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Object/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Object" @@ -2516,14 +2516,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,0)-(16,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Object/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Object/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/Object" @@ -2531,7 +2531,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,0)-(16,1)]" + "@value": "" } ] } @@ -2688,9 +2688,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/InputObject/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/InputObject/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/InputObject" @@ -2698,14 +2698,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,0)-(31,1)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/InputObject/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/InputObject/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/shape/InputObject" @@ -2713,7 +2713,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(27,0)-(31,1)]" } ] } @@ -2811,9 +2811,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/union/Union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/union/Union/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/union/Union" @@ -2821,14 +2821,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,0)-(34,20)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/union/Union/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/union/Union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/union/Union" @@ -2836,7 +2836,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(33,0)-(34,20)]" } ] } @@ -2928,9 +2928,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/Directive/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/Directive/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/Directive" @@ -2938,14 +2938,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(45,0)-(46,30)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/Directive/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/Directive/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/descriptions/simple.graphql#/declares/Directive" @@ -2953,7 +2953,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(45,0)-(46,30)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.jsonld index 4339b6879a..fbfbd7c44f 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.jsonld @@ -351,9 +351,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/scalar/MyScalar/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/scalar/MyScalar/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/scalar/MyScalar" @@ -361,14 +361,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,0)-(4,60)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/scalar/MyScalar/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/scalar/MyScalar/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/scalar/MyScalar" @@ -376,7 +376,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(4,0)-(4,60)]" } ] } @@ -463,9 +463,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/directiveA/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/directiveA/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/directiveA" @@ -473,14 +473,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(1,0)-(1,44)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/directiveA/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/directiveA/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/directiveA" @@ -488,7 +488,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(1,44)]" + "@value": "" } ] } @@ -575,9 +575,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/directiveB/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/directiveB/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/directiveB" @@ -585,14 +585,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(2,0)-(2,44)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/directiveB/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/directiveB/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/directiveB" @@ -600,7 +600,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,0)-(2,44)]" + "@value": "" } ] } @@ -1101,9 +1101,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/myDirective/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/myDirective/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/myDirective" @@ -1111,14 +1111,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(3,0)-(3,97)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/myDirective/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/myDirective/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/directive-with-directives/api.graphql#/declares/myDirective" @@ -1126,7 +1126,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,0)-(3,97)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.resolved.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.resolved.jsonld index 6265616fc5..d65e8bd876 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.resolved.jsonld @@ -596,9 +596,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/Query/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/Query/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/Query" @@ -606,14 +606,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(1,0)-(3,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/Query/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/Query/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/Query" @@ -621,7 +621,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(3,1)]" + "@value": "" } ] } @@ -911,9 +911,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/resolved-link/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive" @@ -921,14 +921,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/inherits/shape/A" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive" @@ -936,14 +936,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,0)-(7,1)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive" @@ -951,14 +951,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/inherits/shape/A" } ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/resolved-link-target/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive" @@ -966,7 +966,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A" + "@value": "[(5,0)-(7,1)]" } ] } @@ -996,9 +996,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/resolved-link/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B" @@ -1006,14 +1006,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A/inherits/shape/default-node" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B" @@ -1021,14 +1021,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,0)-(11,1)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B" @@ -1036,14 +1036,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A/inherits/shape/default-node" } ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/resolved-link-target/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B" @@ -1051,7 +1051,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B" + "@value": "[(9,0)-(11,1)]" } ] } @@ -1081,9 +1081,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A/source-map/resolved-link/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A" @@ -1091,14 +1091,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/inherits/shape/A" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A" @@ -1106,14 +1106,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,0)-(7,1)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A" @@ -1121,14 +1121,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/inherits/shape/A" } ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A/source-map/resolved-link-target/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A" @@ -1136,7 +1136,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A" + "@value": "[(5,0)-(7,1)]" } ] } @@ -1307,9 +1307,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/resolved-link/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive" @@ -1317,14 +1317,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/inherits/shape/A" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive" @@ -1332,14 +1332,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,0)-(7,1)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive" @@ -1347,14 +1347,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/inherits/shape/A" } ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/resolved-link-target/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/A/recursive" @@ -1362,7 +1362,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A" + "@value": "[(5,0)-(7,1)]" } ] } @@ -1392,9 +1392,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/resolved-link/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B" @@ -1402,14 +1402,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A/inherits/shape/default-node" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B" @@ -1417,14 +1417,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,0)-(11,1)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B" @@ -1432,14 +1432,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/A/inherits/shape/default-node" } ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/resolved-link-target/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B" @@ -1447,7 +1447,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/graphql/recursive-inheritance/simple.graphql#/declares/shape/B" + "@value": "[(9,0)-(11,1)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json.expanded.jsonld index d131530ee5..a430183ecf 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json.expanded.jsonld @@ -109,9 +109,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default" @@ -119,35 +119,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(8,8)-(10,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(10,9)]" + "@value": "[(9,10)-(9,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,10)-(9,26)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json.flattened.jsonld index e43e5a1a54..6a22d9330e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json.flattened.jsonld @@ -260,11 +260,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1" @@ -273,6 +268,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0" @@ -289,11 +289,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default", @@ -304,6 +299,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(9,10)-(9,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/pathitem-fragment/api.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/scalar/default", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/type-definitions-with-refs.source-info.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/type-definitions-with-refs.source-info.jsonld index b832048bd0..da34ad5529 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/type-definitions-with-refs.source-info.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/json/type-definitions-with-refs.source-info.jsonld @@ -113,12 +113,12 @@ "@id": "#1" }, "smaps": { + "virtual-element": { + "#16": "true" + }, "lexical": { "raml-shapes:schema": "[(13,12)-(15,13)]", "#16": "[(22,4)-(32,5)]" - }, - "virtual-element": { - "#16": "true" } } }, @@ -144,21 +144,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#6" - }, "type-property-lexical-info": { "#1": "[(23,6)-(23,12)]" }, - "lexical": { - "shacl:name": "[(22,4)-(22,16)]", - "#1": "[(22,4)-(32,5)]" + "resolved-link": { + "#1": "amf://id#6" + }, + "resolved-link-target": { + "#1": "amf://id#4" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#5" + "lexical": { + "shacl:name": "[(22,4)-(22,16)]", + "#1": "[(22,4)-(32,5)]" } } }, @@ -203,12 +203,12 @@ ], "shacl:name": "code", "smaps": { - "type-property-lexical-info": { - "#3": "[(29,10)-(29,16)]" - }, "lexical": { "shacl:datatype": "[(29,10)-(29,27)]", "#3": "[(28,8)-(30,9)]" + }, + "type-property-lexical-info": { + "#3": "[(29,10)-(29,16)]" } } }, @@ -257,13 +257,13 @@ } ], "smaps": { - "declared-element": { - "#7": "" - }, "lexical": { "shacl:and": "[(34,6)-(49,7)]", "#7": "[(33,4)-(50,5)]", "shacl:name": "[(33,4)-(33,24)]" + }, + "declared-element": { + "#7": "" } } }, @@ -287,11 +287,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#8": "[(38,8)-(48,9)]" - }, "type-property-lexical-info": { "#8": "[(39,10)-(39,16)]" + }, + "lexical": { + "#8": "[(38,8)-(48,9)]" } } }, @@ -336,12 +336,12 @@ ], "shacl:name": "rootCause", "smaps": { - "type-property-lexical-info": { - "#10": "[(45,14)-(45,20)]" - }, "lexical": { "shacl:datatype": "[(45,14)-(45,30)]", "#10": "[(44,12)-(46,13)]" + }, + "type-property-lexical-info": { + "#10": "[(45,14)-(45,20)]" } } } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml.expanded.jsonld index facef7f4f0..c2729341db 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml.expanded.jsonld @@ -388,9 +388,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema" @@ -398,35 +398,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,4)-(14,8)]" + "@value": "[(12,2)-(15,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,2)-(15,0)]" + "@value": "[(14,4)-(15,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,4)-(15,0)]" + "@value": "[(14,4)-(14,8)]" } ] } @@ -456,6 +456,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1" + } + ], + "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/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/source-map/lexical/element_2", @@ -496,21 +511,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -563,9 +563,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema" @@ -573,35 +573,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,4)-(17,8)]" + "@value": "[(15,2)-(17,16)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,2)-(17,16)]" + "@value": "[(17,4)-(17,16)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,4)-(17,16)]" + "@value": "[(17,4)-(17,8)]" } ] } @@ -631,6 +631,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2" + } + ], + "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/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/source-map/lexical/element_2", @@ -671,21 +686,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml.flattened.jsonld index 6013de9f86..c424ff97bd 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml.flattened.jsonld @@ -346,6 +346,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/source-map/lexical/element_2" @@ -356,11 +361,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/source-map/declared-element/element_0" - } ] }, { @@ -394,6 +394,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/source-map/lexical/element_2" @@ -404,11 +409,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/source-map/declared-element/element_0" - } ] }, { @@ -416,11 +416,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema/source-map/lexical/element_1" @@ -428,6 +423,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -435,6 +435,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", @@ -450,21 +455,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1", "http://a.ml/vocabularies/document-source-maps#value": "[(12,2)-(15,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map/lexical/element_1" @@ -472,6 +467,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -479,6 +479,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", @@ -494,16 +499,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2", "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(17,16)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,4)-(14,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema", @@ -515,9 +510,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(14,4)-(15,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,4)-(17,8)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p1/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,4)-(14,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map/lexical/element_1", @@ -528,6 +523,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(17,4)-(17,16)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/invalid-param-ref/api.yaml#/declares/parameter/query/p2/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,4)-(17,8)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml.expanded.jsonld index 12573733d4..a3eca81856 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml.expanded.jsonld @@ -39,9 +39,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/server/my.api.com%2Fv1/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/server/my.api.com%2Fv1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -49,14 +49,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,0)-(6,0)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/server/my.api.com%2Fv1/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/server/my.api.com%2Fv1/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -64,7 +64,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(5,0)-(6,0)]" } ] } @@ -226,9 +226,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1/source-map/parameter-binding-in-body-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1" @@ -236,35 +236,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,10)-(21,0)]" + "@value": "[(18,10)-(19,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,10)-(18,0)]" + "@value": "[(19,10)-(21,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1/source-map/parameter-binding-in-body-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,10)-(19,0)]" + "@value": "[(17,10)-(18,0)]" } ] } @@ -279,21 +279,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1" - } - ], - "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/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/source-map/lexical/element_2", @@ -334,6 +319,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } ] } ] @@ -410,9 +410,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2" @@ -420,35 +420,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,10)-(23,22)]" + "@value": "[(23,10)-(23,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,10)-(22,0)]" + "@value": "[(21,10)-(23,22)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,10)-(23,14)]" + "@value": "[(21,10)-(22,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml.flattened.jsonld index 805885f745..4a652e4b25 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml.flattened.jsonld @@ -108,14 +108,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/server/my.api.com%2Fv1/source-map/host-lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/server/my.api.com%2Fv1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/server/my.api.com%2Fv1/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/server/my.api.com%2Fv1/source-map/host-lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -195,14 +195,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(11,0)-(13,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/server/my.api.com%2Fv1/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/server/my.api.com%2Fv1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,0)-(6,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/server/my.api.com%2Fv1/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/server/my.api.com%2Fv1/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(5,0)-(6,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/server/my.api.com%2Fv1/source-map/virtual-element/element_0", @@ -340,11 +340,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/source-map/body-parameter/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/source-map/lexical/element_2" @@ -355,6 +350,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/source-map/body-parameter/element_0" + } ] }, { @@ -414,6 +414,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1/source-map/parameter-binding-in-body-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1/source-map/lexical/element_1" @@ -421,18 +426,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1/source-map/parameter-binding-in-body-lexical-info/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -448,6 +443,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1", "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(21,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2", "@type": [ @@ -477,6 +477,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1", "http://a.ml/vocabularies/document-source-maps#value": "[(20,12)-(20,16)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,10)-(19,0)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1", @@ -487,11 +492,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(18,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/bodyParam1/shape/bodyParam1", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,10)-(19,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2", "@type": [ @@ -519,6 +519,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2/source-map/lexical/element_1" @@ -526,11 +531,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -538,6 +538,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2", + "http://a.ml/vocabularies/document-source-maps#value": "[(23,10)-(23,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2", @@ -548,11 +553,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(21,10)-(22,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/bodyParam2/shape/bodyParam2", - "http://a.ml/vocabularies/document-source-maps#value": "[(23,10)-(23,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/multiple-form-data/api.yaml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml.expanded.jsonld index ad809ef6a8..5195f259f7 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml.expanded.jsonld @@ -102,9 +102,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default/source-map/body-parameter/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default" @@ -112,14 +112,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,10)-(16,0)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default/source-map/body-parameter/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default" @@ -127,7 +127,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(14,10)-(16,0)]" } ] } @@ -408,9 +408,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp/source-map/parameter-binding-in-body-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp" @@ -418,14 +418,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,4)-(21,0)]" + "@value": "[(18,4)-(19,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp/source-map/parameter-binding-in-body-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp" @@ -433,7 +433,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,4)-(19,0)]" + "@value": "[(19,4)-(21,0)]" } ] } @@ -463,6 +463,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp" + } + ], + "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/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/source-map/lexical/element_2", @@ -503,21 +518,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -575,9 +575,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp" @@ -585,14 +585,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,2)-(25,12)]" + "@value": "[(24,4)-(24,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp" @@ -600,7 +600,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,4)-(24,8)]" + "@value": "[(22,2)-(25,12)]" } ] } @@ -645,6 +645,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp" + } + ], + "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/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/source-map/lexical/element_2", @@ -685,21 +700,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml.flattened.jsonld index 9d6b4ee49c..9e0346d480 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml.flattened.jsonld @@ -218,14 +218,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default/source-map/body-parameter/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default/source-map/body-parameter/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default/source-map/lexical/element_0" } ] }, @@ -250,14 +250,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default/source-map/body-parameter/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(16,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default/source-map/body-parameter/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/web-api/endpoint/%2Fresource/supportedOperation/post/expects/request/payload/default", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(16,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml", @@ -344,6 +344,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/source-map/parameter-name-for-payload/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/source-map/lexical/element_2" @@ -354,11 +359,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/source-map/declared-element/element_0" - } ] }, { @@ -393,6 +393,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/source-map/form-body-parameter/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/source-map/lexical/element_2" @@ -403,11 +408,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/source-map/declared-element/element_0" - } ] }, { @@ -425,14 +425,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp/source-map/parameter-binding-in-body-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp/source-map/parameter-binding-in-body-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp/source-map/lexical/element_0" } ] }, @@ -441,6 +441,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "bp->[(21,4)-(22,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -456,11 +461,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp", "http://a.ml/vocabularies/document-source-maps#value": "[(17,2)-(22,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map", "@type": [ @@ -471,14 +471,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map/lexical/element_0" } ] }, @@ -492,6 +492,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -507,11 +512,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp", "http://a.ml/vocabularies/document-source-maps#value": "[(22,2)-(25,12)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", @@ -523,14 +523,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(20,6)-(20,10)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp/source-map/parameter-binding-in-body-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,4)-(21,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(18,4)-(19,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp/source-map/parameter-binding-in-body-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/bp/shape/bp", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,4)-(19,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(19,4)-(21,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map/synthesized-field/element_0", @@ -538,14 +538,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp", - "http://a.ml/vocabularies/document-source-maps#value": "[(22,2)-(25,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(24,4)-(24,8)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/oas20/yaml/param-in-body-link/api.yaml#/declares/fp/shape/fp", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,4)-(24,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(22,2)-(25,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml.expanded.jsonld index cd7bf80d55..8b5edbb76b 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml.expanded.jsonld @@ -2530,9 +2530,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1/source-map/parsed-json-example/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1" @@ -2540,14 +2540,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[{\"ID\":1, \"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing 737\", \"totalSeats\": 150}}, {\"ID\":2,\"code\": \"ER45if\", \"price\": 345.99, \"departureDate\": \"2016/02/11\", \"origin\": \"MUA\", \"destination\": \"LAX\", \"emptySeats\": 52, \"plane\": {\"type\": \"Boeing 777\", \"totalSeats\": 300}}]\n" + "@value": "[(65,20)-(65,384)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1/source-map/parsed-json-example/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1" @@ -2555,7 +2555,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(65,20)-(65,384)]" + "@value": "[{\"ID\":1, \"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing 737\", \"totalSeats\": 150}}, {\"ID\":2,\"code\": \"ER45if\", \"price\": 345.99, \"departureDate\": \"2016/02/11\", \"origin\": \"MUA\", \"destination\": \"LAX\", \"emptySeats\": 52, \"plane\": {\"type\": \"Boeing 777\", \"totalSeats\": 300}}]\n" } ] } @@ -3622,6 +3622,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "{\"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing 737\", \"totalSeats\": 150}}\n" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_7", @@ -3727,21 +3742,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "{\"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing 737\", \"totalSeats\": 150}}\n" - } - ] - } ] } ] @@ -4091,9 +4091,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1" @@ -4101,35 +4101,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(78,20)-(78,64)]" + "@value": "{\"message\": \"Flight added (but not really)\"}\n" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/data#message" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(78,21)-(78,63)]" + "@value": "[(78,20)-(78,64)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1" + "@value": "http://a.ml/vocabularies/data#message" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "{\"message\": \"Flight added (but not really)\"}\n" + "@value": "[(78,21)-(78,63)]" } ] } @@ -5266,6 +5266,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "{\"ID\":1, \"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing 737\", \"totalSeats\": 150}}\n" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_8", @@ -5384,21 +5399,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "{\"ID\":1, \"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing 737\", \"totalSeats\": 150}}\n" - } - ] - } ] } ] @@ -5795,9 +5795,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1" @@ -5805,35 +5805,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(95,22)-(95,68)]" + "@value": "{\"message\": \"Flight deleted (but not really)\"}\n" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/data#message" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(95,23)-(95,67)]" + "@value": "[(95,22)-(95,68)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1" + "@value": "http://a.ml/vocabularies/data#message" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "{\"message\": \"Flight deleted (but not really)\"}\n" + "@value": "[(95,23)-(95,67)]" } ] } @@ -6900,6 +6900,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "{\"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing37\", \"totalSeats\": 150}}\n" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_7", @@ -7005,21 +7020,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "{\"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing37\", \"totalSeats\": 150}}\n" - } - ] - } ] } ] @@ -7369,9 +7369,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1" @@ -7379,35 +7379,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(109,22)-(109,68)]" + "@value": "{\"message\": \"Flight updated (but not really)\"}\n" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/data#message" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(109,23)-(109,67)]" + "@value": "[(109,22)-(109,68)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1" + "@value": "http://a.ml/vocabularies/data#message" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "{\"message\": \"Flight updated (but not really)\"}\n" + "@value": "[(109,23)-(109,67)]" } ] } @@ -7753,9 +7753,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID" @@ -7763,14 +7763,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(80,3)-(80,7)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID" @@ -7778,7 +7778,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(80,3)-(80,7)]" + "@value": "true" } ] } @@ -7793,9 +7793,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D" @@ -7803,35 +7803,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights" + "@value": "[(80,2)-(111,4)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(80,2)-(111,4)]" + "@value": "[(80,2)-(80,7)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(80,2)-(80,7)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights" } ] } @@ -7987,21 +7987,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/code/scalar/code/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/code/scalar/code" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(12,17)-(12,23)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/code/scalar/code/source-map/lexical/element_2", @@ -8042,6 +8027,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/code/scalar/code/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/code/scalar/code" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(12,17)-(12,23)]" + } + ] + } ] } ] @@ -8140,21 +8140,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/price/scalar/price/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/price/scalar/price" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(17,17)-(17,23)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/price/scalar/price/source-map/lexical/element_2", @@ -8195,6 +8180,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/price/scalar/price/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/price/scalar/price" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,17)-(17,23)]" + } + ] + } ] } ] @@ -8293,21 +8293,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/departureDate/scalar/departureDate/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/departureDate/scalar/departureDate" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(22,17)-(22,23)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/departureDate/scalar/departureDate/source-map/lexical/element_2", @@ -8348,6 +8333,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/departureDate/scalar/departureDate/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/departureDate/scalar/departureDate" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(22,17)-(22,23)]" + } + ] + } ] } ] @@ -8446,21 +8446,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/origin/scalar/origin/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/origin/scalar/origin" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(27,17)-(27,23)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/origin/scalar/origin/source-map/lexical/element_2", @@ -8501,6 +8486,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/origin/scalar/origin/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/origin/scalar/origin" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(27,17)-(27,23)]" + } + ] + } ] } ] @@ -8599,21 +8599,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/destination/scalar/destination/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/destination/scalar/destination" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(32,17)-(32,23)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/destination/scalar/destination/source-map/lexical/element_2", @@ -8654,6 +8639,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/destination/scalar/destination/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/destination/scalar/destination" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(32,17)-(32,23)]" + } + ] + } ] } ] @@ -8752,21 +8752,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(37,17)-(37,23)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats/source-map/lexical/element_2", @@ -8807,6 +8792,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,17)-(37,23)]" + } + ] + } ] } ] @@ -8929,9 +8929,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type" @@ -8939,35 +8939,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(45,21)-(45,27)]" + "@value": "[(44,19)-(46,20)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,19)-(46,20)]" + "@value": "[(45,21)-(45,37)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(45,21)-(45,37)]" + "@value": "[(45,21)-(45,27)]" } ] } @@ -9064,9 +9064,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats" @@ -9074,35 +9074,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(48,21)-(48,27)]" + "@value": "[(47,19)-(49,20)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(47,19)-(49,20)]" + "@value": "[(48,21)-(48,38)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(48,21)-(48,38)]" + "@value": "[(48,21)-(48,27)]" } ] } @@ -9192,6 +9192,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(42,17)-(42,23)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/source-map/lexical/element_2", @@ -9232,21 +9247,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(42,17)-(42,23)]" - } - ] - } ] } ] @@ -9328,9 +9328,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight" @@ -9338,35 +9338,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,4)-(55,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,13)-(52,14)]" + "@value": "[(7,4)-(55,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,13)-(52,14)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml.flattened.jsonld index ddc083dafb..1fe3fa77b6 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml.flattened.jsonld @@ -285,11 +285,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/lexical/element_1" @@ -297,6 +292,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -611,22 +611,17 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/virtual-element/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D", @@ -637,6 +632,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(80,2)-(80,7)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code", "@type": [ @@ -970,14 +970,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(80,3)-(80,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/parameter/parameter/path/ID", - "http://a.ml/vocabularies/document-source-maps#value": "[(80,3)-(80,7)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/expects/request/parameter/parameter/query/code/scalar/code", @@ -2379,14 +2379,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1/source-map/parsed-json-example/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1/source-map/parsed-json-example/element_0" } ] }, @@ -2570,6 +2570,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_7" @@ -2595,11 +2600,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_6" } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" - } ] }, { @@ -2652,6 +2652,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_1" @@ -2659,11 +2664,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" - } ] }, { @@ -2856,6 +2856,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_8" @@ -2884,11 +2889,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_7" } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" - } ] }, { @@ -2941,6 +2941,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_1" @@ -2948,11 +2953,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" - } ] }, { @@ -3135,6 +3135,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_7" @@ -3160,11 +3165,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_6" } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" - } ] }, { @@ -3217,6 +3217,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_1" @@ -3224,11 +3229,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" - } ] }, { @@ -3712,14 +3712,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1/source-map/parsed-json-example/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1", - "http://a.ml/vocabularies/document-source-maps#value": "[{\"ID\":1, \"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing 737\", \"totalSeats\": 150}}, {\"ID\":2,\"code\": \"ER45if\", \"price\": 345.99, \"departureDate\": \"2016/02/11\", \"origin\": \"MUA\", \"destination\": \"LAX\", \"emptySeats\": 52, \"plane\": {\"type\": \"Boeing 777\", \"totalSeats\": 300}}]\n" + "http://a.ml/vocabularies/document-source-maps#value": "[(65,20)-(65,384)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1/source-map/parsed-json-example/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(65,20)-(65,384)]" + "http://a.ml/vocabularies/document-source-maps#value": "[{\"ID\":1, \"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing 737\", \"totalSeats\": 150}}, {\"ID\":2,\"code\": \"ER45if\", \"price\": 345.99, \"departureDate\": \"2016/02/11\", \"origin\": \"MUA\", \"destination\": \"LAX\", \"emptySeats\": 52, \"plane\": {\"type\": \"Boeing 777\", \"totalSeats\": 300}}]\n" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/code/source-map", @@ -3902,6 +3902,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1", + "http://a.ml/vocabularies/document-source-maps#value": "{\"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing 737\", \"totalSeats\": 150}}\n" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_7", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#emptySeats", @@ -3942,11 +3947,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#origin", "http://a.ml/vocabularies/document-source-maps#value": "[(71,79)-(71,94)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "{\"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing 737\", \"totalSeats\": 150}}\n" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/message/source-map", "@type": [ @@ -3971,6 +3971,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1", + "http://a.ml/vocabularies/document-source-maps#value": "{\"message\": \"Flight added (but not really)\"}\n" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1", @@ -3981,11 +3986,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#message", "http://a.ml/vocabularies/document-source-maps#value": "[(78,21)-(78,63)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/post/returns/resp/201/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "{\"message\": \"Flight added (but not really)\"}\n" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/ID/source-map", "@type": [ @@ -4186,6 +4186,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1", + "http://a.ml/vocabularies/document-source-maps#value": "{\"ID\":1, \"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing 737\", \"totalSeats\": 150}}\n" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_8", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#emptySeats", @@ -4231,11 +4236,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#origin", "http://a.ml/vocabularies/document-source-maps#value": "[(87,93)-(87,108)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "{\"ID\":1, \"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing 737\", \"totalSeats\": 150}}\n" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/message/source-map", "@type": [ @@ -4260,6 +4260,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1", + "http://a.ml/vocabularies/document-source-maps#value": "{\"message\": \"Flight deleted (but not really)\"}\n" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1", @@ -4270,11 +4275,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#message", "http://a.ml/vocabularies/document-source-maps#value": "[(95,23)-(95,67)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/delete/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "{\"message\": \"Flight deleted (but not really)\"}\n" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/code/source-map", "@type": [ @@ -4456,6 +4456,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1", + "http://a.ml/vocabularies/document-source-maps#value": "{\"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing37\", \"totalSeats\": 150}}\n" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_7", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#emptySeats", @@ -4496,11 +4501,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#origin", "http://a.ml/vocabularies/document-source-maps#value": "[(102,81)-(102,96)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/expects/request/payload/application%2Fjson/shape/application%2Fjson/examples/example/default-example/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "{\"code\": \"ER38sd\",\"price\": 400, \"departureDate\": \"2016/03/20\", \"origin\": \"MUA\", \"destination\": \"SFO\", \"emptySeats\": 0, \"plane\": {\"type\": \"Boeing37\", \"totalSeats\": 150}}\n" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/message/source-map", "@type": [ @@ -4525,6 +4525,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1", + "http://a.ml/vocabularies/document-source-maps#value": "{\"message\": \"Flight updated (but not really)\"}\n" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1", @@ -4535,11 +4540,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#message", "http://a.ml/vocabularies/document-source-maps#value": "[(109,23)-(109,67)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights%2F%7BID%7D/supportedOperation/put/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "{\"message\": \"Flight updated (but not really)\"}\n" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/array_1/member/object_2/ID/source-map", "@type": [ @@ -6249,6 +6249,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/lexical/element_1" @@ -6257,11 +6262,6 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/parsed-json-schema/element_0" @@ -6543,6 +6543,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight", @@ -6553,11 +6558,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(9,13)-(52,14)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/source-map/parsed-json-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight", @@ -6568,11 +6568,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/code/scalar/code/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/code/scalar/code/source-map/lexical/element_2" @@ -6583,6 +6578,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/code/scalar/code/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/code/scalar/code/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -6600,11 +6600,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/price/scalar/price/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/price/scalar/price/source-map/lexical/element_2" @@ -6615,6 +6610,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/price/scalar/price/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/price/scalar/price/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -6632,11 +6632,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/departureDate/scalar/departureDate/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/departureDate/scalar/departureDate/source-map/lexical/element_2" @@ -6647,6 +6642,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/departureDate/scalar/departureDate/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/departureDate/scalar/departureDate/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -6664,11 +6664,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/origin/scalar/origin/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/origin/scalar/origin/source-map/lexical/element_2" @@ -6679,6 +6674,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/origin/scalar/origin/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/origin/scalar/origin/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -6696,11 +6696,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/destination/scalar/destination/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/destination/scalar/destination/source-map/lexical/element_2" @@ -6711,6 +6706,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/destination/scalar/destination/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/destination/scalar/destination/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -6728,11 +6728,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats/source-map/lexical/element_2" @@ -6743,6 +6738,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -6813,6 +6813,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/source-map/lexical/element_2" @@ -6823,11 +6828,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -6840,11 +6840,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane", "http://a.ml/vocabularies/document-source-maps#value": "[(40,15)-(51,16)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/code/scalar/code/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/code/scalar/code", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,17)-(12,23)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/code/scalar/code/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -6861,9 +6856,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(10,15)-(14,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/price/scalar/price/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/price/scalar/price", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,17)-(17,23)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/code/scalar/code/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/code/scalar/code", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,17)-(12,23)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/price/scalar/price/source-map/lexical/element_2", @@ -6881,9 +6876,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(15,15)-(19,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/departureDate/scalar/departureDate/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/departureDate/scalar/departureDate", - "http://a.ml/vocabularies/document-source-maps#value": "[(22,17)-(22,23)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/price/scalar/price/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/price/scalar/price", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,17)-(17,23)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/departureDate/scalar/departureDate/source-map/lexical/element_2", @@ -6901,9 +6896,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(20,15)-(24,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/origin/scalar/origin/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/origin/scalar/origin", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,17)-(27,23)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/departureDate/scalar/departureDate/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/departureDate/scalar/departureDate", + "http://a.ml/vocabularies/document-source-maps#value": "[(22,17)-(22,23)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/origin/scalar/origin/source-map/lexical/element_2", @@ -6921,9 +6916,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(25,15)-(29,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/destination/scalar/destination/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/destination/scalar/destination", - "http://a.ml/vocabularies/document-source-maps#value": "[(32,17)-(32,23)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/origin/scalar/origin/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/origin/scalar/origin", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,17)-(27,23)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/destination/scalar/destination/source-map/lexical/element_2", @@ -6941,9 +6936,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(30,15)-(34,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats", - "http://a.ml/vocabularies/document-source-maps#value": "[(37,17)-(37,23)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/destination/scalar/destination/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/destination/scalar/destination", + "http://a.ml/vocabularies/document-source-maps#value": "[(32,17)-(32,23)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats/source-map/lexical/element_2", @@ -6960,6 +6955,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats", "http://a.ml/vocabularies/document-source-maps#value": "[(35,15)-(39,16)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/emptySeats/scalar/emptySeats", + "http://a.ml/vocabularies/document-source-maps#value": "[(37,17)-(37,23)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type", "@type": [ @@ -7039,6 +7039,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane", + "http://a.ml/vocabularies/document-source-maps#value": "[(42,17)-(42,23)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -7054,21 +7059,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane", "http://a.ml/vocabularies/document-source-maps#value": "[(40,15)-(51,16)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane", - "http://a.ml/vocabularies/document-source-maps#value": "[(42,17)-(42,23)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type/source-map/lexical/element_1" @@ -7076,6 +7071,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -7093,11 +7093,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats/source-map/lexical/element_1" @@ -7105,6 +7100,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -7117,11 +7117,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats", "http://a.ml/vocabularies/document-source-maps#value": "[(47,19)-(49,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(45,21)-(45,27)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type", @@ -7133,9 +7128,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(45,21)-(45,37)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats", - "http://a.ml/vocabularies/document-source-maps#value": "[(48,21)-(48,27)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/type/scalar/type", + "http://a.ml/vocabularies/document-source-maps#value": "[(45,21)-(45,27)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats/source-map/lexical/element_1", @@ -7146,6 +7141,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(48,21)-(48,38)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/americanflightapi/api.raml#/declares/shape/flight/property/property/plane/shape/plane/property/property/totalSeats/scalar/totalSeats", + "http://a.ml/vocabularies/document-source-maps#value": "[(48,21)-(48,27)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml.expanded.jsonld index 51fb3993d7..551aa28dcd 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml.expanded.jsonld @@ -313,9 +313,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year" @@ -323,14 +323,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,48)-(5,54)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year" @@ -338,7 +338,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(5,48)-(5,54)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml.flattened.jsonld index 04e774f6cf..247fb51f71 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml.flattened.jsonld @@ -281,14 +281,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year/source-map/virtual-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year/source-map/lexical/element_0" } ] }, @@ -405,14 +405,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,48)-(5,54)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/server/https%3A%2F%2Fapp.zencoder.com%2Fapi%2F%7Bversion%7D%2F%7Byear%7D/variable/parameter/path/year", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(5,48)-(5,54)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/base-uri-params-implicit/api.raml#/web-api/endpoint/%2Frequired/supportedOperation/post/expects/request/header/parameter/header/Zencoder-Api-Key", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml.expanded.jsonld index cebfa54ebf..c352eca2af 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml.expanded.jsonld @@ -647,6 +647,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "{\n \"name\": \"Bobby\",\n \"food\": \"Ice Cream\"\n}" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_2", @@ -687,21 +702,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "{\n \"name\": \"Bobby\",\n \"food\": \"Ice Cream\"\n}" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml.flattened.jsonld index cd6bb49cc8..9f4a53b255 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml.flattened.jsonld @@ -663,6 +663,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_2" @@ -673,11 +678,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#parsed-json-example": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0" - } ] }, { @@ -743,6 +743,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1", + "http://a.ml/vocabularies/document-source-maps#value": "{\n \"name\": \"Bobby\",\n \"food\": \"Ice Cream\"\n}" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#name", @@ -758,11 +763,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1", "http://a.ml/vocabularies/document-source-maps#value": "[(18,32)-(21,33)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/source-map/parsed-json-example/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1", - "http://a.ml/vocabularies/document-source-maps#value": "{\n \"name\": \"Bobby\",\n \"food\": \"Ice Cream\"\n}" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/default_value/api.raml#/web-api/endpoint/%2Fpet/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/application%2Fjson/examples/example/default-example/object_1/name_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml.expanded.jsonld index 03fbdf7e4c..68962c88a3 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml.expanded.jsonld @@ -418,21 +418,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/source-map/lexical/element_3", @@ -486,6 +471,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml.flattened.jsonld index 479f02c151..64e069fc2d 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml.flattened.jsonld @@ -195,11 +195,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/source-map/lexical/element_3" @@ -213,6 +208,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -319,11 +319,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -344,6 +339,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(14,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/define-uri-parameters/api.raml#/web-api/endpoint/%2Fusers%2F%7BuserId%7D/parameter/parameter/path/userId/scalar/userId/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml.expanded.jsonld index 49df9f386a..4d386f8916 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml.expanded.jsonld @@ -171,9 +171,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items" @@ -181,14 +181,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,12)-(11,16)]" + "@value": "[(11,18)-(11,22)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items" @@ -196,7 +196,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,18)-(11,22)]" + "@value": "[(11,12)-(11,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml.flattened.jsonld index 900dc591cf..113e1393ab 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml.flattened.jsonld @@ -348,14 +348,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items/source-map/type-property-lexical-info/element_0" } ] }, @@ -365,14 +365,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(10,10)-(12,24)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,12)-(11,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(11,18)-(11,22)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml#/web-api/endpoint/%2Fheaders%2Farray/supportedOperation/get/expects/request/header/parameter/header/arrayOfFileHeader/array/arrayOfFileHeader/file-shape/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,18)-(11,22)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(11,12)-(11,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/file-array/api.raml", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml.expanded.jsonld index 1e0a9f26a1..dfe77f4abe 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml.expanded.jsonld @@ -340,9 +340,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#json-schema-id": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/json-schema-id/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0" @@ -350,35 +350,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,16)-(13,7)]" + "@value": "http://jsonschema.net/wip/questionnaires/0" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(12,151)]" + "@value": "[(9,16)-(13,7)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#json-schema-id": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/json-schema-id/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "http://jsonschema.net/wip/questionnaires/0" + "@value": "[(12,8)-(12,151)]" } ] } @@ -400,9 +400,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#json-schema-id": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/source-map/json-schema-id/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires" @@ -410,14 +410,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "http://jsonschema.net/wip/questionnaires" + "@value": "[(6,4)-(14,5)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#json-schema-id": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/source-map/json-schema-id/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires" @@ -425,7 +425,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,4)-(14,5)]" + "@value": "http://jsonschema.net/wip/questionnaires" } ] } @@ -530,9 +530,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip" @@ -540,27 +540,29 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,4)-(6,26)]" + "@value": "[(4,2)-(4,8)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(15,3)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#json-schema-id": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/json-schema-id/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip" @@ -568,14 +570,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(4,8)]" + "@value": "http://jsonschema.net/wip" } ] } ], - "http://a.ml/vocabularies/document-source-maps#json-schema-id": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/json-schema-id/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip" @@ -583,22 +585,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "http://jsonschema.net/wip" + "@value": "[(6,4)-(6,26)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,2)-(15,3)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml.flattened.jsonld index 172a063064..26f36f0ba8 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml.flattened.jsonld @@ -231,17 +231,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/lexical/element_1" - }, + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/declared-element/element_0" } ], "http://a.ml/vocabularies/document-source-maps#json-schema-id": [ @@ -249,9 +246,12 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/json-schema-id/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/lexical/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ @@ -313,19 +313,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(6,26)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(15,3)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,8)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip", - "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/json-schema-id/element_0", @@ -333,9 +328,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "http://jsonschema.net/wip" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(6,26)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(15,3)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/source-map/parsed-json-schema/element_0", @@ -359,14 +359,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#json-schema-id": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/source-map/json-schema-id/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#json-schema-id": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/source-map/json-schema-id/element_0" } ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ @@ -404,14 +404,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/source-map/json-schema-id/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires", - "http://a.ml/vocabularies/document-source-maps#value": "http://jsonschema.net/wip/questionnaires" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(14,5)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/source-map/json-schema-id/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(14,5)]" + "http://a.ml/vocabularies/document-source-maps#value": "http://jsonschema.net/wip/questionnaires" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/source-map/type-property-lexical-info/element_0", @@ -433,6 +433,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#json-schema-id": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/json-schema-id/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/lexical/element_1" @@ -440,11 +445,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#json-schema-id": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/json-schema-id/element_0" - } ] }, { @@ -457,6 +457,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0", "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,14)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/json-schema-id/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0", + "http://a.ml/vocabularies/document-source-maps#value": "http://jsonschema.net/wip/questionnaires/0" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0", @@ -466,11 +471,6 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,151)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0/source-map/json-schema-id/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/json_schema_array/api.raml#/declares/shape/wip/property/property/questionnaires/array/questionnaires/items/shape/member0", - "http://a.ml/vocabularies/document-source-maps#value": "http://jsonschema.net/wip/questionnaires/0" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml.expanded.jsonld index f73a1ab598..6fd14d0316 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml.expanded.jsonld @@ -137,9 +137,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input" @@ -147,35 +147,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,26)-(16,32)]" + "@value": "[(14,22)-(17,23)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,22)-(17,23)]" + "@value": "[(16,26)-(16,42)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,26)-(16,42)]" + "@value": "[(16,26)-(16,32)]" } ] } @@ -260,9 +260,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema" @@ -270,27 +270,29 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,4)-(22,0)]" + "@value": "[(20,18)-(20,24)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,18)-(18,19)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema" @@ -298,22 +300,20 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,18)-(20,24)]" + "@value": "[(10,4)-(22,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(13,18)-(18,19)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml.flattened.jsonld index 7ce8dc59c0..7f86fc1197 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml.flattened.jsonld @@ -124,14 +124,6 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/lexical/element_1" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/lexical/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/type-property-lexical-info/element_0" @@ -142,6 +134,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/declared-element/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/lexical/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/lexical/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/parsed-json-schema/element_0" @@ -190,16 +190,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(22,0)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,18)-(18,19)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema", @@ -210,6 +200,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema", "http://a.ml/vocabularies/document-source-maps#value": "" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(22,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,18)-(18,19)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/source-map/parsed-json-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema", @@ -220,11 +220,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input/source-map/lexical/element_1" @@ -232,6 +227,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -244,11 +244,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input", "http://a.ml/vocabularies/document-source-maps#value": "[(14,22)-(17,23)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,26)-(16,32)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input", @@ -258,6 +253,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(16,26)-(16,42)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml08/schema-position/api.raml#/declares/shape/inputSchema/property/property/input/scalar/input", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,26)-(16,32)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml.expanded.jsonld index e582895646..87279097d3 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml.expanded.jsonld @@ -122,9 +122,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0" @@ -132,35 +132,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(57,8)-(57,12)]" + "@value": "[(56,7)-(58,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(56,7)-(58,0)]" + "@value": "[(57,8)-(58,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(57,8)-(58,0)]" + "@value": "[(57,8)-(57,12)]" } ] } @@ -193,9 +193,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1" @@ -203,35 +203,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(59,8)-(59,12)]" + "@value": "[(58,7)-(60,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(58,7)-(60,0)]" + "@value": "[(59,8)-(60,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(59,8)-(60,0)]" + "@value": "[(59,8)-(59,12)]" } ] } @@ -246,21 +246,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/source-map/lexical/element_2", @@ -302,6 +287,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/source-map/type-property-lexical-info/element_0", @@ -345,21 +345,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType/source-map/lexical/element_2", @@ -401,6 +386,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType/source-map/type-property-lexical-info/element_0", @@ -438,9 +438,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType" @@ -448,35 +448,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(22,2)-(24,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,2)-(24,0)]" + "@value": "[(22,2)-(22,9)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,2)-(22,9)]" + "@value": "" } ] } @@ -524,21 +524,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType/source-map/lexical/element_2", @@ -580,6 +565,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType/source-map/type-property-lexical-info/element_0", @@ -623,21 +623,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType/source-map/lexical/element_2", @@ -679,6 +664,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType/source-map/type-property-lexical-info/element_0", @@ -736,9 +736,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0" @@ -746,35 +746,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(50,8)-(50,12)]" + "@value": "[(49,7)-(51,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(49,7)-(51,0)]" + "@value": "[(50,8)-(51,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(50,8)-(51,0)]" + "@value": "[(50,8)-(50,12)]" } ] } @@ -807,9 +807,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1" @@ -817,35 +817,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(52,8)-(52,12)]" + "@value": "[(51,7)-(53,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,7)-(53,0)]" + "@value": "[(52,8)-(53,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(52,8)-(53,0)]" + "@value": "[(52,8)-(52,12)]" } ] } @@ -860,21 +860,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/source-map/lexical/element_2", @@ -916,6 +901,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/source-map/type-property-lexical-info/element_0", @@ -959,21 +959,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType/source-map/lexical/element_2", @@ -1015,6 +1000,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType/source-map/type-property-lexical-info/element_0", @@ -1068,9 +1068,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0" @@ -1078,35 +1078,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,8)-(44,12)]" + "@value": "[(43,7)-(45,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(43,7)-(45,0)]" + "@value": "[(44,8)-(45,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,8)-(45,0)]" + "@value": "[(44,8)-(44,12)]" } ] } @@ -1139,9 +1139,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1" @@ -1149,35 +1149,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(46,8)-(46,12)]" + "@value": "[(45,7)-(47,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(45,7)-(47,0)]" + "@value": "[(46,8)-(47,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(46,8)-(47,0)]" + "@value": "[(46,8)-(46,12)]" } ] } @@ -1197,21 +1197,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/source-map/lexical/element_2", @@ -1253,6 +1238,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/source-map/type-property-lexical-info/element_0", @@ -1304,21 +1304,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType/source-map/lexical/element_3", @@ -1373,6 +1358,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType/source-map/type-property-lexical-info/element_0", @@ -1416,21 +1416,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType/source-map/lexical/element_2", @@ -1472,6 +1457,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType/source-map/type-property-lexical-info/element_0", @@ -1515,21 +1515,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType/source-map/lexical/element_2", @@ -1571,6 +1556,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType/source-map/type-property-lexical-info/element_0", @@ -1600,34 +1600,19 @@ ], "http://www.w3.org/ns/shacl#datatype": [ { - "@id": "http://www.w3.org/2001/XMLSchema#date" - } - ], - "http://www.w3.org/ns/shacl#name": [ - { - "@value": "DateOnlyType" - } - ], - "http://a.ml/vocabularies/document-source-maps#sources": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/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/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } + "@id": "http://www.w3.org/2001/XMLSchema#date" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "DateOnlyType" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { @@ -1670,6 +1655,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/source-map/type-property-lexical-info/element_0", @@ -1713,21 +1713,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType/source-map/lexical/element_2", @@ -1769,6 +1754,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType/source-map/type-property-lexical-info/element_0", @@ -1842,9 +1842,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType" @@ -1852,35 +1852,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,2)-(34,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,2)-(32,12)]" + "@value": "[(32,2)-(34,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(32,2)-(32,12)]" } ] } @@ -1913,21 +1913,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType/source-map/lexical/element_2", @@ -1969,6 +1954,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType/source-map/type-property-lexical-info/element_0", @@ -2012,21 +2012,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType/source-map/lexical/element_2", @@ -2068,6 +2053,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType/source-map/type-property-lexical-info/element_0", @@ -2105,9 +2105,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType" @@ -2115,35 +2115,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(20,2)-(22,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,2)-(22,0)]" + "@value": "[(20,2)-(20,9)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,2)-(20,9)]" + "@value": "" } ] } @@ -2191,21 +2191,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType/source-map/lexical/element_2", @@ -2247,6 +2232,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType/source-map/type-property-lexical-info/element_0", @@ -2304,9 +2304,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not" @@ -2314,35 +2314,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,6)-(63,10)]" + "@value": "[(62,4)-(64,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(62,4)-(64,0)]" + "@value": "[(63,6)-(64,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,6)-(64,0)]" + "@value": "[(63,6)-(63,10)]" } ] } @@ -2357,21 +2357,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType" - } - ], - "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/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/source-map/lexical/element_2", @@ -2413,6 +2398,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/source-map/type-property-lexical-info/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml.flattened.jsonld index 41c63734c2..7e5ffa1475 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml.flattened.jsonld @@ -556,11 +556,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/source-map/lexical/element_2" @@ -572,6 +567,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/source-map/type-property-lexical-info/element_0" @@ -583,11 +583,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType/source-map/lexical/element_2" @@ -599,6 +594,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType/source-map/type-property-lexical-info/element_0" @@ -610,11 +610,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/lexical/element_1" @@ -623,6 +618,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/type-property-lexical-info/element_0" @@ -634,11 +634,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType/source-map/lexical/element_2" @@ -650,6 +645,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType/source-map/type-property-lexical-info/element_0" @@ -661,11 +661,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType/source-map/lexical/element_2" @@ -677,6 +672,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType/source-map/type-property-lexical-info/element_0" @@ -730,11 +730,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/source-map/lexical/element_2" @@ -746,6 +741,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/source-map/type-property-lexical-info/element_0" @@ -757,11 +757,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType/source-map/lexical/element_2" @@ -773,6 +768,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType/source-map/type-property-lexical-info/element_0" @@ -826,11 +826,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/source-map/lexical/element_2" @@ -842,6 +837,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/source-map/type-property-lexical-info/element_0" @@ -853,11 +853,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType/source-map/lexical/element_3" @@ -872,6 +867,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType/source-map/type-property-lexical-info/element_0" @@ -883,11 +883,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType/source-map/lexical/element_2" @@ -899,6 +894,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType/source-map/type-property-lexical-info/element_0" @@ -910,11 +910,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType/source-map/lexical/element_2" @@ -926,6 +921,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType/source-map/type-property-lexical-info/element_0" @@ -937,11 +937,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/source-map/lexical/element_2" @@ -953,6 +948,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/source-map/type-property-lexical-info/element_0" @@ -964,11 +964,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType/source-map/lexical/element_2" @@ -980,6 +975,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType/source-map/type-property-lexical-info/element_0" @@ -1001,6 +1001,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType/source-map/lexical/element_1" @@ -1008,11 +1013,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType/source-map/declared-element/element_0" - } ] }, { @@ -1020,11 +1020,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType/source-map/lexical/element_2" @@ -1036,6 +1031,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType/source-map/type-property-lexical-info/element_0" @@ -1047,11 +1047,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType/source-map/lexical/element_2" @@ -1063,6 +1058,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType/source-map/type-property-lexical-info/element_0" @@ -1074,11 +1074,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/lexical/element_1" @@ -1087,6 +1082,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/type-property-lexical-info/element_0" @@ -1098,11 +1098,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType/source-map/lexical/element_2" @@ -1114,6 +1109,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType/source-map/type-property-lexical-info/element_0" @@ -1146,11 +1146,6 @@ "@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/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/source-map/lexical/element_2" @@ -1162,6 +1157,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/source-map/type-property-lexical-info/element_0" @@ -1173,11 +1173,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0/source-map/lexical/element_1" @@ -1185,6 +1180,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1192,11 +1192,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1/source-map/lexical/element_1" @@ -1204,13 +1199,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -1227,14 +1222,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(54,2)-(61,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType", - "http://a.ml/vocabularies/document-source-maps#value": "[(60,4)-(60,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType", + "http://a.ml/vocabularies/document-source-maps#value": "[(60,4)-(60,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType/source-map/lexical/element_2", @@ -1252,14 +1247,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(5,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType", - "http://a.ml/vocabularies/document-source-maps#value": "[(4,4)-(4,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/StringType", + "http://a.ml/vocabularies/document-source-maps#value": "[(4,4)-(4,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/lexical/element_1", @@ -1272,14 +1267,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(22,2)-(22,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType", - "http://a.ml/vocabularies/document-source-maps#value": "[(23,4)-(23,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AnyType", + "http://a.ml/vocabularies/document-source-maps#value": "[(23,4)-(23,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType/source-map/lexical/element_2", @@ -1297,14 +1292,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(14,2)-(16,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,4)-(15,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/IntegerType", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,4)-(15,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType/source-map/lexical/element_2", @@ -1321,6 +1316,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType", "http://a.ml/vocabularies/document-source-maps#value": "[(26,2)-(28,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeOnlyType", @@ -1331,11 +1331,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0/source-map/lexical/element_1" @@ -1343,6 +1338,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1350,11 +1350,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1/source-map/lexical/element_1" @@ -1362,13 +1357,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -1385,14 +1380,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(47,2)-(54,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType", - "http://a.ml/vocabularies/document-source-maps#value": "[(53,4)-(53,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,4)-(53,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType/source-map/lexical/element_2", @@ -1409,6 +1404,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType", "http://a.ml/vocabularies/document-source-maps#value": "[(28,2)-(30,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/TimeOnlyType", @@ -1419,11 +1419,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0/source-map/lexical/element_1" @@ -1431,6 +1426,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1438,11 +1438,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1/source-map/lexical/element_1" @@ -1450,13 +1445,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#anyOf", @@ -1473,14 +1468,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(40,12)-(47,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType", - "http://a.ml/vocabularies/document-source-maps#value": "[(41,4)-(41,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType", + "http://a.ml/vocabularies/document-source-maps#value": "[(41,4)-(41,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType/source-map/lexical/element_3", @@ -1503,14 +1498,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(34,11)-(40,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType", - "http://a.ml/vocabularies/document-source-maps#value": "[(35,4)-(35,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/file-shape/FileType", + "http://a.ml/vocabularies/document-source-maps#value": "[(35,4)-(35,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType/source-map/lexical/element_2", @@ -1528,14 +1523,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(11,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(9,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BinaryType", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(9,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType/source-map/lexical/element_2", @@ -1553,14 +1548,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(24,2)-(26,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,4)-(25,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateTimeType", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,4)-(25,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/source-map/lexical/element_2", @@ -1578,14 +1573,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(30,2)-(32,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType", - "http://a.ml/vocabularies/document-source-maps#value": "[(31,4)-(31,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/DateOnlyType", + "http://a.ml/vocabularies/document-source-maps#value": "[(31,4)-(31,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType/source-map/lexical/element_2", @@ -1602,6 +1597,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType", "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(20,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/BooleanType", @@ -1617,6 +1617,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType", "http://a.ml/vocabularies/document-source-maps#value": "[(33,4)-(33,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType", @@ -1627,16 +1632,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(32,2)-(32,12)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/shape/ObjectType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1653,14 +1648,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(8,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(6,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/ByteType", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(6,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType/source-map/lexical/element_2", @@ -1678,14 +1673,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(18,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,4)-(17,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/NumberType", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,4)-(17,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/lexical/element_1", @@ -1698,14 +1693,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(20,2)-(20,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType", - "http://a.ml/vocabularies/document-source-maps#value": "[(21,4)-(21,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/nil/NilType", + "http://a.ml/vocabularies/document-source-maps#value": "[(21,4)-(21,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType/source-map/lexical/element_2", @@ -1722,6 +1717,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType", "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(14,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/scalar/PasswordType", @@ -1732,11 +1732,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not/source-map/lexical/element_1" @@ -1744,13 +1739,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -1767,14 +1762,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(61,2)-(65,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType", - "http://a.ml/vocabularies/document-source-maps#value": "[(64,4)-(64,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0", - "http://a.ml/vocabularies/document-source-maps#value": "[(57,8)-(57,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType", + "http://a.ml/vocabularies/document-source-maps#value": "[(64,4)-(64,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0/source-map/lexical/element_1", @@ -1787,9 +1782,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(57,8)-(58,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1", - "http://a.ml/vocabularies/document-source-maps#value": "[(59,8)-(59,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item0", + "http://a.ml/vocabularies/document-source-maps#value": "[(57,8)-(57,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1/source-map/lexical/element_1", @@ -1802,9 +1797,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(59,8)-(60,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0", - "http://a.ml/vocabularies/document-source-maps#value": "[(50,8)-(50,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/AndType/and/scalar/item1", + "http://a.ml/vocabularies/document-source-maps#value": "[(59,8)-(59,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0/source-map/lexical/element_1", @@ -1817,9 +1812,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(50,8)-(51,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1", - "http://a.ml/vocabularies/document-source-maps#value": "[(52,8)-(52,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item0", + "http://a.ml/vocabularies/document-source-maps#value": "[(50,8)-(50,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1/source-map/lexical/element_1", @@ -1832,9 +1827,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(52,8)-(53,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0", - "http://a.ml/vocabularies/document-source-maps#value": "[(44,8)-(44,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/OrType/or/scalar/item1", + "http://a.ml/vocabularies/document-source-maps#value": "[(52,8)-(52,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0/source-map/lexical/element_1", @@ -1847,9 +1842,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(44,8)-(45,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1", - "http://a.ml/vocabularies/document-source-maps#value": "[(46,8)-(46,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item0", + "http://a.ml/vocabularies/document-source-maps#value": "[(44,8)-(44,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1/source-map/lexical/element_1", @@ -1862,9 +1857,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(46,8)-(47,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not", - "http://a.ml/vocabularies/document-source-maps#value": "[(63,6)-(63,10)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/union/UnionType/anyOf/scalar/item1", + "http://a.ml/vocabularies/document-source-maps#value": "[(46,8)-(46,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not/source-map/lexical/element_1", @@ -1875,6 +1870,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(63,6)-(64,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/all-type-types/api.raml#/declares/any/NotType/scalar/not", + "http://a.ml/vocabularies/document-source-maps#value": "[(63,6)-(63,10)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml.expanded.jsonld index 7b6b9426bb..20ff805e8b 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml.expanded.jsonld @@ -302,9 +302,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -312,14 +312,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(20,12)-(21,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -327,7 +327,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,12)-(21,0)]" + "@value": "" } ] } @@ -916,21 +916,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2", @@ -971,6 +956,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers" + } + ] + } ] } ] @@ -1056,9 +1056,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -1066,14 +1066,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(29,14)-(30,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -1081,7 +1081,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,14)-(30,0)]" + "@value": "" } ] } @@ -1494,38 +1494,40 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#required" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(14,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "http://a.ml/vocabularies/apiContract#required" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(14,0)]" + "@value": "[(13,8)-(14,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1533,11 +1535,9 @@ "@value": "[(11,6)-(14,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" @@ -1545,7 +1545,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(11,6)-(14,0)]" } ] } @@ -1560,9 +1560,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" @@ -1570,35 +1570,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + "@value": "[(23,4)-(30,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,4)-(30,0)]" + "@value": "[(23,4)-(23,13)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,4)-(23,13)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" } ] } @@ -1907,38 +1907,40 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#required" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(14,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "http://a.ml/vocabularies/apiContract#required" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(14,0)]" + "@value": "[(13,8)-(14,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1946,11 +1948,9 @@ "@value": "[(11,6)-(14,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" @@ -1958,7 +1958,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(11,6)-(14,0)]" } ] } @@ -1973,9 +1973,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" @@ -1983,35 +1983,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + "@value": "[(30,4)-(43,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,4)-(43,0)]" + "@value": "[(30,4)-(30,10)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,4)-(30,10)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" } ] } @@ -2100,9 +2100,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -2110,14 +2110,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(37,16)-(38,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -2125,7 +2125,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,16)-(38,0)]" + "@value": "" } ] } @@ -2312,9 +2312,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema" @@ -2322,35 +2322,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(41,12)-(43,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(41,12)-(43,0)]" + "@value": "[(42,14)-(43,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(42,14)-(43,0)]" + "@value": "" } ] } @@ -2767,38 +2767,40 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#required" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(14,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "http://a.ml/vocabularies/apiContract#required" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(14,0)]" + "@value": "[(13,8)-(14,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -2806,11 +2808,9 @@ "@value": "[(11,6)-(14,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" @@ -2818,7 +2818,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(11,6)-(14,0)]" } ] } @@ -2833,9 +2833,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" @@ -2843,35 +2843,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + "@value": "[(31,6)-(43,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(31,6)-(43,0)]" + "@value": "[(31,6)-(31,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(31,6)-(31,12)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml.flattened.jsonld index 66d2f885c4..277caf3348 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml.flattened.jsonld @@ -369,11 +369,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2" @@ -384,6 +379,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -439,11 +439,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1" @@ -451,6 +446,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0" + } ] }, { @@ -486,11 +486,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1" @@ -498,6 +493,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0" + } ] }, { @@ -573,11 +573,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1" @@ -585,6 +580,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0" + } ] }, { @@ -830,11 +830,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -850,6 +845,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(43,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200", "@type": [ @@ -930,6 +930,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2" @@ -940,18 +945,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", @@ -962,6 +957,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(23,4)-(23,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/scalar/schema", "@type": [ @@ -1004,6 +1004,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2" @@ -1014,18 +1019,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", @@ -1036,6 +1031,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(30,4)-(30,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200", "@type": [ @@ -1149,6 +1149,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2" @@ -1159,18 +1164,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", @@ -1181,6 +1176,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(31,6)-(31,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/customDomainProperties/AnnotationInRoot/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1434,6 +1434,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", @@ -1449,11 +1454,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/scalar/schema/source-map", "@type": [ @@ -1480,6 +1480,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", @@ -1495,11 +1500,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "@type": [ @@ -1615,6 +1615,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", @@ -1630,11 +1635,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "@type": [ @@ -1879,14 +1879,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -1915,14 +1915,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -1936,14 +1936,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -1957,11 +1957,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1" @@ -1970,6 +1965,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0" @@ -1981,19 +1981,14 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson", "http://a.ml/vocabularies/document-source-maps#value": "[(41,12)-(43,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(20,12)-(21,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -2002,8 +1997,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(29,14)-(30,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -2012,8 +2007,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(37,16)-(38,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -2026,6 +2021,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(42,14)-(43,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-full/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml.expanded.jsonld index 4b0738cc0c..7beaa3470d 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml.expanded.jsonld @@ -925,9 +925,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -935,14 +935,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(41,12)-(42,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -950,7 +950,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(41,12)-(42,0)]" + "@value": "" } ] } @@ -1484,9 +1484,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema" @@ -1494,35 +1494,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,8)-(29,12)]" + "@value": "[(28,6)-(31,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,6)-(31,0)]" + "@value": "[(29,8)-(30,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,8)-(30,0)]" + "@value": "[(29,8)-(29,12)]" } ] } @@ -1674,21 +1674,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2", @@ -1729,6 +1714,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml.flattened.jsonld index 132804de78..3d4c092730 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml.flattened.jsonld @@ -552,11 +552,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2" @@ -567,6 +562,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -1008,11 +1008,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -1028,6 +1023,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(26,2)-(43,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/customDomainProperties/AnnotationInRoot/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1313,11 +1313,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema/source-map/lexical/element_1" @@ -1325,6 +1320,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1470,11 +1470,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(29,8)-(29,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema", @@ -1485,6 +1480,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(29,8)-(30,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(29,8)-(29,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/parameter/parameter/path/customer_id/customDomainProperties/AnnotationInParameter/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1505,14 +1505,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -1552,14 +1552,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(30,33)-(30,36)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(41,12)-(42,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(41,12)-(42,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-scalars/api.raml", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml.expanded.jsonld index 75388fbf97..4d12426c5e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml.expanded.jsonld @@ -140,9 +140,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated" @@ -150,35 +150,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(4,2)-(5,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(5,0)]" + "@value": "[(4,2)-(4,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(4,12)]" + "@value": "" } ] } @@ -286,9 +286,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental" @@ -296,14 +296,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "nil | string" + "@value": "[(5,16)-(5,28)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental" @@ -311,7 +311,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,16)-(5,28)]" + "@value": "nil | string" } ] } @@ -331,9 +331,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental" @@ -341,35 +341,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,2)-(5,28)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,28)]" + "@value": "[(5,2)-(5,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,14)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml.flattened.jsonld index 0110ca90d4..5a9660d76f 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml.flattened.jsonld @@ -125,11 +125,6 @@ "@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/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/source-map/lexical/element_1" @@ -137,6 +132,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/source-map/declared-element/element_0" + } ] }, { @@ -168,11 +168,6 @@ "@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/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/source-map/lexical/element_1" @@ -180,6 +175,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/source-map/declared-element/element_0" + } ] }, { @@ -193,11 +193,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated", @@ -208,6 +203,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental/anyOf/nil/default-nil", "@type": [ @@ -247,22 +247,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental", @@ -273,6 +268,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,14)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/nil/deprecated/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/deprecated/nil/deprecated", @@ -301,14 +301,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental", - "http://a.ml/vocabularies/document-source-maps#value": "nil | string" + "http://a.ml/vocabularies/document-source-maps#value": "[(5,16)-(5,28)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,16)-(5,28)]" + "http://a.ml/vocabularies/document-source-maps#value": "nil | string" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/annotations-type-expressions/api.raml#/declares/experimental/union/experimental/anyOf/nil/default-nil/source-map/lexical/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml.expanded.jsonld index f91bc7e94d..69e3821cf5 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml.expanded.jsonld @@ -469,6 +469,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema" + } + ], + "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/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema/source-map/lexical/element_4", @@ -536,21 +551,6 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema/source-map/parsed-json-schema/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml.flattened.jsonld index ff45457c4d..3bc17ce215 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml.flattened.jsonld @@ -131,6 +131,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema/source-map/lexical/element_4" @@ -148,11 +153,6 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema/source-map/lexical/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema/source-map/parsed-json-schema/element_0" @@ -213,6 +213,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema", "http://a.ml/vocabularies/document-source-maps#value": "[(9,13)-(9,19)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -238,11 +243,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(10,13)-(18,14)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema/source-map/parsed-json-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/api-with-multi-line-schema/api.raml#/declares/shape/mySchema", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml.expanded.jsonld index 0e5fb96c80..3027da6099 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml.expanded.jsonld @@ -432,6 +432,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email" + } + ], + "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/cycle/raml10/array-example/api.raml#/declares/shape/Email/source-map/lexical/element_2", @@ -472,21 +487,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -554,9 +554,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node" @@ -564,14 +564,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,10)-(11,17)]" + "@value": "Email" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node" @@ -579,7 +579,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "Email" + "@value": "[(11,10)-(11,17)]" } ] } @@ -1178,21 +1178,6 @@ "@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/cycle/raml10/array-example/api.raml#/declares/array/Emails/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails" - } - ], - "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/cycle/raml10/array-example/api.raml#/declares/array/Emails/source-map/lexical/element_4", @@ -1260,6 +1245,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/source-map/type-property-lexical-info/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml.flattened.jsonld index f767b1cee2..878c1efad7 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml.flattened.jsonld @@ -185,6 +185,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email/source-map/lexical/element_2" @@ -195,11 +200,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email/source-map/declared-element/element_0" - } ] }, { @@ -245,11 +245,6 @@ "@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/cycle/raml10/array-example/api.raml#/declares/array/Emails/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/source-map/lexical/element_4" @@ -267,6 +262,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/source-map/lexical/element_3" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/source-map/type-property-lexical-info/element_0" @@ -369,6 +369,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email", "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(6,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -384,11 +389,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(10,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/shape/Email", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node/source-map", "@type": [ @@ -402,14 +402,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node/source-map/type-expression/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node/source-map/lexical/element_0" } ] }, @@ -455,11 +455,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -485,6 +480,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "[(12,4)-(13,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails", @@ -569,14 +569,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,17)]" + "http://a.ml/vocabularies/document-source-maps#value": "Email" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "Email" + "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,17)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/array-example/api.raml#/declares/array/Emails/examples/example/default-example/array_1/member/object_2", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml.expanded.jsonld index f7e517a26a..7ca803fc9e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml.expanded.jsonld @@ -218,9 +218,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -228,14 +228,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(16,12)-(17,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -243,7 +243,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,12)-(17,0)]" + "@value": "" } ] } @@ -580,21 +580,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2", @@ -635,6 +620,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" + } + ] + } ] } ] @@ -720,9 +720,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -730,14 +730,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(25,14)-(26,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -745,7 +745,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,14)-(26,0)]" + "@value": "" } ] } @@ -990,38 +990,40 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#required" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(11,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "http://a.ml/vocabularies/apiContract#required" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(11,0)]" + "@value": "[(10,8)-(11,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1029,11 +1031,9 @@ "@value": "[(9,6)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" @@ -1041,7 +1041,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,6)-(11,0)]" } ] } @@ -1056,9 +1056,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" @@ -1066,35 +1066,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + "@value": "[(19,4)-(26,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,4)-(26,0)]" + "@value": "[(19,4)-(19,13)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,4)-(19,13)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" } ] } @@ -1235,38 +1235,40 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#required" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(11,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "http://a.ml/vocabularies/apiContract#required" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(11,0)]" + "@value": "[(10,8)-(11,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1274,11 +1276,9 @@ "@value": "[(9,6)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" @@ -1286,7 +1286,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,6)-(11,0)]" } ] } @@ -1301,9 +1301,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" @@ -1311,35 +1311,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + "@value": "[(26,4)-(37,36)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,4)-(37,36)]" + "@value": "[(26,4)-(26,10)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,4)-(26,10)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" } ] } @@ -1428,9 +1428,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -1438,14 +1438,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(33,16)-(34,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -1453,7 +1453,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,16)-(34,0)]" + "@value": "" } ] } @@ -1640,9 +1640,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema" @@ -1650,35 +1650,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(37,12)-(37,36)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,12)-(37,36)]" + "@value": "[(37,30)-(37,36)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,30)-(37,36)]" + "@value": "" } ] } @@ -1912,38 +1912,40 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#required" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(11,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "http://a.ml/vocabularies/apiContract#required" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(11,0)]" + "@value": "[(10,8)-(11,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1951,11 +1953,9 @@ "@value": "[(9,6)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" @@ -1963,7 +1963,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,6)-(11,0)]" } ] } @@ -1978,9 +1978,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" @@ -1988,35 +1988,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + "@value": "[(27,6)-(37,36)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,6)-(37,36)]" + "@value": "[(27,6)-(27,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,6)-(27,12)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml.flattened.jsonld index 2e378fffab..35161a09fe 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml.flattened.jsonld @@ -295,11 +295,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2" @@ -310,6 +305,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -357,11 +357,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1" @@ -369,6 +364,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0" + } ] }, { @@ -396,11 +396,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1" @@ -408,6 +403,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0" + } ] }, { @@ -475,11 +475,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1" @@ -487,6 +482,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0" + } ] }, { @@ -644,11 +644,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -664,6 +659,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(37,36)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200", "@type": [ @@ -736,6 +736,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2" @@ -746,18 +751,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", @@ -768,6 +763,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(19,4)-(19,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/scalar/schema", "@type": [ @@ -802,6 +802,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2" @@ -812,18 +817,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", @@ -834,6 +829,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(26,4)-(26,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200", "@type": [ @@ -939,6 +939,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2" @@ -949,18 +954,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", @@ -971,6 +966,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(27,6)-(27,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "@type": [ @@ -1135,6 +1135,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", @@ -1150,11 +1155,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(11,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/scalar/schema/source-map", "@type": [ @@ -1181,6 +1181,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", @@ -1196,11 +1201,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(11,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "@type": [ @@ -1316,6 +1316,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", @@ -1331,11 +1336,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(11,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "@type": [ @@ -1531,14 +1531,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -1552,14 +1552,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -1573,14 +1573,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -1594,11 +1594,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1" @@ -1606,6 +1601,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" + } ] }, { @@ -1613,19 +1613,14 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson", "http://a.ml/vocabularies/document-source-maps#value": "[(37,12)-(37,36)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(16,12)-(17,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -1634,8 +1629,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(25,14)-(26,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -1644,8 +1639,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(33,16)-(34,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -1658,6 +1653,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(37,30)-(37,36)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml#/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/banking-api/api.raml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml.expanded.jsonld index 5e86d0272a..9ab9217f80 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml.expanded.jsonld @@ -281,9 +281,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema" @@ -291,35 +291,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(13,36)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(13,36)]" + "@value": "[(11,6)-(13,36)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(13,8)-(13,36)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml.flattened.jsonld index 2857f3e171..52987be033 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml.flattened.jsonld @@ -372,6 +372,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/source-map/lexical/element_1" @@ -379,11 +384,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/source-map/auto-generated-name/element_0" - } ] }, { @@ -422,6 +422,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#location", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema", @@ -432,11 +437,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,36)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/basic_with_xsd/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/expects/request/payload/application%2Fxml/schema/schema/examples/example/default-example/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#strict", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells with spaces/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells with spaces/api.raml.expanded.jsonld index 1079f5bd99..c584cfd338 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells with spaces/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells with spaces/api.raml.expanded.jsonld @@ -186,9 +186,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell" @@ -196,14 +196,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(20,24)-(22,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell" @@ -211,7 +211,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,24)-(22,0)]" + "@value": "" } ] } @@ -241,9 +241,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" @@ -251,35 +251,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,20)-(22,0)]" + "@value": "[(20,24)-(20,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,24)-(22,0)]" + "@value": "[(19,20)-(22,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,24)-(20,28)]" + "@value": "[(20,24)-(22,0)]" } ] } @@ -473,9 +473,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell" @@ -483,14 +483,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(25,16)-(26,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell" @@ -498,7 +498,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,16)-(26,0)]" + "@value": "" } ] } @@ -528,9 +528,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -538,35 +538,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,12)-(26,0)]" + "@value": "[(25,16)-(25,20)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,16)-(26,0)]" + "@value": "[(24,12)-(26,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,16)-(25,20)]" + "@value": "[(25,16)-(26,0)]" } ] } @@ -1140,6 +1140,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell" + } + ], + "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/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell/source-map/lexical/element_2", @@ -1180,21 +1195,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells with spaces/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells with spaces/api.raml.flattened.jsonld index a3b555df03..e609007f57 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells with spaces/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells with spaces/api.raml.flattened.jsonld @@ -458,6 +458,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -465,11 +470,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -509,6 +509,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -516,11 +521,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -533,14 +533,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/auto-generated-name/element_0" } ] }, @@ -549,6 +549,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,24)-(20,28)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", @@ -559,24 +564,19 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(20,24)-(22,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,24)-(20,28)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/auto-generated-name/element_0" } ] }, @@ -585,6 +585,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,16)-(25,20)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", @@ -596,9 +601,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(25,16)-(26,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,16)-(25,20)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,24)-(22,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/auto-generated-name/element_0", @@ -606,20 +611,15 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Bell", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,24)-(22,0)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,16)-(26,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell", "http://a.ml/vocabularies/document-source-maps#value": "" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/web-api/endpoint/%2Fbells/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Bell", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,16)-(26,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml", "http://a.ml/vocabularies/document#declares": [ @@ -729,6 +729,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell/source-map/lexical/element_2" @@ -739,11 +744,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell/source-map/declared-element/element_0" - } ] }, { @@ -842,6 +842,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell", "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -857,11 +862,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell", "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/bells%20with%20spaces/api.raml#/declares/shape/Bell/property/property/id/scalar/id/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml.expanded.jsonld index 6ff0116c02..a3e4f8f9d3 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml.expanded.jsonld @@ -137,9 +137,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1" @@ -147,35 +147,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(7,12)]" + "@value": "[(6,6)-(8,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(8,0)]" + "@value": "[(7,8)-(8,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(8,0)]" + "@value": "[(7,8)-(7,12)]" } ] } @@ -298,9 +298,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2" @@ -308,35 +308,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(9,12)]" + "@value": "[(8,6)-(10,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,6)-(10,0)]" + "@value": "[(9,8)-(10,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(10,0)]" + "@value": "[(9,8)-(9,12)]" } ] } @@ -459,9 +459,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3" @@ -469,35 +469,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(11,12)]" + "@value": "[(10,6)-(12,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(12,0)]" + "@value": "[(11,8)-(12,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(12,0)]" + "@value": "[(11,8)-(11,12)]" } ] } @@ -620,9 +620,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4" @@ -630,35 +630,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(13,12)]" + "@value": "[(12,6)-(14,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,6)-(14,0)]" + "@value": "[(13,8)-(14,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(14,0)]" + "@value": "[(13,8)-(13,12)]" } ] } @@ -1248,6 +1248,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1" + } + ], + "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/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/source-map/lexical/element_3", @@ -1301,21 +1316,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml.flattened.jsonld index 990715305e..1aa47b09b6 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml.flattened.jsonld @@ -227,6 +227,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/source-map/lexical/element_3" @@ -240,11 +245,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/source-map/declared-element/element_0" - } ] }, { @@ -469,6 +469,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -489,21 +494,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(18,14)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1/source-map/lexical/element_1" @@ -511,6 +506,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -538,11 +538,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2/source-map/lexical/element_1" @@ -550,6 +545,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -577,11 +577,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3/source-map/lexical/element_1" @@ -589,6 +584,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -616,11 +616,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4/source-map/lexical/element_1" @@ -628,6 +623,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -773,11 +773,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/examples/example/default-example", "http://a.ml/vocabularies/document-source-maps#value": "[(14,4)-(18,14)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1", @@ -789,9 +784,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(8,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p1/scalar/p1", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2/source-map/lexical/element_1", @@ -804,9 +799,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(10,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p2/scalar/p2", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3/source-map/lexical/element_1", @@ -819,9 +814,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(12,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p3/scalar/p3", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4/source-map/lexical/element_1", @@ -833,6 +828,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(14,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/property/property/p4/scalar/p4", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean-value-in-example/api.raml#/declares/shape/T1/examples/example/default-example/object_1/p1/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml.expanded.jsonld index 05f873e753..7e37d171d5 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml.expanded.jsonld @@ -114,9 +114,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema" @@ -124,14 +124,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(7,12)-(8,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema" @@ -139,7 +139,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,12)-(8,0)]" + "@value": "true" } ] } @@ -253,9 +253,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/10/scalar/schema/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/10/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/10/scalar/schema" @@ -263,14 +263,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(8,12)-(9,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/10/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/10/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/10/scalar/schema" @@ -278,7 +278,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,12)-(9,0)]" + "@value": "true" } ] } @@ -392,9 +392,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xCAFE/scalar/schema/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xCAFE/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xCAFE/scalar/schema" @@ -402,14 +402,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,12)-(10,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xCAFE/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xCAFE/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xCAFE/scalar/schema" @@ -417,7 +417,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,12)-(10,0)]" + "@value": "true" } ] } @@ -531,9 +531,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xJUAN/scalar/schema/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xJUAN/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xJUAN/scalar/schema" @@ -541,14 +541,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(10,12)-(11,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xJUAN/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xJUAN/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xJUAN/scalar/schema" @@ -556,7 +556,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,12)-(11,0)]" + "@value": "true" } ] } @@ -670,9 +670,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema" @@ -680,14 +680,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(11,12)-(11,15)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema" @@ -695,7 +695,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,12)-(11,15)]" + "@value": "true" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml.flattened.jsonld index c0ac8d6466..d1a94fddc8 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml.flattened.jsonld @@ -500,14 +500,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema/source-map/synthesized-field/element_0" } ] }, @@ -531,14 +531,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/10/scalar/schema/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/10/scalar/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/10/scalar/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/10/scalar/schema/source-map/synthesized-field/element_0" } ] }, @@ -562,14 +562,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xCAFE/scalar/schema/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xCAFE/scalar/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xCAFE/scalar/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xCAFE/scalar/schema/source-map/synthesized-field/element_0" } ] }, @@ -593,14 +593,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xJUAN/scalar/schema/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xJUAN/scalar/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xJUAN/scalar/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xJUAN/scalar/schema/source-map/synthesized-field/element_0" } ] }, @@ -624,14 +624,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema/source-map/synthesized-field/element_0" } ] }, @@ -650,19 +650,14 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(11,12)-(11,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema/source-map/synthesized-field/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(7,12)-(8,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/10/scalar/schema/source-map/synthesized-field/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/10/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/true/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { @@ -671,8 +666,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,12)-(9,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xCAFE/scalar/schema/source-map/synthesized-field/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xCAFE/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/10/scalar/schema/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/10/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { @@ -681,8 +676,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,12)-(10,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xJUAN/scalar/schema/source-map/synthesized-field/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xJUAN/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xCAFE/scalar/schema/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xCAFE/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { @@ -691,8 +686,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(10,12)-(11,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema/source-map/synthesized-field/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xJUAN/scalar/schema/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/0xJUAN/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { @@ -700,6 +695,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(11,12)-(11,15)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/get/expects/request/parameter/parameter/query/07/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/boolean_in_key/api.raml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars[]infilespaths/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars[]infilespaths/api.raml.expanded.jsonld index 35d220f590..c12d1edbba 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars[]infilespaths/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars[]infilespaths/api.raml.expanded.jsonld @@ -264,9 +264,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -274,35 +274,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(10,12)-(15,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,12)-(15,0)]" + "@value": "[(11,14)-(15,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,14)-(15,0)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars[]infilespaths/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars[]infilespaths/api.raml.flattened.jsonld index 1231116d99..8bdcb832ff 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars[]infilespaths/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars[]infilespaths/api.raml.flattened.jsonld @@ -261,11 +261,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_1" @@ -274,6 +269,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#default-node": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/default-node/element_0" @@ -329,11 +329,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", @@ -344,6 +339,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(11,14)-(15,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/chars%5B%5Dinfilespaths/api.raml#/web-api/endpoint/%2Fflights/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml.expanded.jsonld index 959d88a9e6..e92674fc2d 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml.expanded.jsonld @@ -108,21 +108,6 @@ "@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/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType1" - } - ], - "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/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType1/source-map/lexical/element_2", @@ -163,6 +148,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -192,21 +192,6 @@ "@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/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType2" - } - ], - "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/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType2/source-map/lexical/element_2", @@ -247,6 +232,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -625,6 +625,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames" + } + ], + "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/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames/source-map/lexical/element_2", @@ -665,21 +680,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml.flattened.jsonld index bcc44829cf..efb79e4b26 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml.flattened.jsonld @@ -146,11 +146,6 @@ "@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/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType1/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType1/source-map/lexical/element_2" @@ -161,6 +156,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType1/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType1/source-map/declared-element/element_0" + } ] }, { @@ -168,11 +168,6 @@ "@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/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType2/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType2/source-map/lexical/element_2" @@ -183,6 +178,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType2/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType2/source-map/declared-element/element_0" + } ] }, { @@ -243,6 +243,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames/source-map/lexical/element_2" @@ -253,18 +258,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames/source-map/declared-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -281,8 +276,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(5,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType1", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -300,6 +295,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType2", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(6,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/scalar/myType2", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames/property/property/myType1/scalar/myType1", "@type": [ @@ -393,6 +393,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -408,11 +413,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(13,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-crossed-props/api.raml#/declares/shape/crossedNames/property/property/myType1/scalar/myType1/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml.expanded.jsonld index 82c42e3978..790786447c 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml.expanded.jsonld @@ -271,6 +271,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2" + } + ], + "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/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2/source-map/lexical/element_2", @@ -311,21 +326,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -429,9 +429,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/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/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array" @@ -439,14 +439,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "baseType1[]" + "@value": "[(16,10)-(16,23)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array" @@ -454,7 +454,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(16,23)]" + "@value": "baseType1[]" } ] } @@ -474,9 +474,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix" @@ -484,35 +484,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(15,2)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,2)-(18,0)]" + "@value": "[(15,2)-(15,10)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,2)-(15,10)]" + "@value": "" } ] } @@ -688,9 +688,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union" @@ -698,14 +698,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "baseType1 | baseType2" + "@value": "[(24,4)-(26,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union" @@ -713,7 +713,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,4)-(26,0)]" + "@value": "baseType1 | baseType2" } ] } @@ -758,6 +758,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion" + } + ], + "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/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/source-map/lexical/element_2", @@ -798,21 +813,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1005,6 +1005,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1" + } + ], + "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/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1/source-map/lexical/element_2", @@ -1045,21 +1060,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1438,6 +1438,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode" + } + ], + "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/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode/source-map/lexical/element_2", @@ -1478,21 +1493,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1560,9 +1560,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node" @@ -1570,14 +1570,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,10)-(13,21)]" + "@value": "baseType1" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node" @@ -1585,7 +1585,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "baseType1" + "@value": "[(13,10)-(13,21)]" } ] } @@ -1605,9 +1605,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray" @@ -1615,35 +1615,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(12,2)-(15,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,2)-(15,0)]" + "@value": "[(12,2)-(12,9)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,2)-(12,9)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml.flattened.jsonld index 924bad0a67..e2f43c8cba 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml.flattened.jsonld @@ -247,6 +247,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2/source-map/lexical/element_2" @@ -257,11 +262,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2/source-map/declared-element/element_0" - } ] }, { @@ -287,11 +287,6 @@ "@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/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/lexical/element_1" @@ -300,6 +295,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/type-property-lexical-info/element_0" @@ -344,6 +344,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/source-map/lexical/element_2" @@ -354,11 +359,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/source-map/declared-element/element_0" - } ] }, { @@ -395,6 +395,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1/source-map/lexical/element_2" @@ -405,11 +410,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1/source-map/declared-element/element_0" - } ] }, { @@ -470,6 +470,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode/source-map/lexical/element_2" @@ -480,11 +485,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode/source-map/declared-element/element_0" - } ] }, { @@ -513,11 +513,6 @@ "@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/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/lexical/element_1" @@ -526,6 +521,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/type-property-lexical-info/element_0" @@ -580,6 +580,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -595,11 +600,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2", "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(12,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array/shape/default-node", "@type": [ @@ -626,22 +626,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix", @@ -652,6 +647,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(15,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix", @@ -704,14 +704,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union/source-map/type-expression/element_0" } ] }, @@ -725,6 +725,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion", "http://a.ml/vocabularies/document-source-maps#value": "[(24,4)-(24,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -740,11 +745,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion", "http://a.ml/vocabularies/document-source-maps#value": "[(23,2)-(26,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1/property/property/baseProp1/scalar/baseProp1", "@type": [ @@ -793,6 +793,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -808,11 +813,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(8,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode/property/property/baseType1/shape/baseType1", "@type": [ @@ -906,6 +906,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -921,11 +926,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode", "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(23,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myNode", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node/source-map", "@type": [ @@ -939,22 +939,17 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node/source-map/type-expression/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node/source-map/lexical/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray", @@ -965,6 +960,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(12,2)-(12,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray", @@ -1024,14 +1024,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array", - "http://a.ml/vocabularies/document-source-maps#value": "baseType1[]" + "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,23)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myMatrix/array/default-array", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,23)]" + "http://a.ml/vocabularies/document-source-maps#value": "baseType1[]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union/anyOf/shape/default-node/source-map", @@ -1066,14 +1066,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "baseType1 | baseType2" + "http://a.ml/vocabularies/document-source-maps#value": "[(24,4)-(26,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/myUnion/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,4)-(26,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "baseType1 | baseType2" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType1/property/property/baseProp1/scalar/baseProp1/source-map", @@ -1198,14 +1198,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,21)]" + "http://a.ml/vocabularies/document-source-maps#value": "baseType1" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/array/myArray/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "baseType1" + "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,21)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-full-valid/api.raml#/declares/shape/baseType2/property/property/baseProp2/scalar/baseProp2/source-map/lexical/element_1", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml.expanded.jsonld index 85cf433976..275dd502aa 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml.expanded.jsonld @@ -108,21 +108,6 @@ "@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/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType" - } - ], - "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/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType/source-map/lexical/element_2", @@ -163,6 +148,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -375,6 +375,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent" + } + ], + "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/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent/source-map/lexical/element_2", @@ -415,21 +430,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -632,9 +632,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent" @@ -642,14 +642,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,4)-(10,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent" @@ -657,7 +657,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,4)-(10,0)]" + "@value": "" } ] } @@ -702,6 +702,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child" + } + ], + "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/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/source-map/lexical/element_3", @@ -755,21 +770,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -992,9 +992,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child" @@ -1002,14 +1002,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(13,4)-(14,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child" @@ -1017,7 +1017,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,4)-(14,0)]" + "@value": "" } ] } @@ -1062,6 +1062,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild" + } + ], + "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/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/source-map/lexical/element_3", @@ -1115,21 +1130,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml.flattened.jsonld index 0424ef1691..75177df4d6 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml.flattened.jsonld @@ -179,11 +179,6 @@ "@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/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType/source-map/lexical/element_2" @@ -194,6 +189,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType/source-map/declared-element/element_0" + } ] }, { @@ -230,6 +230,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent/source-map/lexical/element_2" @@ -240,11 +245,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent/source-map/declared-element/element_0" - } ] }, { @@ -308,6 +308,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/source-map/lexical/element_3" @@ -321,11 +326,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/source-map/declared-element/element_0" - } ] }, { @@ -389,6 +389,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/source-map/lexical/element_3" @@ -402,18 +407,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/source-map/declared-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -429,6 +424,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(5,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/scalar/baseType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent/property/property/prop1/scalar/prop1", "@type": [ @@ -478,6 +478,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -493,11 +498,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(8,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/property/property/baseType/scalar/baseType", "@type": [ @@ -546,14 +546,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent/source-map/auto-generated-name/element_0" } ] }, @@ -567,6 +567,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child", "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(9,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -587,11 +592,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child", "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(12,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/property/property/prop2/scalar/prop2", "@type": [ @@ -641,14 +641,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child/source-map/auto-generated-name/element_0" } ] }, @@ -662,6 +662,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild", "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(13,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -682,11 +687,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild", "http://a.ml/vocabularies/document-source-maps#value": "[(12,2)-(15,21)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent/property/property/prop1/scalar/prop1/source-map", "@type": [ @@ -761,14 +761,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(11,16)-(11,22)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(10,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/child/inherits/shape/parent", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(10,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/property/property/prop2/scalar/prop2/source-map", @@ -810,14 +810,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(15,13)-(15,21)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(14,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/grandChild/inherits/shape/child", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(14,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/closures-inheritance/api.raml#/declares/shape/parent/property/property/prop1/scalar/prop1/source-map/synthesized-field/element_1", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml.expanded.jsonld index 0d17230e2e..2d765fb13a 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml.expanded.jsonld @@ -1056,21 +1056,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_3", @@ -1124,6 +1109,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero" + } + ] + } ] } ] @@ -1150,21 +1150,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Fanother-level-one/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Fanother-level-one" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Fanother-level-one/source-map/lexical/element_2", @@ -1205,6 +1190,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Fanother-level-one/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Fanother-level-one" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml.flattened.jsonld index 548405a153..e07f90a102 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml.flattened.jsonld @@ -424,11 +424,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_3" @@ -442,6 +437,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0" + } ] }, { @@ -449,11 +449,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Fanother-level-one/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Fanother-level-one/source-map/lexical/element_2" @@ -464,6 +459,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Fanother-level-one/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Fanother-level-one/source-map/parent-end-point/element_0" + } ] }, { @@ -782,11 +782,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -808,8 +803,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(48,2)-(62,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Fanother-level-one/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Fanother-level-one", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one", "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero" }, { @@ -827,6 +822,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Fanother-level-one", "http://a.ml/vocabularies/document-source-maps#value": "[(62,2)-(64,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Fanother-level-one/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero%2Fanother-level-one", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Flevelzero" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/complete-with-operations/api.raml#/web-api/endpoint/%2Fanother-levelzero/supportedOperation/post/creative-work/http%3A%2F%2Ftest.com%2FurlExternalDocs", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml.expanded.jsonld index f8d89439d1..4a18c29049 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml.expanded.jsonld @@ -127,9 +127,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name" @@ -137,35 +137,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,4)-(4,8)]" + "@value": "[(3,2)-(5,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(5,0)]" + "@value": "[(4,4)-(5,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,4)-(5,0)]" + "@value": "[(4,4)-(4,8)]" } ] } @@ -417,9 +417,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person" @@ -427,35 +427,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(3,30)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(3,8)]" + "@value": "[(3,2)-(3,30)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(3,2)-(3,8)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml.flattened.jsonld index 41c2224b09..1ef9fa5041 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml.flattened.jsonld @@ -162,6 +162,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person/source-map/lexical/element_1" @@ -169,11 +174,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person/source-map/declared-element/element_0" - } ] }, { @@ -234,6 +234,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person", "http://a.ml/vocabularies/document-source-maps#value": "person.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person", @@ -244,11 +249,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(3,8)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/declares/shape/person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name", "@type": [ @@ -312,11 +312,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_1" @@ -324,6 +319,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -346,11 +346,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(3,7)-(5,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(4,4)-(4,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name", @@ -360,6 +355,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(4,4)-(5,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/data-type-fragment/api.raml#/references/0/shape/type/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(4,4)-(4,8)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml.expanded.jsonld index 07358db3cc..427e9cb97f 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml.expanded.jsonld @@ -175,9 +175,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus" @@ -185,35 +185,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,10)-(11,14)]" + "@value": "[(10,8)-(12,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(12,0)]" + "@value": "[(11,10)-(12,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,10)-(12,0)]" + "@value": "[(11,10)-(11,14)]" } ] } @@ -324,9 +324,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type" @@ -334,35 +334,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,4)-(12,0)]" + "@value": "[(8,6)-(8,10)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,17)-(12,0)]" + "@value": "[(7,4)-(12,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,6)-(8,10)]" + "@value": "[(9,17)-(12,0)]" } ] } @@ -392,6 +392,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(7,4)-(7,8)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/source-map/lexical/element_2", @@ -432,21 +447,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(7,4)-(7,8)]" - } - ] - } ] } ] @@ -463,21 +463,6 @@ "@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/cycle/raml10/declarations-small/api.raml#/declares/Wadus/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/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/cycle/raml10/declarations-small/api.raml#/declares/Wadus/source-map/lexical/element_3", @@ -531,6 +516,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -589,9 +589,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age" @@ -599,35 +599,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,8)-(16,12)]" + "@value": "[(15,6)-(17,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,6)-(17,0)]" + "@value": "[(16,8)-(17,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,8)-(17,0)]" + "@value": "[(16,8)-(16,12)]" } ] } @@ -750,9 +750,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name" @@ -760,35 +760,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,8)-(18,12)]" + "@value": "[(17,6)-(19,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,6)-(19,0)]" + "@value": "[(18,8)-(19,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,8)-(19,0)]" + "@value": "[(18,8)-(18,12)]" } ] } @@ -899,6 +899,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person" + } + ], + "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/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/source-map/lexical/element_2", @@ -939,21 +954,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml.flattened.jsonld index a8185eeba0..f378d69840 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml.flattened.jsonld @@ -146,11 +146,6 @@ "@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/cycle/raml10/declarations-small/api.raml#/declares/Wadus/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/source-map/lexical/element_3" @@ -164,6 +159,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/source-map/declared-element/element_0" + } ] }, { @@ -224,6 +224,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/source-map/lexical/element_2" @@ -234,11 +239,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -273,6 +273,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/source-map/lexical/element_2" @@ -283,18 +288,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", @@ -315,6 +310,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus", "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(12,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age", "@type": [ @@ -406,6 +406,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -421,11 +426,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person", "http://a.ml/vocabularies/document-source-maps#value": "[(13,2)-(19,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus", "@type": [ @@ -460,6 +460,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/source-map/lexical/element_1" @@ -467,11 +472,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -479,6 +479,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -494,21 +499,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(3,8)-(12,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_1" @@ -516,6 +511,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -543,11 +543,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1" @@ -555,6 +550,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -625,6 +625,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(8,10)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type", @@ -635,16 +640,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(9,17)-(12,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(8,10)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,8)-(16,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age", @@ -656,9 +651,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(16,8)-(17,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,8)-(18,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/age/scalar/age", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,8)-(16,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", @@ -670,16 +665,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(18,8)-(19,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/shape/Person/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,8)-(18,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map/lexical/element_1" @@ -687,6 +682,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -709,11 +709,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(10,14)-(12,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus", @@ -723,6 +718,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(12,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declarations-small/api.raml#/declares/Wadus/shape/schema/inherits/shape/type/property/property/wadus/scalar/wadus", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,14)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml.expanded.jsonld index 83ea716070..0fbfcaa86d 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml.expanded.jsonld @@ -279,21 +279,6 @@ "@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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth" - } - ], - "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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth/source-map/lexical/element_3", @@ -347,6 +332,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -373,21 +373,6 @@ "@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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/basic_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/basic_auth" - } - ], - "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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/basic_auth/source-map/lexical/element_2", @@ -428,6 +413,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/basic_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/basic_auth" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -512,21 +512,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(10,10)-(10,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -567,6 +552,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(10,10)-(10,14)]" + } + ] + } ] } ] @@ -702,21 +702,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(14,10)-(14,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_2", @@ -757,6 +742,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(14,10)-(14,14)]" + } + ] + } ] } ] @@ -1078,21 +1078,6 @@ "@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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0" - } - ], - "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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_6", @@ -1185,6 +1170,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1280,21 +1280,6 @@ "@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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key" - } - ], - "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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key/source-map/lexical/element_3", @@ -1348,6 +1333,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1374,21 +1374,6 @@ "@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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/digest_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/digest_auth" - } - ], - "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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/digest_auth/source-map/lexical/element_2", @@ -1429,6 +1414,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/digest_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/digest_auth" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1547,21 +1547,6 @@ "@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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0" - } - ], - "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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0/source-map/lexical/element_4", @@ -1628,6 +1613,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml.flattened.jsonld index 47372c8732..f3f27d87e5 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml.flattened.jsonld @@ -218,11 +218,6 @@ "@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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth/source-map/lexical/element_3" @@ -236,6 +231,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth/source-map/declared-element/element_0" + } ] }, { @@ -243,11 +243,6 @@ "@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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/basic_auth/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/basic_auth/source-map/lexical/element_2" @@ -258,6 +253,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/basic_auth/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/basic_auth/source-map/declared-element/element_0" + } ] }, { @@ -363,11 +363,6 @@ "@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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_6" @@ -390,6 +385,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_5" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" + } ] }, { @@ -412,11 +412,6 @@ "@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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key/source-map/lexical/element_3" @@ -430,6 +425,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key/source-map/declared-element/element_0" + } ] }, { @@ -437,11 +437,6 @@ "@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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/digest_auth/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/digest_auth/source-map/lexical/element_2" @@ -452,6 +447,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/digest_auth/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/digest_auth/source-map/declared-element/element_0" + } ] }, { @@ -475,11 +475,6 @@ "@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/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0/source-map/lexical/element_4" @@ -496,6 +491,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0/source-map/declared-element/element_0" + } ] }, { @@ -526,11 +526,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -552,8 +547,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(42,2)-(45,21)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/basic_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/basic_auth", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -571,6 +566,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/basic_auth", "http://a.ml/vocabularies/document-source-maps#value": "[(33,2)-(35,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/basic_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/basic_auth", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", "@type": [ @@ -715,11 +715,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#response", @@ -755,6 +750,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#header", "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(11,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key/settings/api-key/source-map", "@type": [ @@ -772,11 +772,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -798,8 +793,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(37,2)-(42,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/digest_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/digest_auth", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/api_key", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -817,6 +812,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/digest_auth", "http://a.ml/vocabularies/document-source-maps#value": "[(35,2)-(37,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/digest_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/digest_auth", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0/settings/oauth1/source-map", "@type": [ @@ -837,11 +837,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -867,6 +862,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(26,2)-(26,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_1_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/custom_auth/settings/default/object_1/custom", "@type": [ @@ -916,11 +916,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2" @@ -931,6 +926,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -958,11 +958,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_2" @@ -973,6 +968,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1111,11 +1111,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#custom", "http://a.ml/vocabularies/document-source-maps#value": "[(45,6)-(45,21)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,10)-(10,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1132,9 +1127,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(11,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(14,14)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,10)-(10,14)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_2", @@ -1151,6 +1146,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(15,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(14,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/declared-security-schemes/api.raml#/declares/scheme/oauth_2_0/settings/oauth2/flows/default-flow/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#authorizationUri", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml.expanded.jsonld index ca716be366..158d748460 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml.expanded.jsonld @@ -133,9 +133,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a" @@ -143,14 +143,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(14,14)-(16,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a" @@ -158,7 +158,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,14)-(16,0)]" + "@value": "true" } ] } @@ -269,9 +269,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" @@ -279,35 +279,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,10)-(16,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,23)-(16,0)]" + "@value": "[(12,10)-(16,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(13,23)-(16,0)]" } ] } @@ -541,9 +541,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema" @@ -551,14 +551,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(23,6)-(24,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema" @@ -566,7 +566,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,6)-(24,0)]" + "@value": "true" } ] } @@ -696,9 +696,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property" @@ -706,14 +706,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(21,10)-(22,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property" @@ -721,7 +721,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,10)-(22,0)]" + "@value": "true" } ] } @@ -832,9 +832,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema" @@ -842,35 +842,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,6)-(22,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,19)-(22,0)]" + "@value": "[(19,6)-(22,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(20,19)-(22,0)]" } ] } @@ -1009,9 +1009,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -1019,14 +1019,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(29,10)-(29,27)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -1034,7 +1034,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,10)-(29,27)]" + "@value": "" } ] } @@ -1122,9 +1122,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema" @@ -1132,14 +1132,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(27,10)-(28,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema" @@ -1147,7 +1147,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,10)-(28,0)]" + "@value": "true" } ] } @@ -1423,9 +1423,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam" @@ -1433,14 +1433,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(16,6)-(16,17)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam" @@ -1448,7 +1448,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,6)-(16,17)]" + "@value": "true" } ] } @@ -1582,9 +1582,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A" @@ -1592,35 +1592,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(3,2)-(5,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(5,0)]" + "@value": "[(3,2)-(3,3)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(3,3)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml.flattened.jsonld index b8dbcdb193..9da8f3139e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml.flattened.jsonld @@ -336,14 +336,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam/source-map/virtual-element/element_0" } ] }, @@ -544,14 +544,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(16,17)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/parameter/parameter/path/pathParam", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(16,17)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", @@ -799,6 +799,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -806,11 +811,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" - } ] }, { @@ -823,14 +823,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema/source-map/synthesized-field/element_0" } ] }, @@ -883,6 +883,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -890,11 +895,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" - } ] }, { @@ -907,14 +907,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -928,14 +928,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema/source-map/synthesized-field/element_0" } ] }, @@ -1002,6 +1002,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", @@ -1013,20 +1018,15 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(13,23)-(16,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(23,6)-(24,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/parameter/parameter/query/queryParam/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(23,6)-(24,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property", "@type": [ @@ -1075,6 +1075,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", @@ -1086,9 +1091,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(20,19)-(22,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(29,10)-(29,27)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", @@ -1096,33 +1101,28 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(29,10)-(29,27)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,10)-(28,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/returns/resp/200/header/parameter/header/header/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,10)-(28,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/synthesized-field/element_0" } ] }, @@ -1151,14 +1151,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property/source-map/synthesized-field/element_0" } ] }, @@ -1182,19 +1182,14 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(21,19)-(21,19)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/synthesized-field/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a", "http://a.ml/vocabularies/document-source-maps#value": "[(14,14)-(16,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property/source-map/synthesized-field/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { @@ -1202,6 +1197,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property", "http://a.ml/vocabularies/document-source-maps#value": "[(21,10)-(22,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/web-api/endpoint/%2Ftest%2F%7BpathParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/property/scalar/property", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml", "http://a.ml/vocabularies/document#declares": [ @@ -1249,11 +1249,6 @@ "@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/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/lexical/element_1" @@ -1262,17 +1257,17 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/synthesized-field/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A", @@ -1283,6 +1278,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(3,3)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/default-types/api.raml#/declares/scalar/A", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml.expanded.jsonld index e7df148fb7..b0025c6282 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml.expanded.jsonld @@ -241,9 +241,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema" @@ -251,35 +251,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(8,6)-(10,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,6)-(10,0)]" + "@value": "[(9,8)-(10,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(10,0)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml.flattened.jsonld index 521e480769..8cdb50a457 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml.flattened.jsonld @@ -249,11 +249,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/lexical/element_1" @@ -262,6 +257,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#default-node": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/default-node/element_0" @@ -314,11 +314,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema", @@ -329,6 +324,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(10,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty-external-fragment/api.raml#/web-api/endpoint/%2Fsessions%2F/supportedOperation/post/expects/request/payload/multipart%2Fform-data/any/schema", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml.expanded.jsonld index 7f43356df9..db06975741 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml.expanded.jsonld @@ -187,9 +187,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema" @@ -197,14 +197,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "string | number" + "@value": "[(9,15)-(9,30)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema" @@ -212,7 +212,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,15)-(9,30)]" + "@value": "string | number" } ] } @@ -227,9 +227,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema" @@ -237,35 +237,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(8,23)-(10,12)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,23)-(10,12)]" + "@value": "[(9,8)-(10,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(10,12)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml.flattened.jsonld index bc496a9bc4..7189f048db 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml.flattened.jsonld @@ -261,11 +261,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/lexical/element_1" @@ -274,6 +269,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/type-property-lexical-info/element_0" @@ -330,22 +330,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema", @@ -356,6 +351,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(10,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema", @@ -384,14 +384,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema", - "http://a.ml/vocabularies/document-source-maps#value": "string | number" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,15)-(9,30)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,15)-(9,30)]" + "http://a.ml/vocabularies/document-source-maps#value": "string | number" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/empty_union/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/post/expects/request/payload/application%2Fjson/union/schema/inherits/union/schema/anyOf/scalar/default-scalar/source-map/lexical/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml.expanded.jsonld index 11cd2dba27..26260bd03e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml.expanded.jsonld @@ -422,21 +422,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Flevel-one/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Flevel-one" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Flevel-one/source-map/lexical/element_3", @@ -490,6 +475,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Flevel-one/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Flevel-one" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero" + } + ] + } ] } ] @@ -516,21 +516,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Fanother-level-one/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Fanother-level-one" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Fanother-level-one/source-map/lexical/element_2", @@ -571,6 +556,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Fanother-level-one/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Fanother-level-one" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml.flattened.jsonld index bdcaaf452e..f17b70b713 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml.flattened.jsonld @@ -327,11 +327,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Flevel-one/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Flevel-one/source-map/lexical/element_3" @@ -345,6 +340,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Flevel-one/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Flevel-one/source-map/parent-end-point/element_0" + } ] }, { @@ -352,11 +352,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Fanother-level-one/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Fanother-level-one/source-map/lexical/element_2" @@ -367,6 +362,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Fanother-level-one/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Fanother-level-one/source-map/parent-end-point/element_0" + } ] }, { @@ -521,11 +521,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero", "http://a.ml/vocabularies/document-source-maps#value": "[(22,0)-(29,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Flevel-one/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Flevel-one", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Flevel-one/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -547,8 +542,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(24,2)-(27,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Fanother-level-one/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Fanother-level-one", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Flevel-one/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Flevel-one", "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero" }, { @@ -566,6 +561,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Fanother-level-one", "http://a.ml/vocabularies/document-source-maps#value": "[(27,2)-(29,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Fanother-level-one/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero%2Fanother-level-one", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Flevel-zero" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/endpoints/api.raml#/web-api/endpoint/%2Fanother-level-zero/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml.expanded.jsonld index bf45c93b66..d138fef6ef 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml.expanded.jsonld @@ -386,9 +386,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel" @@ -396,35 +396,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(9,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#in" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(9,0)]" + "@value": "[(7,6)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel" + "@value": "http://www.w3.org/ns/shacl#in" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(8,8)-(9,0)]" } ] } @@ -550,6 +550,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin" + } + ], + "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/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/source-map/lexical/element_2", @@ -590,21 +605,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -659,9 +659,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin" @@ -669,14 +669,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(10,4)-(11,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin" @@ -684,7 +684,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,4)-(11,0)]" + "@value": "" } ] } @@ -729,6 +729,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin" + } + ], + "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/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/source-map/lexical/element_2", @@ -769,21 +784,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml.flattened.jsonld index ff2d95f375..55adc66b4e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml.flattened.jsonld @@ -154,6 +154,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/source-map/lexical/element_2" @@ -164,11 +169,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/source-map/declared-element/element_0" - } ] }, { @@ -208,6 +208,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/source-map/lexical/element_2" @@ -218,11 +223,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/source-map/declared-element/element_0" - } ] }, { @@ -281,6 +281,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin", "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -296,24 +301,19 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(9,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin/source-map/auto-generated-name/element_0" } ] }, @@ -327,6 +327,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin", "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(10,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -342,11 +347,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(11,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/list", "@type": "http://www.w3.org/2000/01/rdf-schema#Seq", @@ -370,6 +370,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/source-map/default-node/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/source-map/lexical/element_1" @@ -377,11 +382,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/source-map/default-node/element_0" - } ] }, { @@ -405,14 +405,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(7,21)-(9,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(11,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/AlertableAdmin/inherits/shape/Admin", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(11,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/in/scalar_1", @@ -479,6 +479,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel", @@ -489,11 +494,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#in", "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(9,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enum-inheritance/api.raml#/declares/shape/Admin/property/property/clearanceLevel/scalar/clearanceLevel/in/scalar_1/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml.expanded.jsonld index abba582929..9e7ce5e247 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml.expanded.jsonld @@ -266,21 +266,6 @@ "@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/cycle/raml10/enums/api.raml#/declares/scalar/scalarString/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString" - } - ], - "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/cycle/raml10/enums/api.raml#/declares/scalar/scalarString/source-map/lexical/element_3", @@ -335,6 +320,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString/source-map/type-property-lexical-info/element_0", @@ -536,21 +536,6 @@ "@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/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber" - } - ], - "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/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber/source-map/lexical/element_3", @@ -605,6 +590,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber/source-map/type-property-lexical-info/element_0", @@ -1425,6 +1425,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType" + } + ], + "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/cycle/raml10/enums/api.raml#/declares/shape/objectType/source-map/lexical/element_3", @@ -1478,21 +1493,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1959,21 +1959,6 @@ "@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/cycle/raml10/enums/api.raml#/declares/array/arrayType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/array/arrayType" - } - ], - "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/cycle/raml10/enums/api.raml#/declares/array/arrayType/source-map/lexical/element_3", @@ -2027,6 +2012,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/array/arrayType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/array/arrayType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml.flattened.jsonld index 9e446fbcaa..55e2afd9a3 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml.flattened.jsonld @@ -190,11 +190,6 @@ "@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/cycle/raml10/enums/api.raml#/declares/scalar/scalarString/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString/source-map/lexical/element_3" @@ -209,6 +204,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString/source-map/type-property-lexical-info/element_0" @@ -230,11 +230,6 @@ "@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/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber/source-map/lexical/element_3" @@ -249,6 +244,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber/source-map/type-property-lexical-info/element_0" @@ -323,6 +323,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType/source-map/lexical/element_3" @@ -336,11 +341,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType/source-map/declared-element/element_0" - } ] }, { @@ -379,11 +379,6 @@ "@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/cycle/raml10/enums/api.raml#/declares/array/arrayType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/array/arrayType/source-map/lexical/element_3" @@ -397,6 +392,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/array/arrayType/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/array/arrayType/source-map/declared-element/element_0" + } ] }, { @@ -439,11 +439,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -464,6 +459,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(7,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString", @@ -509,11 +509,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -534,6 +529,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(10,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarNumber", @@ -670,6 +670,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -690,11 +695,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType", "http://a.ml/vocabularies/document-source-maps#value": "[(10,2)-(19,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/shape/objectType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/array/arrayType/scalar/items/source-map", "@type": [ @@ -755,11 +755,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/array/arrayType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/array/arrayType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/array/arrayType/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -780,6 +775,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/array/arrayType", "http://a.ml/vocabularies/document-source-maps#value": "[(19,2)-(23,17)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/array/arrayType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/array/arrayType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/enums/api.raml#/declares/scalar/scalarString/in/scalar_1/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml.expanded.jsonld index aef6929839..f338f32848 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml.expanded.jsonld @@ -137,9 +137,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name" @@ -147,35 +147,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(7,12)]" + "@value": "[(6,6)-(8,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(8,0)]" + "@value": "[(7,8)-(8,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(8,0)]" + "@value": "[(7,8)-(7,12)]" } ] } @@ -298,9 +298,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description" @@ -308,35 +308,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(9,12)]" + "@value": "[(8,6)-(10,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,6)-(10,0)]" + "@value": "[(9,8)-(10,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(10,0)]" + "@value": "[(9,8)-(9,12)]" } ] } @@ -748,6 +748,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person" + } + ], + "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/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/source-map/lexical/element_3", @@ -801,21 +816,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml.flattened.jsonld index bf7620bfa7..10c6d9cb71 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml.flattened.jsonld @@ -173,6 +173,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/source-map/lexical/element_3" @@ -186,11 +191,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -323,6 +323,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -343,21 +348,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(12,36)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1" @@ -365,6 +360,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -392,11 +392,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description/source-map/lexical/element_1" @@ -404,6 +399,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -503,11 +503,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/examples/example/default-example", "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(12,36)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name", @@ -519,9 +514,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(8,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description/source-map/lexical/element_1", @@ -533,6 +528,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(10,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/property/property/description/scalar/description", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/example-key-map-without-value/api.raml#/declares/shape/Person/examples/example/default-example/object_1/name_1/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml.expanded.jsonld index e88761bb7c..07508b28f2 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml.expanded.jsonld @@ -460,6 +460,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(30,8)-(30,12)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", @@ -500,21 +515,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(30,8)-(30,12)]" - } - ] - } ] } ] @@ -770,21 +770,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(26,8)-(26,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3", @@ -838,6 +823,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(26,8)-(26,12)]" + } + ] + } ] } ] @@ -1751,6 +1751,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(56,12)-(56,16)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", @@ -1791,21 +1806,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(56,12)-(56,16)]" - } - ] - } ] } ] @@ -3246,9 +3246,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name" @@ -3256,35 +3256,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(7,12)]" + "@value": "[(6,6)-(8,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(8,0)]" + "@value": "[(7,8)-(8,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(8,0)]" + "@value": "[(7,8)-(7,12)]" } ] } @@ -3407,9 +3407,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname" @@ -3417,35 +3417,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(9,12)]" + "@value": "[(8,6)-(10,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,6)-(10,0)]" + "@value": "[(9,8)-(10,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(10,0)]" + "@value": "[(9,8)-(9,12)]" } ] } @@ -3857,6 +3857,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User" + } + ], + "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/cycle/raml10/examples/api.raml#/declares/shape/User/source-map/lexical/element_3", @@ -3910,21 +3925,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -3983,9 +3983,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name" @@ -3993,35 +3993,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,8)-(16,12)]" + "@value": "[(15,6)-(17,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,6)-(17,0)]" + "@value": "[(16,8)-(17,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,8)-(17,0)]" + "@value": "[(16,8)-(16,12)]" } ] } @@ -4144,9 +4144,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F" @@ -4154,35 +4154,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,8)-(18,12)]" + "@value": "[(17,6)-(19,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,6)-(19,0)]" + "@value": "[(18,8)-(19,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,8)-(19,0)]" + "@value": "[(18,8)-(18,12)]" } ] } @@ -4305,9 +4305,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F" @@ -4315,35 +4315,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,8)-(20,12)]" + "@value": "[(19,6)-(21,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,6)-(21,0)]" + "@value": "[(20,8)-(21,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,8)-(21,0)]" + "@value": "[(20,8)-(20,12)]" } ] } @@ -4454,6 +4454,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org" + } + ], + "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/cycle/raml10/examples/api.raml#/declares/shape/Org/source-map/lexical/element_2", @@ -4494,21 +4509,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml.flattened.jsonld index abb93eb7e6..f7bc394d2d 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml.flattened.jsonld @@ -675,6 +675,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2" @@ -685,11 +690,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -719,11 +719,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3" @@ -737,6 +732,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -805,6 +805,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_2" @@ -815,11 +820,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -1201,6 +1201,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/source-map/lexical/element_2" @@ -1211,11 +1216,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/source-map/declared-element/element_0" - } ] }, { @@ -1270,6 +1270,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,8)-(30,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", @@ -1285,11 +1290,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(29,6)-(37,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,8)-(30,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/examples/example/default-example/scalar_1", "@type": [ @@ -1334,11 +1334,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(26,8)-(26,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -1359,6 +1354,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(24,6)-(28,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(26,8)-(26,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/examples/example/acme/object_1", "@type": [ @@ -1455,6 +1455,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(56,12)-(56,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", @@ -1470,11 +1475,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(55,10)-(66,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(56,12)-(56,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/examples/example/application%2Fjson/object_1/name_2/source-map", "@type": [ @@ -1869,6 +1869,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -1884,11 +1889,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org", "http://a.ml/vocabularies/document-source-maps#value": "[(13,2)-(21,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/examples/example/default-example/object_1/name_4", "@type": [ @@ -2339,11 +2339,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1" @@ -2351,6 +2346,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2378,11 +2378,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F/source-map/lexical/element_1" @@ -2390,6 +2385,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2417,11 +2417,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F/source-map/lexical/element_1" @@ -2429,6 +2424,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2640,11 +2640,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/examples/example/softwareCorp/object_1", "http://a.ml/vocabularies/document-source-maps#value": "[(63,0)-(66,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,8)-(16,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name", @@ -2656,9 +2651,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(16,8)-(17,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,8)-(18,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,8)-(16,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F/source-map/lexical/element_1", @@ -2671,9 +2666,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(18,8)-(19,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(20,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/address/scalar/address%3F", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,8)-(18,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F/source-map/lexical/element_1", @@ -2685,6 +2680,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(21,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/Org/property/property/value/scalar/value%3F", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(20,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/examples/example/default-example/object_1/name_4/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -2904,6 +2904,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/source-map/lexical/element_3" @@ -2917,11 +2922,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/source-map/declared-element/element_0" - } ] }, { @@ -3054,6 +3054,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -3074,21 +3079,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(13,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_1" @@ -3096,6 +3091,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3123,11 +3123,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/lexical/element_1" @@ -3135,6 +3130,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3234,11 +3234,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/examples/example/default-example", "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(13,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name", @@ -3250,9 +3245,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(8,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/lexical/element_1", @@ -3264,6 +3259,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(10,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/property/property/lastname/scalar/lastname", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/examples/api.raml#/declares/shape/User/examples/example/default-example/object_1/name_1/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml.expanded.jsonld index ea25c55de0..667d7e810e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml.expanded.jsonld @@ -158,9 +158,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name" @@ -168,35 +168,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,12)-(13,16)]" + "@value": "[(12,10)-(14,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,10)-(14,0)]" + "@value": "[(13,12)-(14,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,12)-(14,0)]" + "@value": "[(13,12)-(13,16)]" } ] } @@ -504,9 +504,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName" @@ -514,35 +514,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,12)-(18,16)]" + "@value": "[(17,10)-(19,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,10)-(19,0)]" + "@value": "[(18,12)-(19,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,12)-(19,0)]" + "@value": "[(18,12)-(18,16)]" } ] } @@ -653,9 +653,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema" @@ -663,35 +663,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,6)-(19,0)]" + "@value": "[(15,8)-(15,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,19)-(19,0)]" + "@value": "[(14,6)-(19,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,8)-(15,12)]" + "@value": "[(16,19)-(19,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml.flattened.jsonld index 8097a3bde0..4e25abff03 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml.flattened.jsonld @@ -434,6 +434,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/source-map/lexical/element_1" @@ -441,11 +446,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -579,6 +579,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(15,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema", @@ -589,21 +594,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(16,19)-(19,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(15,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/lexical/element_1" @@ -611,6 +606,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -638,11 +638,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_1" @@ -650,6 +645,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -672,11 +672,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(17,19)-(19,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,12)-(13,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name", @@ -688,9 +683,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(13,12)-(14,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,12)-(18,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,12)-(13,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_1", @@ -702,6 +697,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(18,12)-(19,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml#/web-api/endpoint/%2Flevelzero/supportedOperation/get/expects/request/parameter/parameter/query/param2/shape/schema/property/property/lastName/scalar/lastName", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,12)-(18,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/explicit-&-implicit-type-object/api.raml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml.expanded.jsonld index c6bf624c04..7068f23686 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml.expanded.jsonld @@ -149,9 +149,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#extends-reference": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/source-map/extends-reference/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/document#extends" @@ -159,35 +159,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "../banking-api/api.raml" + "@value": "[(3,0)-(4,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/document#extends" + "@value": "http://a.ml/vocabularies/document#usage" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,0)-(4,0)]" + "@value": "[(2,0)-(3,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#extends-reference": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/source-map/extends-reference/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/document#usage" + "@value": "http://a.ml/vocabularies/document#extends" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,0)-(3,0)]" + "@value": "../banking-api/api.raml" } ] } @@ -414,9 +414,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -424,14 +424,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(16,12)-(17,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -439,7 +439,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,12)-(17,0)]" + "@value": "" } ] } @@ -776,21 +776,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2", @@ -831,6 +816,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers" + } + ] + } ] } ] @@ -916,9 +916,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -926,14 +926,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(25,14)-(26,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -941,7 +941,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,14)-(26,0)]" + "@value": "" } ] } @@ -1186,38 +1186,40 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#required" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(11,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "http://a.ml/vocabularies/apiContract#required" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(11,0)]" + "@value": "[(10,8)-(11,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1225,11 +1227,9 @@ "@value": "[(9,6)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" @@ -1237,7 +1237,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,6)-(11,0)]" } ] } @@ -1252,9 +1252,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" @@ -1262,35 +1262,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + "@value": "[(19,4)-(26,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,4)-(26,0)]" + "@value": "[(19,4)-(19,13)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,4)-(19,13)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" } ] } @@ -1431,38 +1431,40 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#required" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(11,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "http://a.ml/vocabularies/apiContract#required" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(11,0)]" + "@value": "[(10,8)-(11,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1470,11 +1472,9 @@ "@value": "[(9,6)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" @@ -1482,7 +1482,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,6)-(11,0)]" } ] } @@ -1497,9 +1497,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" @@ -1507,35 +1507,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + "@value": "[(26,4)-(37,36)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,4)-(37,36)]" + "@value": "[(26,4)-(26,10)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,4)-(26,10)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" } ] } @@ -1624,9 +1624,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -1634,14 +1634,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(33,16)-(34,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -1649,7 +1649,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,16)-(34,0)]" + "@value": "" } ] } @@ -1836,9 +1836,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema" @@ -1846,35 +1846,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(37,12)-(37,36)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,12)-(37,36)]" + "@value": "[(37,30)-(37,36)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,30)-(37,36)]" + "@value": "" } ] } @@ -2108,38 +2108,40 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#required" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(11,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "http://a.ml/vocabularies/apiContract#required" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(11,0)]" + "@value": "[(10,8)-(11,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -2147,11 +2149,9 @@ "@value": "[(9,6)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" @@ -2159,7 +2159,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,6)-(11,0)]" } ] } @@ -2174,9 +2174,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" @@ -2184,35 +2184,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + "@value": "[(27,6)-(37,36)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,6)-(37,36)]" + "@value": "[(27,6)-(27,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,6)-(27,12)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml.flattened.jsonld index 51ddd979be..556f5fdabb 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml.flattened.jsonld @@ -143,11 +143,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#extends-reference": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/source-map/extends-reference/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/source-map/lexical/element_1" @@ -155,6 +150,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#extends-reference": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/source-map/extends-reference/element_0" + } ] }, { @@ -209,11 +209,6 @@ "http://a.ml/vocabularies/apiContract#modelVersion": "3.9.0", "http://a.ml/vocabularies/document#sourceSpec": "RAML 1.0" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/source-map/extends-reference/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#extends", - "http://a.ml/vocabularies/document-source-maps#value": "../banking-api/api.raml" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#extends", @@ -224,6 +219,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#usage", "http://a.ml/vocabularies/document-source-maps#value": "[(2,0)-(3,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/source-map/extends-reference/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#extends", + "http://a.ml/vocabularies/document-source-maps#value": "../banking-api/api.raml" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/server/falsedomain.com%2Fapis", "@type": [ @@ -467,11 +467,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2" @@ -482,6 +477,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -529,11 +529,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1" @@ -541,6 +536,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0" + } ] }, { @@ -568,11 +568,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1" @@ -580,6 +575,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0" + } ] }, { @@ -647,11 +647,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1" @@ -659,6 +654,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0" + } ] }, { @@ -816,11 +816,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -836,6 +831,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(37,36)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200", "@type": [ @@ -908,6 +908,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2" @@ -918,18 +923,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", @@ -940,6 +935,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(19,4)-(19,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/scalar/schema", "@type": [ @@ -974,6 +974,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2" @@ -984,18 +989,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", @@ -1006,6 +1001,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(26,4)-(26,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200", "@type": [ @@ -1111,6 +1111,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2" @@ -1121,18 +1126,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", @@ -1143,6 +1138,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(27,6)-(27,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "@type": [ @@ -1307,6 +1307,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", @@ -1322,11 +1327,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(11,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/scalar/schema/source-map", "@type": [ @@ -1353,6 +1353,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", @@ -1368,11 +1373,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(11,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "@type": [ @@ -1488,6 +1488,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", @@ -1503,11 +1508,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(11,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "@type": [ @@ -1703,14 +1703,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -1724,14 +1724,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -1745,14 +1745,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -1766,11 +1766,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1" @@ -1778,6 +1773,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" + } ] }, { @@ -1785,19 +1785,14 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson", "http://a.ml/vocabularies/document-source-maps#value": "[(37,12)-(37,36)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(16,12)-(17,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -1806,8 +1801,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(25,14)-(26,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -1816,8 +1811,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(33,16)-(34,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -1829,6 +1824,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(37,30)-(37,36)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/extensions/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml.expanded.jsonld index 9c09e2feff..f2d0ceef47 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml.expanded.jsonld @@ -142,9 +142,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema" @@ -152,14 +152,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,16)-(8,127)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema" @@ -167,7 +167,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(8,16)-(8,127)]" } ] } @@ -267,9 +267,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a" @@ -277,35 +277,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,66)-(10,72)]" + "@value": "[(10,60)-(10,83)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,60)-(10,83)]" + "@value": "[(10,66)-(10,82)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,66)-(10,82)]" + "@value": "[(10,66)-(10,72)]" } ] } @@ -405,9 +405,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson" @@ -415,35 +415,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(10,87)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,44)-(10,85)]" + "@value": "[(9,6)-(10,87)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(10,44)-(10,85)]" } ] } @@ -704,9 +704,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema" @@ -714,14 +714,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,15)-(16,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema" @@ -729,7 +729,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(14,15)-(16,0)]" } ] } @@ -844,9 +844,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a" @@ -854,35 +854,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,56)-(18,62)]" + "@value": "[(18,50)-(18,73)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,50)-(18,73)]" + "@value": "[(18,56)-(18,72)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,56)-(18,72)]" + "@value": "[(18,56)-(18,62)]" } ] } @@ -967,9 +967,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema" @@ -977,35 +977,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,6)-(18,77)]" + "@value": "[(18,16)-(18,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,34)-(18,75)]" + "@value": "[(16,6)-(18,77)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,16)-(18,22)]" + "@value": "[(18,34)-(18,75)]" } ] } @@ -1035,9 +1035,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson" @@ -1045,35 +1045,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(16,23)-(17,91)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,23)-(17,91)]" + "@value": "[(17,8)-(17,91)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(17,91)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml.flattened.jsonld index 59916a7047..7c89b9eac6 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml.flattened.jsonld @@ -551,14 +551,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0" } ] }, @@ -606,6 +606,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_1" @@ -614,11 +619,6 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/parsed-json-schema/element_0" @@ -643,14 +643,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0" } ] }, @@ -686,11 +686,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_1" @@ -698,6 +693,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0" + } ] }, { @@ -716,14 +716,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,16)-(8,127)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(8,16)-(8,127)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a", @@ -772,6 +772,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson", "http://a.ml/vocabularies/document-source-maps#value": "[(10,26)-(10,32)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson", @@ -782,11 +787,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(10,44)-(10,85)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/parsed-json-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson", @@ -803,14 +803,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,15)-(16,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(14,15)-(16,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a", @@ -846,6 +846,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/lexical/element_1" @@ -854,22 +859,12 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/parsed-json-schema/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson", @@ -880,16 +875,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(17,91)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a/source-map/lexical/element_1" @@ -897,6 +892,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -951,6 +951,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,16)-(18,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema", @@ -961,21 +966,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(18,34)-(18,75)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,16)-(18,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/source-map/parsed-json-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "{ \"type\": \"object\", \"properties\": { \"a\": {\"type\": \"string\"} } }" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,66)-(10,72)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a", @@ -986,16 +981,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(10,66)-(10,82)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/property/property/a/scalar/a", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,66)-(10,72)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1" @@ -1003,6 +998,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1015,11 +1015,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a", "http://a.ml/vocabularies/document-source-maps#value": "[(18,50)-(18,73)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,56)-(18,62)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a", @@ -1030,6 +1025,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(18,56)-(18,72)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/application%2Fjson/inherits/shape/schema/property/property/a/scalar/a", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,56)-(18,62)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/externals/api.raml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml.expanded.jsonld index 9e791178e4..ce5b3908bf 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml.expanded.jsonld @@ -156,9 +156,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema" @@ -166,14 +166,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(18,31)-(20,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema" @@ -181,7 +181,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,31)-(20,0)]" + "@value": "" } ] } @@ -353,9 +353,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile" @@ -363,14 +363,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(24,12)-(24,29)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile" @@ -378,7 +378,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,12)-(24,29)]" + "@value": "" } ] } @@ -408,9 +408,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema" @@ -418,35 +418,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,10)-(24,29)]" + "@value": "[(24,12)-(24,16)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,12)-(24,29)]" + "@value": "[(23,10)-(24,29)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,12)-(24,16)]" + "@value": "[(24,12)-(24,29)]" } ] } @@ -1039,6 +1039,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile" + } + ], + "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/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile/source-map/lexical/element_2", @@ -1079,21 +1094,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml.flattened.jsonld index ddea18e4e6..3b0b6d2046 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml.flattened.jsonld @@ -412,14 +412,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema/source-map/auto-generated-name/element_0" } ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ @@ -465,6 +465,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -472,11 +477,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -485,14 +485,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(23,10)-(24,29)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(18,31)-(20,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,31)-(20,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/expects/request/payload/application%2Foctet-stream/file-shape/schema/source-map/type-property-lexical-info/element_0", @@ -504,14 +504,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile/source-map/auto-generated-name/element_0" } ] }, @@ -520,6 +520,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(24,12)-(24,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema", @@ -531,20 +536,15 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(24,12)-(24,29)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,12)-(24,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile", + "http://a.ml/vocabularies/document-source-maps#value": "[(24,12)-(24,29)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile", "http://a.ml/vocabularies/document-source-maps#value": "" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/web-api/endpoint/%2Ffile/supportedOperation/post/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/wrappedFile", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,12)-(24,29)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml", "http://a.ml/vocabularies/document#declares": [ @@ -654,6 +654,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile/source-map/lexical/element_2" @@ -664,11 +669,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile/source-map/declared-element/element_0" - } ] }, { @@ -762,6 +762,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile", "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(9,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -777,11 +782,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile", "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_type_expression/api.raml#/declares/shape/wrappedFile/property/property/fileprop/file-shape/fileprop/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml.expanded.jsonld index 4483bb2680..6498814412 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml.expanded.jsonld @@ -118,21 +118,6 @@ "@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/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme" - } - ], - "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/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme/source-map/lexical/element_4", @@ -200,6 +185,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme/source-map/type-property-lexical-info/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml.flattened.jsonld index bcb6e646b3..f252f7757b 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml.flattened.jsonld @@ -94,11 +94,6 @@ "@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/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme/source-map/lexical/element_4" @@ -116,17 +111,17 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme/source-map/lexical/element_3" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme/source-map/type-property-lexical-info/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#maxLength", @@ -152,6 +147,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#fileType", "http://a.ml/vocabularies/document-source-maps#value": "[(6,8)-(8,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/file_types/api.raml#/declares/file-shape/Readme", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml.expanded.jsonld index f506617975..e438c8356d 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml.expanded.jsonld @@ -225,21 +225,6 @@ "@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/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker" - } - ], - "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/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker/source-map/lexical/element_3", @@ -294,6 +279,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker/source-map/type-property-lexical-info/element_0", @@ -372,6 +372,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person" + } + ], + "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/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person/source-map/lexical/element_2", @@ -412,21 +427,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -491,6 +491,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member" + } + ], + "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/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member/source-map/lexical/element_2", @@ -531,21 +546,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml.flattened.jsonld index 18c14682e8..a2492d7d6c 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml.flattened.jsonld @@ -181,11 +181,6 @@ "@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/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker/source-map/lexical/element_3" @@ -200,6 +195,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker/source-map/type-property-lexical-info/element_0" @@ -221,6 +221,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person/source-map/lexical/element_2" @@ -231,11 +236,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -253,6 +253,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member/source-map/lexical/element_2" @@ -263,11 +268,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member/source-map/declared-element/element_0" - } ] }, { @@ -302,11 +302,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -327,6 +322,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(9,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker", @@ -342,6 +342,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person", "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(10,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -357,11 +362,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(12,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", @@ -372,6 +372,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member", "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(13,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -387,11 +392,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member", "http://a.ml/vocabularies/document-source-maps#value": "[(12,2)-(15,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/shape/Member", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-inherits-reference/api.raml#/declares/any/Speaker/inherits/shape/default-node/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml.expanded.jsonld index 6bc4816711..6d4f70aae6 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml.expanded.jsonld @@ -127,9 +127,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body" @@ -137,14 +137,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,8)-(30,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body" @@ -152,7 +152,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(29,8)-(30,0)]" } ] } @@ -422,9 +422,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body" @@ -432,14 +432,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(34,8)-(34,21)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body" @@ -447,7 +447,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(34,8)-(34,21)]" } ] } @@ -855,9 +855,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure" @@ -865,14 +865,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(22,4)-(23,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure" @@ -880,7 +880,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,4)-(23,0)]" + "@value": "" } ] } @@ -925,6 +925,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square" + } + ], + "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/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/source-map/lexical/element_3", @@ -978,21 +993,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1195,9 +1195,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure" @@ -1205,14 +1205,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(18,4)-(19,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure" @@ -1220,7 +1220,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,4)-(19,0)]" + "@value": "" } ] } @@ -1265,6 +1265,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle" + } + ], + "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/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/source-map/lexical/element_3", @@ -1318,21 +1333,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1671,6 +1671,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address" + } + ], + "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/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address/source-map/lexical/element_2", @@ -1711,21 +1726,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -2078,9 +2078,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context" @@ -2088,14 +2088,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "(Circle | Square)[]" + "@value": "[(16,6)-(17,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context" @@ -2103,7 +2103,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,6)-(17,0)]" + "@value": "(Circle | Square)[]" } ] } @@ -2214,6 +2214,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure" + } + ], + "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/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/source-map/lexical/element_2", @@ -2254,21 +2269,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -2913,6 +2913,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person" + } + ], + "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/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person/source-map/lexical/element_2", @@ -2953,21 +2968,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml.flattened.jsonld index 60a0001d0c..0267de1d8e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml.flattened.jsonld @@ -423,14 +423,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0" } ] }, @@ -457,14 +457,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0" } ] }, @@ -489,14 +489,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body", - "http://a.ml/vocabularies/document-source-maps#value": "[(29,8)-(30,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Fperson-response/supportedOperation/get/returns/resp/200/payload/default/shape/body", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(29,8)-(30,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/synthesized-field/element_1", @@ -509,14 +509,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body", - "http://a.ml/vocabularies/document-source-maps#value": "[(34,8)-(34,21)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/web-api/endpoint/%2Faddress-response/supportedOperation/get/returns/resp/200/payload/default/shape/body", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(34,8)-(34,21)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml", @@ -747,6 +747,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/source-map/lexical/element_3" @@ -760,11 +765,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/source-map/declared-element/element_0" - } ] }, { @@ -828,6 +828,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/source-map/lexical/element_3" @@ -841,11 +846,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/source-map/declared-element/element_0" - } ] }, { @@ -906,6 +906,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address/source-map/lexical/element_2" @@ -916,11 +921,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address/source-map/declared-element/element_0" - } ] }, { @@ -981,6 +981,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/source-map/lexical/element_2" @@ -991,11 +996,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/source-map/declared-element/element_0" - } ] }, { @@ -1104,6 +1104,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person/source-map/lexical/element_2" @@ -1114,11 +1119,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -1169,14 +1169,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure/source-map/auto-generated-name/element_0" } ] }, @@ -1190,6 +1190,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square", "http://a.ml/vocabularies/document-source-maps#value": "[(22,4)-(22,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -1210,11 +1215,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square", "http://a.ml/vocabularies/document-source-maps#value": "[(21,2)-(25,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/property/property/radius/scalar/radius", "@type": [ @@ -1263,14 +1263,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure/source-map/auto-generated-name/element_0" } ] }, @@ -1284,6 +1284,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle", "http://a.ml/vocabularies/document-source-maps#value": "[(18,4)-(18,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -1304,11 +1309,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle", "http://a.ml/vocabularies/document-source-maps#value": "[(17,2)-(21,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address/property/property/street/scalar/street", "@type": [ @@ -1400,6 +1400,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -1415,11 +1420,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(13,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/area/scalar/area", "@type": [ @@ -1509,6 +1509,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -1524,11 +1529,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure", "http://a.ml/vocabularies/document-source-maps#value": "[(13,2)-(17,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person/property/property/name/scalar/name", "@type": [ @@ -1708,6 +1708,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -1723,11 +1728,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person", "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(9,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/property/property/side/scalar/side/source-map", "@type": [ @@ -1763,14 +1763,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(24,12)-(24,19)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(22,4)-(23,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Square/inherits/shape/Figure", - "http://a.ml/vocabularies/document-source-maps#value": "[(22,4)-(23,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/property/property/radius/scalar/radius/source-map", @@ -1807,14 +1807,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(20,14)-(20,21)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(18,4)-(19,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Circle/inherits/shape/Figure", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,4)-(19,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Address/property/property/street/scalar/street/source-map", @@ -1946,14 +1946,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context/source-map/type-expression/element_0" } ] }, @@ -2221,14 +2221,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context", - "http://a.ml/vocabularies/document-source-maps#value": "(Circle | Square)[]" + "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(17,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Figure/property/property/context/array/context", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(17,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "(Circle | Square)[]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-references-types/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml.expanded.jsonld index 11a7e4964a..e63d79f33a 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml.expanded.jsonld @@ -418,21 +418,6 @@ "@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/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType" - } - ], - "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/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType/source-map/lexical/element_2", @@ -474,6 +459,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType/source-map/type-property-lexical-info/element_0", @@ -695,6 +695,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType" + } + ], + "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/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType/source-map/lexical/element_2", @@ -735,21 +750,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml.flattened.jsonld index 807a58fd25..0f6f9110fd 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml.flattened.jsonld @@ -162,11 +162,6 @@ "@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/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType/source-map/lexical/element_2" @@ -178,6 +173,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType/source-map/type-property-lexical-info/element_0" @@ -223,6 +223,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType/source-map/lexical/element_2" @@ -233,11 +238,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType/source-map/declared-element/element_0" - } ] }, { @@ -287,11 +287,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -307,6 +302,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(9,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType", @@ -365,6 +365,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType", "http://a.ml/vocabularies/document-source-maps#value": "[(12,4)-(12,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -380,11 +385,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(13,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/shape/ParentType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/forward-shape-custom-properties/api.raml#/declares/any/ChildType/inherits/shape/default-node/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml.expanded.jsonld index 42248519ea..9f95c57668 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml.expanded.jsonld @@ -66,21 +66,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(5,4)-(5,8)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name/source-map/lexical/element_2", @@ -121,6 +106,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(5,4)-(5,8)]" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml.flattened.jsonld index 5a54bdd4a1..38890411b8 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml.flattened.jsonld @@ -206,11 +206,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name/source-map/lexical/element_2" @@ -221,6 +216,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -329,11 +329,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/examples/example/default-example", "http://a.ml/vocabularies/document-source-maps#value": "[(7,0)-(21,16)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -349,6 +344,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(7,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/fragment_usage/api.raml#/shape/type/examples/example/default-example/object_1/name_1/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml.expanded.jsonld index 032ef75151..408cc6a477 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml.expanded.jsonld @@ -117,9 +117,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema" @@ -127,35 +127,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,2)-(30,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,4)-(29,0)]" + "@value": "[(27,2)-(30,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(28,4)-(29,0)]" } ] } @@ -320,9 +320,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema" @@ -330,35 +330,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,2)-(32,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(31,4)-(32,0)]" + "@value": "[(30,2)-(32,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(31,4)-(32,0)]" } ] } @@ -1045,9 +1045,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema" @@ -1055,35 +1055,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(45,6)-(47,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(46,8)-(47,0)]" + "@value": "[(45,6)-(47,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(46,8)-(47,0)]" } ] } @@ -1210,9 +1210,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema" @@ -1220,35 +1220,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(48,8)-(48,12)]" + "@value": "[(47,6)-(49,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(47,6)-(49,0)]" + "@value": "[(48,8)-(49,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(48,8)-(49,0)]" + "@value": "[(48,8)-(48,12)]" } ] } @@ -1362,9 +1362,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema" @@ -1372,35 +1372,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(54,6)-(55,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(54,6)-(55,0)]" + "@value": "[(54,24)-(54,30)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(54,24)-(54,30)]" + "@value": "" } ] } @@ -1471,9 +1471,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema" @@ -1481,35 +1481,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(55,6)-(56,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,6)-(56,0)]" + "@value": "[(55,23)-(55,29)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,23)-(55,29)]" + "@value": "" } ] } @@ -1580,9 +1580,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema" @@ -1590,35 +1590,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(56,6)-(59,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(56,6)-(59,0)]" + "@value": "[(57,8)-(58,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(57,8)-(58,0)]" + "@value": "" } ] } @@ -1721,9 +1721,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema" @@ -1731,35 +1731,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,8)-(51,12)]" + "@value": "[(50,6)-(53,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(50,6)-(53,0)]" + "@value": "[(51,8)-(52,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,8)-(52,0)]" + "@value": "[(51,8)-(51,12)]" } ] } @@ -1963,9 +1963,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema" @@ -1973,35 +1973,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(67,12)-(68,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(67,12)-(68,0)]" + "@value": "[(67,30)-(67,36)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(67,30)-(67,36)]" + "@value": "" } ] } @@ -2066,9 +2066,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fx-www-form-urlencoded%3B%20charset%3DUTF-8/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fx-www-form-urlencoded%3B%20charset%3DUTF-8/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fx-www-form-urlencoded%3B%20charset%3DUTF-8/any/schema" @@ -2076,14 +2076,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(68,12)-(69,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fx-www-form-urlencoded%3B%20charset%3DUTF-8/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fx-www-form-urlencoded%3B%20charset%3DUTF-8/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fx-www-form-urlencoded%3B%20charset%3DUTF-8/any/schema" @@ -2091,7 +2091,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(68,12)-(69,0)]" + "@value": "" } ] } @@ -2179,9 +2179,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema" @@ -2189,35 +2189,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,12)-(64,16)]" + "@value": "[(63,10)-(66,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,10)-(66,0)]" + "@value": "[(64,12)-(65,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,12)-(65,0)]" + "@value": "[(64,12)-(64,16)]" } ] } @@ -2698,9 +2698,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema" @@ -2708,35 +2708,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,4)-(42,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(41,6)-(42,0)]" + "@value": "[(40,4)-(42,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(41,6)-(42,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml.flattened.jsonld index 0b65cca5a2..a1ac2bf745 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml.flattened.jsonld @@ -975,6 +975,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema/source-map/default-node/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema/source-map/lexical/element_1" @@ -982,11 +987,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema/source-map/default-node/element_0" - } ] }, { @@ -1024,6 +1024,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/default-node/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/lexical/element_1" @@ -1031,11 +1036,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/default-node/element_0" - } ] }, { @@ -1346,6 +1346,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/default-node/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/lexical/element_1" @@ -1353,11 +1358,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/default-node/element_0" - } ] }, { @@ -1385,6 +1385,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema", @@ -1395,16 +1400,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(28,4)-(29,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter1/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema", @@ -1415,11 +1420,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(31,4)-(32,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/server/api.example.com%2Fpath/variable/parameter/path/uriParameter2/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema", "@type": [ @@ -1812,6 +1812,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema", @@ -1822,11 +1827,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(41,6)-(42,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map", "@type": [ @@ -1837,6 +1837,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/default-node/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/lexical/element_1" @@ -1844,11 +1849,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/default-node/element_0" - } ] }, { @@ -1876,11 +1876,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_1" @@ -1888,6 +1883,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1915,11 +1915,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1" @@ -1927,6 +1922,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" + } ] }, { @@ -1939,11 +1939,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema/source-map/lexical/element_1" @@ -1951,6 +1946,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema/source-map/auto-generated-name/element_0" + } ] }, { @@ -1963,11 +1963,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/lexical/element_1" @@ -1976,6 +1971,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/type-property-lexical-info/element_0" @@ -1992,11 +1992,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/lexical/element_1" @@ -2004,6 +1999,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2031,11 +2031,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema/source-map/lexical/element_1" @@ -2043,6 +2038,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema/source-map/auto-generated-name/element_0" + } ] }, { @@ -2055,14 +2055,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fx-www-form-urlencoded%3B%20charset%3DUTF-8/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fx-www-form-urlencoded%3B%20charset%3DUTF-8/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fx-www-form-urlencoded%3B%20charset%3DUTF-8/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fx-www-form-urlencoded%3B%20charset%3DUTF-8/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -2076,11 +2076,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1" @@ -2088,6 +2083,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2115,6 +2115,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema", @@ -2125,16 +2130,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(46,8)-(47,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param1/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(48,8)-(48,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema", @@ -2146,9 +2141,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(48,8)-(49,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(48,8)-(48,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", @@ -2161,8 +2156,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(54,24)-(54,30)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -2176,8 +2171,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(55,23)-(55,29)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fxml/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -2191,14 +2186,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(57,8)-(58,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(57,8)-(57,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(51,8)-(51,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/payload/application%2Fpdf/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(57,8)-(57,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/lexical/element_1", @@ -2211,9 +2206,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(51,8)-(52,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/expects/request/header/parameter/header/testHeader/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(51,8)-(51,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema/source-map/lexical/element_1", @@ -2226,8 +2221,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(67,30)-(67,36)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fx-www-form-urlencoded%3B%20charset%3DUTF-8/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fx-www-form-urlencoded%3B%20charset%3DUTF-8/any/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -2236,9 +2231,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(68,12)-(69,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(64,12)-(64,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fx-www-form-urlencoded%3B%20charset%3DUTF-8/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/payload/application%2Fx-www-form-urlencoded%3B%20charset%3DUTF-8/any/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", @@ -2250,6 +2245,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(64,12)-(65,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(64,12)-(64,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/full-example/api.raml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml.expanded.jsonld index de33e5faf6..085cf1458c 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml.expanded.jsonld @@ -103,9 +103,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo" @@ -113,35 +113,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,2)-(5,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,13)]" + "@value": "[(5,2)-(5,5)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,5)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml.flattened.jsonld index 6e0fa30dcc..7e78374f2b 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml.flattened.jsonld @@ -89,11 +89,6 @@ "@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/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo/source-map/lexical/element_1" @@ -101,13 +96,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo/source-map/declared-element/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo", @@ -117,6 +112,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,5)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/implicitly-defined-object/api.raml#/declares/shape/Foo", + "http://a.ml/vocabularies/document-source-maps#value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml.expanded.jsonld index f50b95fb6f..f91c85f947 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml.expanded.jsonld @@ -188,9 +188,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person" @@ -198,35 +198,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(4,47)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(4,8)]" + "@value": "[(4,2)-(4,47)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(4,2)-(4,8)]" } ] } @@ -297,9 +297,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson" @@ -307,35 +307,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,52)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,13)]" + "@value": "[(5,2)-(5,52)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,2)-(5,13)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml.flattened.jsonld index d26442fd82..c3402b4e4b 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml.flattened.jsonld @@ -165,6 +165,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person/source-map/lexical/element_1" @@ -172,11 +177,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person/source-map/declared-element/element_0" - } ] }, { @@ -192,6 +192,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/lexical/element_1" @@ -199,11 +204,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/declared-element/element_0" - } ] }, { @@ -216,6 +216,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#location", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person", @@ -226,11 +231,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,8)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#mediaType", @@ -241,6 +241,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#location", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson", @@ -250,11 +255,6 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,13)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/include-repeated/api.raml#/declares/schema/otherPerson", - "http://a.ml/vocabularies/document-source-maps#value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml.expanded.jsonld index 43936888ea..550d5ee8d4 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml.expanded.jsonld @@ -132,9 +132,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node" @@ -142,14 +142,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,14)-(13,29)]" + "@value": "Organization " } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node" @@ -157,7 +157,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "Organization " + "@value": "[(13,14)-(13,29)]" } ] } @@ -1076,9 +1076,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema" @@ -1086,35 +1086,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(12,6)-(15,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,6)-(15,0)]" + "@value": "[(14,8)-(15,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,8)-(15,0)]" + "@value": "" } ] } @@ -1340,9 +1340,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node" @@ -1350,14 +1350,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,18)-(21,32)]" + "@value": "Organization" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node" @@ -1365,7 +1365,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "Organization" + "@value": "[(21,18)-(21,32)]" } ] } @@ -2284,9 +2284,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" @@ -2294,35 +2294,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(20,10)-(24,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,10)-(24,0)]" + "@value": "[(22,12)-(24,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,12)-(24,0)]" + "@value": "" } ] } @@ -2609,9 +2609,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization" @@ -2619,14 +2619,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(35,14)-(36,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization" @@ -2634,7 +2634,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,14)-(36,0)]" + "@value": "" } ] } @@ -3229,6 +3229,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,14)-(35,18)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", @@ -3269,21 +3284,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(35,14)-(35,18)]" - } - ] - } ] } ] @@ -3467,21 +3467,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(27,8)-(27,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema/source-map/lexical/element_2", @@ -3522,6 +3507,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(27,8)-(27,12)]" + } + ] + } ] } ] @@ -3599,21 +3599,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/source-map/lexical/element_2", @@ -3654,6 +3639,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations" + } + ] + } ] } ] @@ -3865,9 +3865,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union" @@ -3875,14 +3875,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "number | nil" + "@value": "[(5,4)-(6,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union" @@ -3890,7 +3890,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,4)-(6,0)]" + "@value": "number | nil" } ] } @@ -3905,21 +3905,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(5,4)-(5,8)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/source-map/lexical/element_2", @@ -3960,6 +3945,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(5,4)-(5,8)]" + } + ] + } ] } ] @@ -4113,21 +4113,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(12,8)-(12,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id/source-map/lexical/element_2", @@ -4168,6 +4153,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(12,8)-(12,12)]" + } + ] + } ] } ] @@ -4292,21 +4292,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(15,8)-(15,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name/source-map/lexical/element_2", @@ -4347,6 +4332,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(15,8)-(15,12)]" + } + ] + } ] } ] @@ -4459,6 +4459,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(9,4)-(9,8)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/source-map/lexical/element_2", @@ -4499,21 +4514,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(9,4)-(9,8)]" - } - ] - } ] } ] @@ -4638,21 +4638,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(18,4)-(18,8)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at/source-map/lexical/element_2", @@ -4693,6 +4678,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,4)-(18,8)]" + } + ] + } ] } ] @@ -4800,9 +4800,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type" @@ -4810,35 +4810,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,0)-(20,0)]" + "@value": "[(2,0)-(2,4)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,11)-(20,0)]" + "@value": "[(2,0)-(20,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,0)-(2,4)]" + "@value": "[(3,11)-(20,0)]" } ] } @@ -5102,9 +5102,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization" @@ -5112,35 +5112,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(9,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(7,14)]" + "@value": "[(7,2)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(7,2)-(7,14)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml.flattened.jsonld index e471444b7f..4a9fa7f4e3 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml.flattened.jsonld @@ -188,11 +188,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/source-map/lexical/element_2" @@ -203,6 +198,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -375,11 +375,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -395,6 +390,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(24,2)-(37,3)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson", "@type": [ @@ -530,11 +530,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema/source-map/lexical/element_2" @@ -545,6 +540,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -705,11 +705,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#payload", "http://a.ml/vocabularies/document-source-maps#value": "[(33,10)-(37,3)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,8)-(27,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -725,6 +720,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(26,6)-(29,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/parameter/parameter/path/organization_id/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,8)-(27,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node", "@type": [ @@ -769,11 +769,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/lexical/element_1" @@ -782,6 +777,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0" @@ -837,11 +837,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1" @@ -850,6 +845,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0" @@ -911,6 +911,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_2" @@ -921,11 +926,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -946,14 +946,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" } ] }, @@ -1004,11 +1004,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema", @@ -1019,6 +1014,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(14,8)-(15,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema", @@ -1037,14 +1037,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" } ] }, @@ -1095,11 +1095,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", @@ -1110,6 +1105,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(22,12)-(24,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", @@ -1120,14 +1120,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization/source-map/auto-generated-name/element_0" } ] }, @@ -1183,6 +1183,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(35,14)-(35,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", @@ -1198,11 +1203,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(34,12)-(37,3)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(35,14)-(35,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -1214,14 +1214,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,14)-(13,29)]" + "http://a.ml/vocabularies/document-source-maps#value": "Organization " }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "Organization " + "http://a.ml/vocabularies/document-source-maps#value": "[(13,14)-(13,29)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/put/expects/request/payload/application%2Fjson/array/schema/examples/example/value/array_1/member/object_2", @@ -1305,14 +1305,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "[(21,18)-(21,32)]" + "http://a.ml/vocabularies/document-source-maps#value": "Organization" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "Organization" + "http://a.ml/vocabularies/document-source-maps#value": "[(21,18)-(21,32)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/examples/example/value/array_1/member/object_2", @@ -1386,14 +1386,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations/supportedOperation/get/returns/resp/200/payload/application%2Fjson" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(35,14)-(36,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Organization", - "http://a.ml/vocabularies/document-source-maps#value": "[(35,14)-(36,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/web-api/endpoint/%2Forganizations%2F%7Borganization_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/examples/example/value/object_1/alternate_id", @@ -3049,6 +3049,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization/source-map/lexical/element_1" @@ -3056,11 +3061,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization/source-map/declared-element/element_0" - } ] }, { @@ -3145,6 +3145,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/source-map/lexical/element_1" @@ -3152,11 +3157,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -3184,6 +3184,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization", "http://a.ml/vocabularies/document-source-maps#value": "data-types/organization-data-type.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization", @@ -3194,11 +3199,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,14)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/declares/shape/Organization", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F", "@type": [ @@ -3340,6 +3340,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type", + "http://a.ml/vocabularies/document-source-maps#value": "[(2,0)-(2,4)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type", @@ -3350,11 +3355,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(3,11)-(20,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(2,0)-(2,4)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union", "@type": [ @@ -3383,11 +3383,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/source-map/lexical/element_2" @@ -3398,6 +3393,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3478,6 +3478,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/source-map/lexical/element_2" @@ -3488,11 +3493,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -3520,11 +3520,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at/source-map/lexical/element_2" @@ -3535,6 +3530,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3596,22 +3596,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -3627,6 +3622,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F", "http://a.ml/vocabularies/document-source-maps#value": "[(4,16)-(7,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id", "@type": [ @@ -3720,6 +3720,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(9,8)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -3735,16 +3740,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(17,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(9,8)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,4)-(18,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -3760,6 +3755,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at", "http://a.ml/vocabularies/document-source-maps#value": "[(17,2)-(20,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/created_at/scalar/created_at", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,4)-(18,8)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union/anyOf/scalar/default-scalar/source-map", "@type": [ @@ -3783,25 +3783,20 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "number | nil" + "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(6,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(6,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "number | nil" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id/source-map/lexical/element_2" @@ -3812,6 +3807,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3839,11 +3839,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name/source-map/lexical/element_2" @@ -3854,6 +3849,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3886,11 +3886,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/alternate_id/union/alternate_id%3F/inherits/union/default-union/anyOf/nil/default-nil", "http://a.ml/vocabularies/document-source-maps#value": "[(5,19)-(5,22)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -3907,9 +3902,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(14,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(15,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/id/scalar/id", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name/source-map/lexical/element_2", @@ -3925,6 +3920,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name", "http://a.ml/vocabularies/document-source-maps#value": "[(14,6)-(17,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/inline-named-examples/api.raml#/references/0/shape/type/property/property/category/shape/category/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(15,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml.expanded.jsonld index 3d38f02b06..195e31abf1 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml.expanded.jsonld @@ -197,21 +197,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(10,16)-(10,20)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/lexical/element_2", @@ -252,6 +237,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(10,16)-(10,20)]" + } + ] + } ] } ] @@ -329,21 +329,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/source-map/lexical/element_2", @@ -384,6 +369,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors" + } + ] + } ] } ] @@ -463,21 +463,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(10,16)-(10,20)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/scalar/schema/source-map/lexical/element_2", @@ -518,6 +503,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(10,16)-(10,20)]" + } + ] + } ] } ] @@ -557,38 +557,40 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,16)-(12,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,12)-(12,0)]" + "@value": "[(11,16)-(12,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -596,11 +598,9 @@ "@value": "[(9,12)-(12,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId" @@ -608,7 +608,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,12)-(12,0)]" } ] } @@ -623,9 +623,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks" @@ -633,35 +633,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D" + "@value": "[(12,8)-(14,20)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(14,20)]" + "@value": "[(12,8)-(12,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(12,14)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D" } ] } @@ -782,21 +782,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(10,16)-(10,20)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/lexical/element_2", @@ -837,6 +822,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(10,16)-(10,20)]" + } + ] + } ] } ] @@ -876,38 +876,40 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,16)-(12,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,12)-(12,0)]" + "@value": "[(11,16)-(12,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -915,11 +917,9 @@ "@value": "[(9,12)-(12,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId" @@ -927,7 +927,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,12)-(12,0)]" } ] } @@ -1059,9 +1059,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId" @@ -1069,14 +1069,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(13,13)-(13,21)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId" @@ -1084,7 +1084,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,13)-(13,21)]" + "@value": "true" } ] } @@ -1099,9 +1099,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D" @@ -1109,35 +1109,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks" + "@value": "[(13,12)-(14,20)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,12)-(14,20)]" + "@value": "[(13,12)-(13,21)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,12)-(13,21)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml.flattened.jsonld index 2a6e8eeb3b..444fbdc486 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml.flattened.jsonld @@ -203,11 +203,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/source-map/lexical/element_2" @@ -218,6 +213,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -246,11 +246,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/source-map/lexical/element_1" @@ -258,6 +253,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/source-map/parent-end-point/element_0" + } ] }, { @@ -320,11 +320,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/source-map/lexical/element_1" @@ -332,6 +327,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -413,11 +413,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -433,6 +428,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(14,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/scalar/schema", "@type": [ @@ -468,6 +468,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/lexical/element_2" @@ -478,18 +483,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks", @@ -500,6 +495,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,14)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/supportedOperation/get/source-map", "@type": [ @@ -546,6 +546,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/lexical/element_2" @@ -556,11 +561,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/virtual-element/element_0" - } ] }, { @@ -603,22 +603,17 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId/source-map/virtual-element/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D", @@ -629,16 +624,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(13,12)-(13,21)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/lexical/element_2" @@ -649,6 +644,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -676,11 +676,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/scalar/schema/source-map/lexical/element_2" @@ -691,6 +686,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -703,6 +703,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -718,11 +723,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId", "http://a.ml/vocabularies/document-source-maps#value": "[(9,12)-(12,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/supportedOperation/get/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/supportedOperation/get", @@ -733,11 +733,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/lexical/element_2" @@ -748,6 +743,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -760,6 +760,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -775,11 +780,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId", "http://a.ml/vocabularies/document-source-maps#value": "[(9,12)-(12,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId/source-map/synthesized-field/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", @@ -805,20 +805,15 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId", "http://a.ml/vocabularies/document-source-maps#value": "" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId", "http://a.ml/vocabularies/document-source-maps#value": "[(13,13)-(13,21)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,16)-(10,20)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/bookId", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/lexical/element_2", @@ -836,8 +831,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,12)-(12,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D/parameter/parameter/path/authorId/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(10,16)-(10,20)]" }, { @@ -856,8 +851,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,12)-(12,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks/parameter/parameter/path/authorId/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(10,16)-(10,20)]" }, { @@ -875,6 +870,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(9,12)-(12,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml#/web-api/endpoint/%2Fauthors%2F%7BauthorId%7D%2Fbooks%2F%7BbookId%7D/parameter/parameter/path/authorId/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,16)-(10,20)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/int_uri_param/api.raml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml.expanded.jsonld index 640aec97f4..d552ffeefd 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml.expanded.jsonld @@ -726,21 +726,6 @@ "@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/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection" - } - ], - "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/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection/source-map/lexical/element_3", @@ -794,6 +779,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1291,21 +1291,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songId/scalar/songId/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songId/scalar/songId" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(7,6)-(7,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songId/scalar/songId/source-map/lexical/element_3", @@ -1359,6 +1344,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songId/scalar/songId/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songId/scalar/songId" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(7,6)-(7,12)]" + } + ] + } ] } ] @@ -1452,9 +1452,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle" @@ -1462,35 +1462,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,6)-(13,12)]" + "@value": "[(12,4)-(15,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,4)-(15,5)]" + "@value": "[(13,6)-(13,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,6)-(13,22)]" + "@value": "[(13,6)-(13,12)]" } ] } @@ -1597,21 +1597,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(17,6)-(17,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId/source-map/lexical/element_3", @@ -1665,6 +1650,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,6)-(17,12)]" + } + ] + } ] } ] @@ -1766,6 +1766,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song" + } + ], + "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/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/source-map/lexical/element_2", @@ -1807,21 +1822,6 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/source-map/parsed-json-schema/element_0", @@ -2424,21 +2424,6 @@ "@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/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection" - } - ], - "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/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection/source-map/lexical/element_3", @@ -2492,6 +2477,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml.flattened.jsonld index 3334834f4c..9f8128c7f3 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml.flattened.jsonld @@ -284,11 +284,6 @@ "@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/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection/source-map/lexical/element_3" @@ -302,6 +297,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0" + } ] }, { @@ -384,11 +384,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#dataNode", @@ -409,6 +404,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection", "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(21,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/resourceType/collection", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/web-api/endpoint/%2Fsongs/extends/collection/variable/exampleItem/scalar_1/source-map", "@type": [ @@ -1049,6 +1049,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/source-map/lexical/element_2" @@ -1060,11 +1065,6 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/source-map/lexical/element_1" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/source-map/parsed-json-schema/element_0" @@ -1218,6 +1218,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song", "http://a.ml/vocabularies/document-source-maps#value": "[(2,2)-(2,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -1233,11 +1238,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song", "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(23,1)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/source-map/parsed-json-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song", @@ -1258,11 +1258,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songId/scalar/songId/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songId/scalar/songId/source-map/lexical/element_3" @@ -1276,6 +1271,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songId/scalar/songId/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songId/scalar/songId/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1293,11 +1293,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle/source-map/lexical/element_1" @@ -1305,6 +1300,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1322,11 +1322,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId/source-map/lexical/element_3" @@ -1340,6 +1335,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1352,11 +1352,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId", "http://a.ml/vocabularies/document-source-maps#value": "[(16,4)-(21,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songId/scalar/songId/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songId/scalar/songId", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(7,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songId/scalar/songId/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minLength", @@ -1378,9 +1373,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(11,5)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,6)-(13,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songId/scalar/songId/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songId/scalar/songId", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(7,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle/source-map/lexical/element_1", @@ -1393,9 +1388,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(13,6)-(13,22)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,6)-(17,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/songTitle/scalar/songTitle", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,6)-(13,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId/source-map/lexical/element_3", @@ -1416,6 +1411,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId", "http://a.ml/vocabularies/document-source-maps#value": "[(16,4)-(21,5)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/jukebox-api/api.raml#/declares/shape/song/property/property/albumId/scalar/albumId", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,6)-(17,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml.expanded.jsonld index 7e36162e50..575da5d643 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml.expanded.jsonld @@ -442,9 +442,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema" @@ -452,35 +452,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,6)-(23,29)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,19)-(23,29)]" + "@value": "[(18,6)-(23,29)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(21,19)-(23,29)]" } ] } @@ -910,9 +910,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a" @@ -920,35 +920,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,2)-(7,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(7,0)]" + "@value": "[(5,2)-(5,3)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,3)]" + "@value": "" } ] } @@ -1314,6 +1314,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType" + } + ], + "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/cycle/raml10/konst1/api.raml#/declares/shape/MyType/source-map/lexical/element_2", @@ -1354,21 +1369,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml.flattened.jsonld index e768df6774..781fcaa435 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml.flattened.jsonld @@ -418,6 +418,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -425,11 +430,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" - } ] }, { @@ -517,6 +517,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(20,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", @@ -527,11 +532,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(21,19)-(23,29)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "http://a.ml/vocabularies/core#extensionName": "a", "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/web-api/endpoint/%2Fresource/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/p2/scalar/p2/customDomainProperties/a/scalar_1", @@ -745,11 +745,6 @@ "@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/cycle/raml10/konst1/api.raml#/declares/a/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a/source-map/lexical/element_1" @@ -757,6 +752,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a/source-map/declared-element/element_0" + } ] }, { @@ -814,6 +814,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType/source-map/lexical/element_2" @@ -824,11 +829,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType/source-map/declared-element/element_0" - } ] }, { @@ -842,11 +842,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a", @@ -857,6 +852,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,3)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType/property/property/p1/scalar/p1", "@type": [ @@ -932,6 +932,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -947,11 +952,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType", "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(13,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/shape/MyType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a/scalar/a/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/konst1/api.raml#/declares/a/scalar/a", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml.expanded.jsonld index 04bcfbb7a5..0f1f5e37e9 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml.expanded.jsonld @@ -167,9 +167,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name" @@ -177,35 +177,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(7,12)]" + "@value": "[(6,6)-(7,20)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(7,20)]" + "@value": "[(7,8)-(7,20)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(7,20)]" + "@value": "[(7,8)-(7,12)]" } ] } @@ -316,6 +316,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person" + } + ], + "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/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/source-map/lexical/element_2", @@ -356,21 +371,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -503,9 +503,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person" @@ -513,35 +513,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(5,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(4,8)]" + "@value": "[(4,2)-(5,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(4,2)-(4,8)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml.flattened.jsonld index bc1fa73618..605c9ec6cb 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml.flattened.jsonld @@ -192,6 +192,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/source-map/lexical/element_1" @@ -199,11 +204,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/source-map/declared-element/element_0" - } ] }, { @@ -245,6 +245,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/source-map/lexical/element_2" @@ -255,11 +260,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -282,6 +282,11 @@ "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/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person", @@ -292,11 +297,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,8)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name", "@type": [ @@ -345,6 +345,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -360,21 +365,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(7,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1" @@ -382,6 +377,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -404,11 +404,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(6,11)-(7,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name", @@ -418,6 +413,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/lib-alias-reference/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml.expanded.jsonld index d74b4f2cc2..12a0221de3 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml.expanded.jsonld @@ -167,9 +167,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name" @@ -177,35 +177,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(7,12)]" + "@value": "[(6,6)-(7,20)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(7,20)]" + "@value": "[(7,8)-(7,20)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(7,20)]" + "@value": "[(7,8)-(7,12)]" } ] } @@ -316,6 +316,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person" + } + ], + "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/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/source-map/lexical/element_2", @@ -356,21 +371,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -503,9 +503,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person" @@ -513,35 +513,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(5,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(4,8)]" + "@value": "[(4,2)-(5,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(4,2)-(4,8)]" } ] } @@ -594,9 +594,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2" @@ -604,35 +604,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(6,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,9)]" + "@value": "[(5,2)-(6,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,2)-(5,9)]" } ] } @@ -685,9 +685,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3" @@ -695,35 +695,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(7,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,9)]" + "@value": "[(6,2)-(7,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(6,9)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml.flattened.jsonld index 40b6572e7f..8f855855af 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml.flattened.jsonld @@ -242,6 +242,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/source-map/lexical/element_1" @@ -249,11 +254,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/source-map/declared-element/element_0" - } ] }, { @@ -266,6 +266,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/source-map/lexical/element_1" @@ -273,11 +278,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/source-map/declared-element/element_0" - } ] }, { @@ -290,6 +290,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/source-map/lexical/element_1" @@ -297,11 +302,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/source-map/declared-element/element_0" - } ] }, { @@ -343,6 +343,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/source-map/lexical/element_2" @@ -353,11 +358,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -380,6 +380,11 @@ "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/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person", @@ -390,16 +395,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,8)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/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/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2", @@ -410,16 +415,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person2", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/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/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3", @@ -430,11 +435,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person3", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name", "@type": [ @@ -483,6 +483,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -498,21 +503,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(7,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1" @@ -520,6 +515,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -542,11 +542,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(6,11)-(7,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name", @@ -556,6 +551,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries-3-alias/api.raml#/declares/shape/person/shape/Person/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml.expanded.jsonld index 1c213c30c9..c8a39c1cd2 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml.expanded.jsonld @@ -167,9 +167,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1" @@ -177,35 +177,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(7,12)]" + "@value": "[(6,6)-(8,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(8,0)]" + "@value": "[(7,8)-(8,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(8,0)]" + "@value": "[(7,8)-(7,12)]" } ] } @@ -328,9 +328,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2" @@ -338,35 +338,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(9,12)]" + "@value": "[(8,6)-(9,20)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,6)-(9,20)]" + "@value": "[(9,8)-(9,20)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(9,20)]" + "@value": "[(9,8)-(9,12)]" } ] } @@ -477,6 +477,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType" + } + ], + "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/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/source-map/lexical/element_2", @@ -517,21 +532,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml.flattened.jsonld index f50fd136bf..10b66b7d2a 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml.flattened.jsonld @@ -221,6 +221,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/source-map/lexical/element_2" @@ -231,11 +236,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0" - } ] }, { @@ -344,6 +344,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -359,21 +364,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(9,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1" @@ -381,6 +376,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -408,11 +408,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1" @@ -420,6 +415,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -442,11 +442,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(8,15)-(9,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1", @@ -458,9 +453,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(8,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp1/scalar/objProp1", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_1", @@ -471,6 +466,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/libraries/api.raml#/references/0/declares/shape/ObjectType/property/property/objProp2/scalar/objProp2", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml.expanded.jsonld index 3c6f7c8891..b879a44a4b 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml.expanded.jsonld @@ -174,9 +174,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema" @@ -184,35 +184,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,4)-(13,8)]" + "@value": "[(12,25)-(15,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,25)-(15,0)]" + "@value": "[(13,4)-(14,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,4)-(14,0)]" + "@value": "[(13,4)-(13,8)]" } ] } @@ -247,6 +247,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation" + } + ], + "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/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/source-map/lexical/element_3", @@ -300,21 +315,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -522,6 +522,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test" + } + ], + "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/cycle/raml10/library-annotations/api.raml#/declares/shape/Test/source-map/lexical/element_2", @@ -562,21 +577,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml.flattened.jsonld index ed1efb86ce..3cd7f4011f 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml.flattened.jsonld @@ -111,6 +111,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/source-map/single-value-array/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/source-map/lexical/element_3" @@ -124,11 +129,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/source-map/declared-element/element_0" - } ] }, { @@ -160,11 +160,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema/source-map/lexical/element_1" @@ -172,6 +167,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -179,6 +179,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/2000/01/rdf-schema#domain", "http://a.ml/vocabularies/document-source-maps#value": "" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", @@ -199,11 +204,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation", "http://a.ml/vocabularies/document-source-maps#value": "[(12,2)-(15,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/customDomainProperties/someVeryCoolAnnotation/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -219,11 +219,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/customDomainProperties/someVeryCoolAnnotation/scalar_1", "http://a.ml/vocabularies/document-source-maps#value": "[(3,26)-(3,37)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(13,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema", @@ -234,6 +229,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(14,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/someVeryCoolAnnotation/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(13,8)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml", "http://a.ml/vocabularies/document#declares": [ @@ -338,6 +338,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test/source-map/lexical/element_2" @@ -348,11 +353,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test/source-map/declared-element/element_0" - } ] }, { @@ -413,6 +413,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -428,11 +433,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(11,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/library-annotations/api.raml#/declares/shape/Test/property/property/value/scalar/value/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml.expanded.jsonld index 361c84fe2f..f47bb9441a 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml.expanded.jsonld @@ -172,9 +172,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items" @@ -182,35 +182,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(7,10)]" + "@value": "[(6,4)-(8,19)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items" + "@value": "http://a.ml/vocabularies/shapes#items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,4)-(8,19)]" + "@value": "[(8,6)-(8,19)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#items" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,6)-(8,19)]" + "@value": "[(7,6)-(7,10)]" } ] } @@ -230,21 +230,6 @@ "@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/cycle/raml10/matrix-id/api.raml#/declares/array/tt/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt" - } - ], - "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/cycle/raml10/matrix-id/api.raml#/declares/array/tt/source-map/lexical/element_2", @@ -286,6 +271,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/source-map/type-property-lexical-info/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml.flattened.jsonld index afd6f7111f..c4c4108160 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml.flattened.jsonld @@ -112,11 +112,6 @@ "@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/cycle/raml10/matrix-id/api.raml#/declares/array/tt/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/source-map/lexical/element_2" @@ -128,6 +123,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/source-map/type-property-lexical-info/element_0" @@ -160,11 +160,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/source-map/lexical/element_1" @@ -172,13 +167,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", @@ -194,6 +189,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(8,19)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt", @@ -213,11 +213,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(7,10)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items", @@ -228,6 +223,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(8,19)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(7,10)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/scalar/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix-id/api.raml#/declares/array/tt/array/items/scalar/items", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml.expanded.jsonld index 1dd5cc1588..82a1c93f61 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml.expanded.jsonld @@ -277,9 +277,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items" @@ -287,35 +287,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,12)-(15,16)]" + "@value": "[(14,10)-(16,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,10)-(16,0)]" + "@value": "[(15,12)-(16,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,12)-(16,0)]" + "@value": "[(15,12)-(15,16)]" } ] } @@ -335,9 +335,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items" @@ -345,35 +345,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(16,14)]" + "@value": "[(13,8)-(17,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items" + "@value": "http://a.ml/vocabularies/shapes#items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(17,0)]" + "@value": "[(14,10)-(16,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#items" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,10)-(16,0)]" + "@value": "[(16,10)-(16,14)]" } ] } @@ -398,21 +398,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(17,8)-(17,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/source-map/lexical/element_2", @@ -453,6 +438,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,8)-(17,12)]" + } + ] + } ] } ] @@ -560,6 +560,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report" + } + ], + "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/cycle/raml10/matrix/api.raml#/declares/shape/Report/source-map/lexical/element_2", @@ -600,21 +615,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml.flattened.jsonld index a209af8117..5e75ef818f 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml.flattened.jsonld @@ -205,6 +205,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/source-map/lexical/element_2" @@ -215,11 +220,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/source-map/declared-element/element_0" - } ] }, { @@ -270,6 +270,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -285,11 +290,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(18,23)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items", "@type": [ @@ -314,11 +314,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/source-map/lexical/element_2" @@ -329,6 +324,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -377,11 +377,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/source-map/lexical/element_1" @@ -389,13 +384,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(17,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", @@ -411,16 +406,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows", "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(18,23)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(17,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map/lexical/element_1" @@ -428,13 +423,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items", @@ -446,9 +441,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(16,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,12)-(15,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,14)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map/lexical/element_1", @@ -459,6 +454,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(15,12)-(16,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/matrix/api.raml#/declares/shape/Report/property/property/rows/array/rows/array/items/scalar/items", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,12)-(15,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml.expanded.jsonld index 6acb2118eb..31bfa11925 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml.expanded.jsonld @@ -143,9 +143,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName" @@ -153,35 +153,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,23)-(14,29)]" + "@value": "[(13,19)-(15,20)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,19)-(15,20)]" + "@value": "[(14,23)-(14,39)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,23)-(14,39)]" + "@value": "[(14,23)-(14,29)]" } ] } @@ -276,9 +276,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName" @@ -286,35 +286,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,23)-(17,29)]" + "@value": "[(16,19)-(18,20)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,19)-(18,20)]" + "@value": "[(17,23)-(17,39)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,23)-(17,39)]" + "@value": "[(17,23)-(17,29)]" } ] } @@ -419,21 +419,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(21,23)-(21,29)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age/source-map/lexical/element_3", @@ -487,6 +472,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(21,23)-(21,29)]" + } + ] + } ] } ] @@ -573,6 +573,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(11,15)-(11,21)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/source-map/lexical/element_2", @@ -614,21 +629,6 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(11,15)-(11,21)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/source-map/parsed-json-schema/element_0", @@ -815,21 +815,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body" - } - ], - "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/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_2", @@ -870,6 +855,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml.flattened.jsonld index b18054adfe..fdda3b7373 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml.flattened.jsonld @@ -321,11 +321,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_2" @@ -336,6 +331,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0" + } ] }, { @@ -430,6 +430,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/source-map/lexical/element_2" @@ -441,11 +446,6 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/source-map/lexical/element_1" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/source-map/parsed-json-schema/element_0" @@ -496,11 +496,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", @@ -516,6 +511,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body", "http://a.ml/vocabularies/document-source-maps#value": "[(6,9)-(26,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName", "@type": [ @@ -630,6 +630,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,15)-(11,21)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -645,11 +650,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(26,12)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,15)-(11,21)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/source-map/parsed-json-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema", @@ -699,11 +699,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName/source-map/lexical/element_1" @@ -711,6 +706,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -728,11 +728,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_1" @@ -740,6 +735,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -757,11 +757,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age/source-map/lexical/element_3" @@ -775,6 +770,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -802,11 +802,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/examples/example/default-example/scalar_1", "http://a.ml/vocabularies/document-source-maps#value": "[(7,15)-(7,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,23)-(14,29)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName", @@ -818,9 +813,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(14,23)-(14,39)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,23)-(17,29)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/firstName/scalar/firstName", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,23)-(14,29)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_1", @@ -833,9 +828,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(17,23)-(17,39)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age", - "http://a.ml/vocabularies/document-source-maps#value": "[(21,23)-(21,29)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/lastName/scalar/lastName", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,23)-(17,29)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age/source-map/lexical/element_3", @@ -857,6 +852,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age", "http://a.ml/vocabularies/document-source-maps#value": "[(19,19)-(23,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml#/web-api/endpoint/%2Fok0/supportedOperation/post/expects/request/payload/default/shape/body/inherits/shape/schema/property/property/age/scalar/age", + "http://a.ml/vocabularies/document-source-maps#value": "[(21,23)-(21,29)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/missing_example/api.raml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml.expanded.jsonld index d54f7aabb2..50cdeb70f7 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml.expanded.jsonld @@ -366,21 +366,6 @@ "@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/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype" - } - ], - "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/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype/source-map/lexical/element_2", @@ -422,6 +407,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype/source-map/type-property-lexical-info/element_0", @@ -494,9 +494,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href" @@ -504,35 +504,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(19,12)]" + "@value": "[(18,6)-(20,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,6)-(20,0)]" + "@value": "[(19,8)-(20,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(20,0)]" + "@value": "[(19,8)-(19,12)]" } ] } @@ -655,9 +655,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type" @@ -665,35 +665,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,8)-(21,12)]" + "@value": "[(20,6)-(22,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,6)-(22,0)]" + "@value": "[(21,8)-(22,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,8)-(22,0)]" + "@value": "[(21,8)-(21,12)]" } ] } @@ -804,6 +804,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype" + } + ], + "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/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/source-map/lexical/element_2", @@ -844,21 +859,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -917,9 +917,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated" @@ -927,35 +927,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,8)-(25,12)]" + "@value": "[(24,6)-(26,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,6)-(26,0)]" + "@value": "[(25,8)-(26,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,8)-(26,0)]" + "@value": "[(25,8)-(25,12)]" } ] } @@ -1083,21 +1083,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated_since/scalar/deprecated_since/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated_since/scalar/deprecated_since" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(28,8)-(28,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated_since/scalar/deprecated_since/source-map/lexical/element_2", @@ -1138,6 +1123,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated_since/scalar/deprecated_since/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated_since/scalar/deprecated_since" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,8)-(28,12)]" + } + ] + } ] } ] @@ -1257,9 +1257,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by" @@ -1267,35 +1267,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,8)-(30,12)]" + "@value": "[(29,6)-(30,20)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,6)-(30,20)]" + "@value": "[(30,8)-(30,20)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,8)-(30,20)]" + "@value": "[(30,8)-(30,12)]" } ] } @@ -1406,6 +1406,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype" + } + ], + "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/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/source-map/lexical/element_2", @@ -1446,21 +1461,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml.flattened.jsonld index ea71d35e54..a2875ec6e5 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml.flattened.jsonld @@ -294,11 +294,6 @@ "@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/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype/source-map/lexical/element_2" @@ -310,6 +305,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype/source-map/type-property-lexical-info/element_0" @@ -374,6 +374,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/source-map/lexical/element_2" @@ -384,11 +389,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/source-map/declared-element/element_0" - } ] }, { @@ -473,6 +473,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/source-map/lexical/element_2" @@ -483,11 +488,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/source-map/declared-element/element_0" - } ] }, { @@ -522,11 +522,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -542,6 +537,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype", "http://a.ml/vocabularies/document-source-maps#value": "[(12,2)-(16,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype", @@ -638,6 +638,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -653,11 +658,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype", "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(22,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated", "@type": [ @@ -793,6 +793,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -808,11 +813,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype", "http://a.ml/vocabularies/document-source-maps#value": "[(22,2)-(30,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/any/sometype/inherits/shape/default-node/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", @@ -838,11 +838,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href/source-map/lexical/element_1" @@ -850,6 +845,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -877,11 +877,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type/source-map/lexical/element_1" @@ -889,6 +884,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -916,11 +916,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated/source-map/lexical/element_1" @@ -928,6 +923,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -955,11 +955,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated_since/scalar/deprecated_since/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated_since/scalar/deprecated_since/source-map/lexical/element_2" @@ -970,6 +965,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated_since/scalar/deprecated_since/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated_since/scalar/deprecated_since/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -997,11 +997,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by/source-map/lexical/element_1" @@ -1009,6 +1004,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1031,11 +1031,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(29,18)-(30,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href", @@ -1047,9 +1042,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(20,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type", - "http://a.ml/vocabularies/document-source-maps#value": "[(21,8)-(21,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/href/scalar/href", + "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type/source-map/lexical/element_1", @@ -1062,9 +1057,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(21,8)-(22,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(25,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/othertype/property/property/result_type/scalar/result_type", + "http://a.ml/vocabularies/document-source-maps#value": "[(21,8)-(21,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated/source-map/lexical/element_1", @@ -1077,9 +1072,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(26,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated_since/scalar/deprecated_since/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated_since/scalar/deprecated_since", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(28,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated/scalar/deprecated", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(25,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated_since/scalar/deprecated_since/source-map/lexical/element_2", @@ -1097,9 +1092,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(26,6)-(29,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,8)-(30,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated_since/scalar/deprecated_since/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/deprecated_since/scalar/deprecated_since", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(28,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by/source-map/lexical/element_1", @@ -1110,6 +1105,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(30,8)-(30,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance-2/api.raml#/declares/shape/someothertype/property/property/replaced_by/scalar/replaced_by", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,8)-(30,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml.expanded.jsonld index 29e67dbd37..0583317145 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml.expanded.jsonld @@ -286,6 +286,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome" + } + ], + "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/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/source-map/lexical/element_2", @@ -326,21 +341,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -694,6 +694,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat" + } + ], + "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/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat/source-map/lexical/element_2", @@ -734,21 +749,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1102,6 +1102,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog" + } + ], + "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/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog/source-map/lexical/element_2", @@ -1142,21 +1157,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1379,6 +1379,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome" + } + ], + "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/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/source-map/lexical/element_2", @@ -1419,21 +1434,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1571,9 +1571,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union" @@ -1581,14 +1581,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "Dog | Cat" + "@value": "[(19,28)-(19,37)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union" @@ -1596,7 +1596,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,28)-(19,37)]" + "@value": "Dog | Cat" } ] } @@ -1611,21 +1611,6 @@ "@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/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal" - } - ], - "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/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/source-map/lexical/element_2", @@ -1666,6 +1651,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml.flattened.jsonld index 0d6788389a..c95e611a05 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml.flattened.jsonld @@ -212,6 +212,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/source-map/lexical/element_2" @@ -222,11 +227,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/source-map/declared-element/element_0" - } ] }, { @@ -292,6 +292,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat/source-map/lexical/element_2" @@ -302,11 +307,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat/source-map/declared-element/element_0" - } ] }, { @@ -372,6 +372,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog/source-map/lexical/element_2" @@ -382,11 +387,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog/source-map/declared-element/element_0" - } ] }, { @@ -417,11 +417,6 @@ "@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/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/source-map/lexical/element_2" @@ -432,6 +427,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/source-map/declared-element/element_0" + } ] }, { @@ -487,6 +487,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome", "http://a.ml/vocabularies/document-source-maps#value": "[(6,5)-(6,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -502,11 +507,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome", "http://a.ml/vocabularies/document-source-maps#value": "[(5,3)-(9,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat/property/property/name/scalar/name", "@type": [ @@ -603,6 +603,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat", "http://a.ml/vocabularies/document-source-maps#value": "[(10,5)-(10,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -618,11 +623,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat", "http://a.ml/vocabularies/document-source-maps#value": "[(9,3)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Cat", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog/property/property/name/scalar/name", "@type": [ @@ -719,6 +719,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog", "http://a.ml/vocabularies/document-source-maps#value": "[(15,5)-(15,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -734,11 +739,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog", "http://a.ml/vocabularies/document-source-maps#value": "[(14,3)-(19,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/Dog", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union/anyOf/shape/default-node", "@type": [ @@ -786,22 +786,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -817,6 +812,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal", "http://a.ml/vocabularies/document-source-maps#value": "[(19,3)-(19,39)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/property/property/homeAddress/scalar/homeAddress/source-map", "@type": [ @@ -1020,14 +1020,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "Dog | Cat" + "http://a.ml/vocabularies/document-source-maps#value": "[(19,28)-(19,37)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HomeAnimal/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,28)-(19,37)]" + "http://a.ml/vocabularies/document-source-maps#value": "Dog | Cat" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-inheritance/api.raml#/declares/shape/HasHome/property/property/homeAddress/scalar/homeAddress/source-map/lexical/element_1", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml.expanded.jsonld index bda23c6c45..6807e3ee05 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml.expanded.jsonld @@ -269,9 +269,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema" @@ -279,14 +279,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(7,6)-(9,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema" @@ -294,7 +294,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(9,0)]" + "@value": "" } ] } @@ -324,9 +324,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -334,35 +334,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,4)-(9,0)]" + "@value": "[(7,6)-(7,10)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(9,0)]" + "@value": "[(6,4)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(7,10)]" + "@value": "[(7,6)-(9,0)]" } ] } @@ -452,9 +452,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema" @@ -462,14 +462,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(10,6)-(11,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema" @@ -477,7 +477,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,6)-(11,0)]" + "@value": "" } ] } @@ -577,21 +577,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(10,6)-(10,10)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/source-map/lexical/element_2", @@ -632,6 +617,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(10,6)-(10,10)]" + } + ] + } ] } ] @@ -754,9 +754,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default" @@ -764,14 +764,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(21,6)-(22,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default" @@ -779,7 +779,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,6)-(22,0)]" + "@value": "" } ] } @@ -1291,21 +1291,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/tenant/scalar/tenant/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/tenant/scalar/tenant" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(15,12)-(15,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/tenant/scalar/tenant/source-map/lexical/element_2", @@ -1346,6 +1331,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/tenant/scalar/tenant/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/tenant/scalar/tenant" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(15,12)-(15,18)]" + } + ] + } ] } ] @@ -1444,21 +1444,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectType/scalar/objectType/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectType/scalar/objectType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(20,12)-(20,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectType/scalar/objectType/source-map/lexical/element_2", @@ -1499,6 +1484,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectType/scalar/objectType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectType/scalar/objectType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(20,12)-(20,18)]" + } + ] + } ] } ] @@ -1597,21 +1597,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectKey/scalar/objectKey/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectKey/scalar/objectKey" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(25,12)-(25,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectKey/scalar/objectKey/source-map/lexical/element_2", @@ -1652,6 +1637,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectKey/scalar/objectKey/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectKey/scalar/objectKey" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(25,12)-(25,18)]" + } + ] + } ] } ] @@ -1750,21 +1750,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(30,12)-(30,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType/source-map/lexical/element_2", @@ -1805,6 +1790,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(30,12)-(30,18)]" + } + ] + } ] } ] @@ -1891,6 +1891,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema" + } + ], + "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/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/source-map/lexical/element_3", @@ -1945,21 +1960,6 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/source-map/parsed-json-schema/element_0", @@ -2041,9 +2041,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema" @@ -2051,35 +2051,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,11)-(53,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,1)-(36,10)]" + "@value": "[(36,11)-(53,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(36,1)-(36,10)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml.flattened.jsonld index 3d7af3cf3b..165cc45a4d 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml.flattened.jsonld @@ -611,6 +611,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -618,11 +623,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -671,11 +671,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/source-map/lexical/element_2" @@ -686,6 +681,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -698,14 +698,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default/source-map/auto-generated-name/element_0" } ], "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ @@ -729,14 +729,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema/source-map/auto-generated-name/element_0" } ] }, @@ -745,6 +745,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(7,10)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", @@ -755,24 +760,19 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(9,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(7,10)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema/source-map/auto-generated-name/element_0" } ] }, @@ -800,11 +800,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,10)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", @@ -821,9 +816,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(18,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,10)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default/source-map/lexical/element_0", @@ -831,14 +826,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(21,6)-(22,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/returns/resp/201/payload/default/any/default", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema/source-map/lexical/element_0", @@ -846,8 +841,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(9,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/jsonSchema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -855,6 +850,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema", "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(11,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/inherits/schema/xmlSchema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/web-api/endpoint/%2FQueue/supportedOperation/post/expects/request/payload/text%2Fxml/any/schema/examples/example/default-example/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#strict", @@ -1097,6 +1097,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/source-map/lexical/element_3" @@ -1111,11 +1116,6 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/source-map/lexical/element_2" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/source-map/parsed-json-schema/element_0" @@ -1135,6 +1135,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_1" @@ -1142,11 +1147,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema/source-map/declared-element/element_0" - } ] }, { @@ -1317,6 +1317,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -1337,11 +1342,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema", "http://a.ml/vocabularies/document-source-maps#value": "[(8,1)-(35,13)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/source-map/parsed-json-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema", @@ -1357,6 +1357,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#location", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema", @@ -1367,11 +1372,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(36,1)-(36,10)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/schema/xmlSchema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/references/0/external/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/references/0/external", @@ -1382,11 +1382,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/tenant/scalar/tenant/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/tenant/scalar/tenant/source-map/lexical/element_2" @@ -1397,6 +1392,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/tenant/scalar/tenant/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/tenant/scalar/tenant/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1414,11 +1414,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectType/scalar/objectType/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectType/scalar/objectType/source-map/lexical/element_2" @@ -1429,6 +1424,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectType/scalar/objectType/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectType/scalar/objectType/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1446,11 +1446,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectKey/scalar/objectKey/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectKey/scalar/objectKey/source-map/lexical/element_2" @@ -1461,6 +1456,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectKey/scalar/objectKey/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectKey/scalar/objectKey/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1478,11 +1478,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType/source-map/lexical/element_2" @@ -1493,6 +1488,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1505,11 +1505,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType", "http://a.ml/vocabularies/document-source-maps#value": "[(29,12)-(33,13)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/tenant/scalar/tenant/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/tenant/scalar/tenant", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,12)-(15,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/tenant/scalar/tenant/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1526,9 +1521,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(14,12)-(18,13)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectType/scalar/objectType/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectType/scalar/objectType", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,12)-(20,18)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/tenant/scalar/tenant/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/tenant/scalar/tenant", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,12)-(15,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectType/scalar/objectType/source-map/lexical/element_2", @@ -1546,9 +1541,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(19,12)-(23,13)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectKey/scalar/objectKey/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectKey/scalar/objectKey", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,12)-(25,18)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectType/scalar/objectType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectType/scalar/objectType", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,12)-(20,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectKey/scalar/objectKey/source-map/lexical/element_2", @@ -1566,9 +1561,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(24,12)-(28,13)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,12)-(30,18)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectKey/scalar/objectKey/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/objectKey/scalar/objectKey", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,12)-(25,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType/source-map/lexical/element_2", @@ -1584,6 +1579,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType", "http://a.ml/vocabularies/document-source-maps#value": "[(29,12)-(33,13)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/multiple-media-types/api.raml#/declares/shape/jsonSchema/property/property/txnType/scalar/txnType", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,12)-(30,18)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml.expanded.jsonld index b9373902f3..c74f5ab4f4 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml.expanded.jsonld @@ -194,9 +194,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name" @@ -204,35 +204,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,7)-(6,11)]" + "@value": "[(5,6)-(7,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,6)-(7,0)]" + "@value": "[(6,7)-(7,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,7)-(7,0)]" + "@value": "[(6,7)-(6,11)]" } ] } @@ -355,9 +355,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName" @@ -365,35 +365,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(8,12)]" + "@value": "[(7,6)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(9,0)]" + "@value": "[(8,8)-(9,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(9,0)]" + "@value": "[(8,8)-(8,12)]" } ] } @@ -810,6 +810,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person" + } + ], + "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/cycle/raml10/named-example/api.raml#/declares/shape/person/source-map/lexical/element_3", @@ -863,21 +878,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml.flattened.jsonld index 565a245866..2471a65716 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml.flattened.jsonld @@ -218,6 +218,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/source-map/lexical/element_3" @@ -231,11 +236,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/source-map/declared-element/element_0" - } ] }, { @@ -373,6 +373,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -393,21 +398,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person", "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(9,41)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name/source-map/lexical/element_1" @@ -415,6 +410,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -442,11 +442,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName/source-map/lexical/element_1" @@ -454,6 +449,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -553,11 +553,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/examples/example/personExample", "http://a.ml/vocabularies/document-source-maps#value": "[(2,0)-(4,18)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,7)-(6,11)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name", @@ -569,9 +564,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(6,7)-(7,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,7)-(6,11)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName/source-map/lexical/element_1", @@ -583,6 +578,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(9,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/property/property/lastName/scalar/lastName", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/named-example/api.raml#/declares/shape/person/examples/example/personExample/object_1/name_1/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml.expanded.jsonld index b90c5941e5..06e2878d02 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml.expanded.jsonld @@ -86,9 +86,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#null-security": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null" @@ -96,14 +96,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,8)-(6,12)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#null-security": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null" @@ -111,7 +111,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,8)-(6,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml.flattened.jsonld index f4bf9bffda..4a3bc85351 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml.flattened.jsonld @@ -188,14 +188,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#null-security": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#null-security": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0" } ] }, @@ -210,14 +210,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,8)-(6,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/null", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,8)-(6,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/null-secured-by/api.raml", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml.expanded.jsonld index b9468db47e..ad71363287 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml.expanded.jsonld @@ -172,9 +172,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person" @@ -182,14 +182,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(25,8)-(25,20)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person" @@ -197,7 +197,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,8)-(25,20)]" + "@value": "" } ] } @@ -227,6 +227,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(25,8)-(25,12)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/lexical/element_2", @@ -267,21 +282,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(25,8)-(25,12)]" - } - ] - } ] } ] @@ -623,21 +623,6 @@ "@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/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age" - } - ], - "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/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age/source-map/lexical/element_5", @@ -718,6 +703,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age/source-map/type-property-lexical-info/element_0", @@ -1070,6 +1070,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person" + } + ], + "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/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person/source-map/lexical/element_2", @@ -1110,21 +1125,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml.flattened.jsonld index 1271c1dbf7..463f211b4e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml.flattened.jsonld @@ -324,6 +324,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/lexical/element_2" @@ -334,11 +339,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -366,14 +366,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person/source-map/auto-generated-name/element_0" } ] }, @@ -382,6 +382,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(25,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -398,20 +403,15 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(23,6)-(25,20)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(25,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(25,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person", "http://a.ml/vocabularies/document-source-maps#value": "" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/inherits/shape/Person", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(25,20)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml", "http://a.ml/vocabularies/document#declares": [ @@ -490,11 +490,6 @@ "@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/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age/source-map/lexical/element_5" @@ -515,6 +510,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age/source-map/lexical/element_4" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age/source-map/type-property-lexical-info/element_0" @@ -579,6 +579,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person/source-map/lexical/element_2" @@ -589,18 +594,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person/source-map/declared-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#multipleOf", @@ -631,6 +626,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minInclusive", "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(14,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/scalar/Age", @@ -727,6 +727,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -742,11 +747,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person", "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(20,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/numeric-facets/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml.expanded.jsonld index bc25691669..dde0edb3b3 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml.expanded.jsonld @@ -256,21 +256,6 @@ "@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/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth" - } - ], - "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/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth/source-map/lexical/element_3", @@ -324,6 +309,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml.flattened.jsonld index 5d140d9c92..40218ef8e8 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml.flattened.jsonld @@ -120,11 +120,6 @@ "@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/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth/source-map/lexical/element_3" @@ -138,6 +133,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth/source-map/declared-element/element_0" + } ] }, { @@ -169,11 +169,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -194,6 +189,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(13,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/oauth_security_scheme/api.raml#/declares/scheme/auth/settings/oauth2/flows/default-flow/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml.expanded.jsonld index 56559c83fe..fb6d15b797 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml.expanded.jsonld @@ -290,9 +290,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema" @@ -300,35 +300,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,12)-(25,16)]" + "@value": "[(23,10)-(26,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,10)-(26,0)]" + "@value": "[(25,12)-(26,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,12)-(26,0)]" + "@value": "[(25,12)-(25,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml.flattened.jsonld index 5daf766561..fccf178845 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml.flattened.jsonld @@ -492,11 +492,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1" @@ -504,6 +499,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -526,11 +526,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago", "http://a.ml/vocabularies/document-source-maps#value": "[(23,10)-(26,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,12)-(25,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema", @@ -541,6 +536,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(25,12)-(26,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,12)-(25,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/operation-response/api.raml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml.expanded.jsonld index effd3c6f00..21c6311fb4 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml.expanded.jsonld @@ -149,9 +149,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#extends-reference": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/source-map/extends-reference/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/document#extends" @@ -159,35 +159,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "../banking-api/api.raml" + "@value": "[(3,0)-(4,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/document#extends" + "@value": "http://a.ml/vocabularies/document#usage" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,0)-(4,0)]" + "@value": "[(2,0)-(3,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#extends-reference": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/source-map/extends-reference/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/document#usage" + "@value": "http://a.ml/vocabularies/document#extends" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,0)-(3,0)]" + "@value": "../banking-api/api.raml" } ] } @@ -414,9 +414,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -424,14 +424,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(16,12)-(17,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -439,7 +439,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,12)-(17,0)]" + "@value": "" } ] } @@ -776,21 +776,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2", @@ -831,6 +816,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers" + } + ] + } ] } ] @@ -916,9 +916,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -926,14 +926,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(25,14)-(26,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -941,7 +941,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,14)-(26,0)]" + "@value": "" } ] } @@ -1186,38 +1186,40 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#required" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(11,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "http://a.ml/vocabularies/apiContract#required" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(11,0)]" + "@value": "[(10,8)-(11,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1225,11 +1227,9 @@ "@value": "[(9,6)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id" @@ -1237,7 +1237,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,6)-(11,0)]" } ] } @@ -1252,9 +1252,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" @@ -1262,35 +1262,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + "@value": "[(19,4)-(26,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,4)-(26,0)]" + "@value": "[(19,4)-(19,13)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,4)-(19,13)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" } ] } @@ -1431,38 +1431,40 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#required" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(11,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "http://a.ml/vocabularies/apiContract#required" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(11,0)]" + "@value": "[(10,8)-(11,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1470,11 +1472,9 @@ "@value": "[(9,6)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id" @@ -1482,7 +1482,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,6)-(11,0)]" } ] } @@ -1497,9 +1497,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" @@ -1507,35 +1507,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + "@value": "[(26,4)-(37,36)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,4)-(37,36)]" + "@value": "[(26,4)-(26,10)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,4)-(26,10)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" } ] } @@ -1624,9 +1624,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -1634,14 +1634,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(33,16)-(34,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema" @@ -1649,7 +1649,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,16)-(34,0)]" + "@value": "" } ] } @@ -1836,9 +1836,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema" @@ -1846,35 +1846,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(37,12)-(37,36)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,12)-(37,36)]" + "@value": "[(37,30)-(37,36)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,30)-(37,36)]" + "@value": "" } ] } @@ -2108,38 +2108,40 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#required" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(11,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "http://a.ml/vocabularies/apiContract#required" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(11,0)]" + "@value": "[(10,8)-(11,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -2147,11 +2149,9 @@ "@value": "[(9,6)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id" @@ -2159,7 +2159,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,6)-(11,0)]" } ] } @@ -2174,9 +2174,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" @@ -2184,35 +2184,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + "@value": "[(27,6)-(37,36)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,6)-(37,36)]" + "@value": "[(27,6)-(27,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,6)-(27,12)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml.flattened.jsonld index 910899f3c1..541727c14d 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml.flattened.jsonld @@ -143,11 +143,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#extends-reference": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/source-map/extends-reference/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/source-map/lexical/element_1" @@ -155,6 +150,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#extends-reference": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/source-map/extends-reference/element_0" + } ] }, { @@ -209,11 +209,6 @@ "http://a.ml/vocabularies/apiContract#modelVersion": "3.9.0", "http://a.ml/vocabularies/document#sourceSpec": "RAML 1.0" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/source-map/extends-reference/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#extends", - "http://a.ml/vocabularies/document-source-maps#value": "../banking-api/api.raml" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#extends", @@ -224,6 +219,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#usage", "http://a.ml/vocabularies/document-source-maps#value": "[(2,0)-(3,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/source-map/extends-reference/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#extends", + "http://a.ml/vocabularies/document-source-maps#value": "../banking-api/api.raml" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/server/falsedomain.com%2Fapis", "@type": [ @@ -467,11 +467,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2" @@ -482,6 +477,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -529,11 +529,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1" @@ -541,6 +536,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0" + } ] }, { @@ -568,11 +568,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1" @@ -580,6 +575,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0" + } ] }, { @@ -647,11 +647,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1" @@ -659,6 +654,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0" + } ] }, { @@ -816,11 +816,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", @@ -836,6 +831,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(37,36)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200", "@type": [ @@ -908,6 +908,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2" @@ -918,18 +923,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", @@ -940,6 +935,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(19,4)-(19,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/scalar/schema", "@type": [ @@ -974,6 +974,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2" @@ -984,18 +989,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", @@ -1006,6 +1001,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(26,4)-(26,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200", "@type": [ @@ -1111,6 +1111,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2" @@ -1121,18 +1126,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", @@ -1143,6 +1138,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(27,6)-(27,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "@type": [ @@ -1307,6 +1307,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", @@ -1322,11 +1327,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(11,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/scalar/schema/source-map", "@type": [ @@ -1353,6 +1353,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", @@ -1368,11 +1373,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(11,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "@type": [ @@ -1488,6 +1488,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#required", @@ -1503,11 +1508,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(11,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/parameter/parameter/path/customer_id", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "@type": [ @@ -1703,14 +1703,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -1724,14 +1724,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -1745,14 +1745,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -1766,11 +1766,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1" @@ -1778,6 +1773,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" + } ] }, { @@ -1785,19 +1785,14 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson", "http://a.ml/vocabularies/document-source-maps#value": "[(37,12)-(37,36)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(16,12)-(17,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -1806,8 +1801,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(25,14)-(26,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Faccounts/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -1816,8 +1811,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(33,16)-(34,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/get/returns/resp/200/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -1829,6 +1824,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(37,30)-(37,36)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/overlay/api.raml#/references/0/web-api/endpoint/%2Fcustomers%2F%7Bcustomer_id%7D%2Fcards%2Fdebit/supportedOperation/post/expects/request/payload/application%2Fjson/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml.expanded.jsonld index 374830453e..ed7d6691e4 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml.expanded.jsonld @@ -295,9 +295,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema" @@ -305,35 +305,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,4)-(5,8)]" + "@value": "[(3,2)-(8,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(8,0)]" + "@value": "[(5,4)-(6,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,4)-(6,0)]" + "@value": "[(5,4)-(5,8)]" } ] } @@ -348,21 +348,6 @@ "@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/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a" - } - ], - "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/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/source-map/lexical/element_4", @@ -429,6 +414,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -500,9 +500,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop" @@ -510,35 +510,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,10)-(13,14)]" + "@value": "[(12,8)-(14,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(14,0)]" + "@value": "[(13,10)-(14,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,10)-(14,0)]" + "@value": "[(13,10)-(13,14)]" } ] } @@ -638,9 +638,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/source-map/parameter-binding-in-body-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F" @@ -648,35 +648,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,4)-(14,0)]" + "@value": "[(14,4)-(15,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(14,0)]" + "@value": "[(9,4)-(14,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/source-map/parameter-binding-in-body-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,4)-(15,0)]" + "@value": "[(11,6)-(14,0)]" } ] } @@ -706,6 +706,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F" + } + ], + "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/cycle/raml10/parameters/api.raml#/declares/payload%3F/source-map/lexical/element_2", @@ -746,21 +761,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml.flattened.jsonld index c2e4196e90..564ee2ad69 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml.flattened.jsonld @@ -247,11 +247,6 @@ "@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/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/source-map/lexical/element_4" @@ -268,6 +263,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/source-map/declared-element/element_0" + } ] }, { @@ -302,6 +302,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/source-map/parameter-name-for-payload/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/source-map/lexical/element_2" @@ -312,11 +317,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/source-map/declared-element/element_0" - } ] }, { @@ -324,11 +324,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_1" @@ -336,13 +331,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", @@ -368,6 +363,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#paramName", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(8,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop", "@type": [ @@ -407,6 +407,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/source-map/parameter-binding-in-body-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/source-map/lexical/element_1" @@ -414,11 +419,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/source-map/parameter-binding-in-body-lexical-info/element_0" - } ] }, { @@ -426,6 +426,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "payload->[(15,4)-(16,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -441,16 +446,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F", "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(16,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema", @@ -461,6 +456,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(6,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/parameter/path/a/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop", "@type": [ @@ -508,6 +508,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F", "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,4)-(15,0)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F", @@ -518,21 +523,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,4)-(15,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map/lexical/element_1" @@ -540,6 +535,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -552,11 +552,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop", @@ -566,6 +561,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(14,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/parameters/api.raml#/declares/payload%3F/shape/payload%3F/property/property/prop/scalar/prop", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,14)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml.expanded.jsonld index 45147f31d4..7a6906db7e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml.expanded.jsonld @@ -209,9 +209,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema" @@ -219,35 +219,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(21,8)-(22,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,8)-(22,0)]" + "@value": "[(21,26)-(21,32)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,26)-(21,32)]" + "@value": "" } ] } @@ -399,9 +399,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema" @@ -409,35 +409,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,14)-(14,18)]" + "@value": "[(13,12)-(15,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,12)-(15,0)]" + "@value": "[(14,14)-(15,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,14)-(15,0)]" + "@value": "[(14,14)-(14,18)]" } ] } @@ -605,9 +605,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema" @@ -615,14 +615,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(18,12)-(19,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema" @@ -630,7 +630,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,12)-(19,0)]" + "@value": "" } ] } @@ -695,9 +695,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema" @@ -705,14 +705,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(19,12)-(20,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema" @@ -720,7 +720,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,12)-(20,0)]" + "@value": "" } ] } @@ -862,21 +862,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_3", @@ -930,6 +915,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml.flattened.jsonld index 18e7ab5307..f3965a9738 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml.flattened.jsonld @@ -162,11 +162,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_3" @@ -180,6 +175,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0" + } ] }, { @@ -300,11 +300,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -325,6 +320,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(22,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson", "@type": [ @@ -630,11 +630,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1" @@ -642,6 +637,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" + } ] }, { @@ -654,11 +654,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1" @@ -666,6 +661,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -688,14 +688,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -709,14 +709,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema/source-map/auto-generated-name/element_0" } ] }, @@ -725,11 +725,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml", "http://a.ml/vocabularies/document-source-maps#value": "[(19,12)-(20,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema", @@ -741,9 +736,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(21,26)-(21,32)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,14)-(14,18)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/expects/request/payload/application%2Fjson/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", @@ -756,9 +751,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(14,14)-(15,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,14)-(14,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema/source-map/lexical/element_0", @@ -766,8 +761,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(18,12)-(19,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fjson/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -775,6 +770,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(19,12)-(20,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml#/web-api/endpoint/%2Flevelzero%2Flevel-one/supportedOperation/get/returns/resp/404/payload/application%2Fxml/any/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/payloads/api.raml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml.expanded.jsonld index c933e1bc15..29db1cff24 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml.expanded.jsonld @@ -229,9 +229,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union" @@ -239,14 +239,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "lat-long | loc" + "@value": "[(23,22)-(23,36)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union" @@ -254,7 +254,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,22)-(23,36)]" + "@value": "lat-long | loc" } ] } @@ -284,9 +284,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString" @@ -294,35 +294,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,4)-(23,38)]" + "@value": "[(23,6)-(23,10)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,6)-(23,38)]" + "@value": "[(22,4)-(23,38)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,6)-(23,10)]" + "@value": "[(23,6)-(23,38)]" } ] } @@ -550,9 +550,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat" @@ -560,35 +560,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(7,12)]" + "@value": "[(6,6)-(8,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(8,0)]" + "@value": "[(7,8)-(8,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(8,0)]" + "@value": "[(7,8)-(7,12)]" } ] } @@ -711,9 +711,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long" @@ -721,35 +721,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(9,12)]" + "@value": "[(8,6)-(10,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,6)-(10,0)]" + "@value": "[(9,8)-(10,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(10,0)]" + "@value": "[(9,8)-(9,12)]" } ] } @@ -860,6 +860,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long" + } + ], + "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/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/source-map/lexical/element_2", @@ -900,21 +915,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -967,9 +967,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location" @@ -977,14 +977,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(13,12)]" + "@value": "[(12,6)-(14,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location" @@ -992,7 +992,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,6)-(14,0)]" + "@value": "[(13,8)-(13,12)]" } ] } @@ -1103,6 +1103,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc" + } + ], + "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/cycle/raml10/query-string/api.raml#/declares/shape/loc/source-map/lexical/element_2", @@ -1143,21 +1158,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1216,9 +1216,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start" @@ -1226,35 +1226,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(17,12)]" + "@value": "[(16,6)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,6)-(18,0)]" + "@value": "[(17,8)-(18,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(18,0)]" + "@value": "[(17,8)-(17,12)]" } ] } @@ -1377,9 +1377,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size" @@ -1387,35 +1387,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(19,12)]" + "@value": "[(18,6)-(20,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,6)-(20,0)]" + "@value": "[(19,8)-(20,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(20,0)]" + "@value": "[(19,8)-(19,12)]" } ] } @@ -1526,6 +1526,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging" + } + ], + "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/cycle/raml10/query-string/api.raml#/declares/shape/paging/source-map/lexical/element_2", @@ -1566,21 +1581,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml.flattened.jsonld index 90ad0ad68e..0be3ffb2a5 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml.flattened.jsonld @@ -245,6 +245,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/lexical/element_1" @@ -252,11 +257,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -327,6 +327,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/source-map/lexical/element_2" @@ -337,11 +342,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/source-map/declared-element/element_0" - } ] }, { @@ -391,14 +391,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/source-map/type-expression/element_0" } ] }, @@ -407,6 +407,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString", + "http://a.ml/vocabularies/document-source-maps#value": "[(23,6)-(23,10)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString", @@ -417,11 +422,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(23,6)-(23,38)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString", - "http://a.ml/vocabularies/document-source-maps#value": "[(23,6)-(23,10)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start", "@type": [ @@ -513,6 +513,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -528,11 +533,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging", "http://a.ml/vocabularies/document-source-maps#value": "[(14,2)-(20,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/default-node/source-map", "@type": [ @@ -566,25 +566,20 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "lat-long | loc" + "http://a.ml/vocabularies/document-source-maps#value": "[(23,22)-(23,36)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "[(23,22)-(23,36)]" + "http://a.ml/vocabularies/document-source-maps#value": "lat-long | loc" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1" @@ -592,6 +587,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -619,11 +619,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1" @@ -631,6 +626,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -673,11 +673,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/queryString/inherits/union/default-union/anyOf/shape/default-node_1", "http://a.ml/vocabularies/document-source-maps#value": "[(23,33)-(23,36)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(17,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start", @@ -689,9 +684,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(18,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(17,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", @@ -703,6 +698,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(20,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size", + "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml", "http://a.ml/vocabularies/document#declares": [ @@ -835,6 +835,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/source-map/lexical/element_2" @@ -845,11 +850,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/source-map/declared-element/element_0" - } ] }, { @@ -886,6 +886,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/source-map/lexical/element_2" @@ -896,11 +901,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/source-map/declared-element/element_0" - } ] }, { @@ -994,6 +994,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -1009,11 +1014,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(10,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location", "@type": [ @@ -1056,6 +1056,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -1071,21 +1076,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc", "http://a.ml/vocabularies/document-source-maps#value": "[(10,2)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1" @@ -1093,6 +1088,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1120,11 +1120,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1" @@ -1132,6 +1127,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1159,14 +1159,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0" } ] }, @@ -1190,11 +1190,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(12,15)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat", @@ -1206,9 +1201,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(8,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", @@ -1221,14 +1216,19 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(10,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location", "http://a.ml/vocabularies/document-source-maps#value": "[(12,6)-(14,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/query-string/api.raml#/declares/shape/loc/property/property/location/nil/location", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml.expanded.jsonld index f28da8a0bc..fa4140b5ec 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml.expanded.jsonld @@ -263,21 +263,6 @@ "@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/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2" - } - ], - "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/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2/source-map/lexical/element_4", @@ -344,6 +329,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -839,21 +839,6 @@ "@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/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2" - } - ], - "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/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2/source-map/lexical/element_4", @@ -920,6 +905,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml.flattened.jsonld index 668c53e413..176d37082b 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml.flattened.jsonld @@ -265,11 +265,6 @@ "@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/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2/source-map/lexical/element_4" @@ -286,6 +281,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2/source-map/declared-element/element_0" + } ] }, { @@ -365,11 +365,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -395,6 +390,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/declares/scheme/Oauth2", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/raml-security/api.raml#/web-api/endpoint/%2Ftraining/supportedOperation/post/security/default-requirement_1/schemes/Oauth2/settings/oauth2/flows/default-flow/scope/https%3A%2F%2Foauth.net%2F2.full_control", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml.expanded.jsonld index 74068aeeb7..f17cdb7c97 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml.expanded.jsonld @@ -123,9 +123,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a" @@ -133,35 +133,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,12)-(9,16)]" + "@value": "[(8,10)-(10,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,10)-(10,0)]" + "@value": "[(9,12)-(10,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,12)-(10,0)]" + "@value": "[(9,12)-(9,16)]" } ] } @@ -284,9 +284,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b" @@ -294,35 +294,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,12)-(11,16)]" + "@value": "[(10,10)-(13,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,10)-(13,0)]" + "@value": "[(11,12)-(12,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,12)-(12,0)]" + "@value": "[(11,12)-(11,16)]" } ] } @@ -741,6 +741,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema" + } + ], + "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/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", @@ -781,21 +796,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml.flattened.jsonld index 807edb05ce..830922102c 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml.flattened.jsonld @@ -312,6 +312,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2" @@ -322,11 +327,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" - } ] }, { @@ -466,6 +466,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -481,21 +486,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(13,46)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1" @@ -503,6 +498,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -530,11 +530,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b/source-map/lexical/element_1" @@ -542,6 +537,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -641,11 +641,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/examples/example/default-example", "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,12)-(9,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a", @@ -657,9 +652,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,12)-(10,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,12)-(11,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/a/scalar/a", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,12)-(9,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b/source-map/lexical/element_1", @@ -671,6 +666,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(11,12)-(12,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/b/scalar/b", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,12)-(11,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/referenced-example/api.raml#/web-api/endpoint/%2FmyEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/examples/example/default-example/object_1/a/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml.expanded.jsonld index acd23d66c5..ba82836ca0 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml.expanded.jsonld @@ -351,9 +351,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -361,35 +361,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,6)-(25,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,8)-(25,0)]" + "@value": "[(21,6)-(25,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(23,8)-(25,0)]" } ] } @@ -733,21 +733,6 @@ "@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/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection" - } - ], - "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/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection/source-map/lexical/element_3", @@ -801,6 +786,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1256,9 +1256,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name" @@ -1266,35 +1266,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(8,12)]" + "@value": "[(7,6)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(9,0)]" + "@value": "[(8,8)-(9,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(9,0)]" + "@value": "[(8,8)-(8,12)]" } ] } @@ -1420,6 +1420,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium" + } + ], + "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/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/source-map/lexical/element_2", @@ -1460,21 +1475,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1710,21 +1710,6 @@ "@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/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection" - } - ], - "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/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection/source-map/lexical/element_3", @@ -1778,6 +1763,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml.flattened.jsonld index 1f59f373a4..b9fedc4281 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml.flattened.jsonld @@ -280,11 +280,6 @@ "@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/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection/source-map/lexical/element_3" @@ -298,6 +293,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0" + } ] }, { @@ -420,11 +420,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#dataNode", @@ -445,6 +440,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection", "http://a.ml/vocabularies/document-source-maps#value": "[(10,2)-(13,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/extends/collection/variable/complex/object_1/application%2Fjson", "@type": [ @@ -523,6 +523,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -530,11 +535,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" - } ] }, { @@ -701,6 +701,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(22,8)-(22,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", @@ -711,11 +716,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(23,8)-(25,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/resourceType/collection/object_1/post%3F/body/source-map", "@type": [ @@ -1007,6 +1007,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/source-map/lexical/element_2" @@ -1017,11 +1022,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/source-map/declared-element/element_0" - } ] }, { @@ -1077,6 +1077,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium", "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -1092,21 +1097,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(9,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_1" @@ -1114,6 +1109,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1136,11 +1136,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(7,11)-(9,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name", @@ -1150,6 +1145,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(9,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-complex-variables/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml.expanded.jsonld index 908f69bf75..2a16da986c 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml.expanded.jsonld @@ -744,9 +744,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection" @@ -754,35 +754,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(3,51)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(3,22)]" + "@value": "[(3,2)-(3,51)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(3,2)-(3,22)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml.flattened.jsonld index 5814de894c..6c08d2f8a4 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml.flattened.jsonld @@ -159,6 +159,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_1" @@ -166,11 +171,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0" - } ] }, { @@ -222,6 +222,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection", "http://a.ml/vocabularies/document-source-maps#value": "resource-type.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection", @@ -232,11 +237,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(3,22)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/declares/resourceType/searchableCollection", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-fragment/api.raml#/references/0/resourceType/default-abstract/object_1/get", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml.expanded.jsonld index 783f345b4c..250ea585e4 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml.expanded.jsonld @@ -351,9 +351,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -361,35 +361,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,6)-(23,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,8)-(23,0)]" + "@value": "[(19,6)-(23,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(21,8)-(23,0)]" } ] } @@ -751,9 +751,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name" @@ -761,35 +761,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(8,12)]" + "@value": "[(7,6)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(9,0)]" + "@value": "[(8,8)-(9,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(9,0)]" + "@value": "[(8,8)-(8,12)]" } ] } @@ -915,6 +915,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium" + } + ], + "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/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/source-map/lexical/element_2", @@ -955,21 +970,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1337,21 +1337,6 @@ "@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/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection" - } - ], - "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/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection/source-map/lexical/element_3", @@ -1405,6 +1390,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml.flattened.jsonld index ba5c22ea92..5190747b8e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml.flattened.jsonld @@ -347,6 +347,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -354,11 +359,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" - } ] }, { @@ -417,6 +417,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(20,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", @@ -427,11 +432,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(21,8)-(23,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/web-api/endpoint/%2Fmedia/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/examples/example/default-example/object_1/name_1", "@type": [ @@ -645,6 +645,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/source-map/lexical/element_2" @@ -655,11 +660,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/source-map/declared-element/element_0" - } ] }, { @@ -684,11 +684,6 @@ "@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/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection/source-map/lexical/element_3" @@ -702,6 +697,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0" + } ] }, { @@ -757,6 +757,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium", "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -772,11 +777,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(9,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection/object_1/post%3F", "@type": [ @@ -813,11 +813,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#dataNode", @@ -838,16 +833,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection", "http://a.ml/vocabularies/document-source-maps#value": "[(10,2)-(15,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_1" @@ -855,6 +850,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -928,11 +928,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#post%3F", "http://a.ml/vocabularies/document-source-maps#value": "[(11,4)-(15,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name", @@ -943,6 +938,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(9,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/shape/PostMedium/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/resource-type-multi-transformation/api.raml#/declares/resourceType/collection/object_1/post%3F/body/application%2Fjson", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml.expanded.jsonld index c15b20c3b8..cec85cf9d5 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml.expanded.jsonld @@ -142,9 +142,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node" @@ -152,14 +152,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,18)-(22,30)]" + "@value": "objectName" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node" @@ -167,7 +167,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "objectName" + "@value": "[(22,18)-(22,30)]" } ] } @@ -3393,9 +3393,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" @@ -3403,35 +3403,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(21,10)-(24,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,10)-(24,0)]" + "@value": "[(23,12)-(24,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,12)-(24,0)]" + "@value": "" } ] } @@ -3640,9 +3640,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName" @@ -3650,14 +3650,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(27,8)-(28,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName" @@ -3665,7 +3665,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,8)-(28,0)]" + "@value": "" } ] } @@ -5266,6 +5266,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(27,8)-(27,12)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", @@ -5306,21 +5321,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(27,8)-(27,12)]" - } - ] - } ] } ] @@ -5718,9 +5718,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F" @@ -5728,35 +5728,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,12)-(8,16)]" + "@value": "[(7,10)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,10)-(9,0)]" + "@value": "[(8,12)-(9,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,12)-(9,0)]" + "@value": "[(8,12)-(8,16)]" } ] } @@ -5879,9 +5879,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name" @@ -5889,35 +5889,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,12)-(10,16)]" + "@value": "[(9,10)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,10)-(11,0)]" + "@value": "[(10,12)-(11,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,12)-(11,0)]" + "@value": "[(10,12)-(10,16)]" } ] } @@ -6040,9 +6040,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone" @@ -6050,35 +6050,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,12)-(12,16)]" + "@value": "[(11,10)-(13,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,10)-(13,0)]" + "@value": "[(12,12)-(13,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,12)-(13,0)]" + "@value": "[(12,12)-(12,16)]" } ] } @@ -6201,9 +6201,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email" @@ -6211,35 +6211,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,12)-(14,16)]" + "@value": "[(13,10)-(16,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,10)-(16,0)]" + "@value": "[(14,12)-(16,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,12)-(16,0)]" + "@value": "[(14,12)-(14,16)]" } ] } @@ -6350,6 +6350,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName" + } + ], + "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/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/source-map/lexical/element_2", @@ -6390,21 +6405,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml.flattened.jsonld index 4ff4f43a21..98a8b445a1 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml.flattened.jsonld @@ -420,11 +420,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1" @@ -433,6 +428,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0" @@ -498,6 +498,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2" @@ -508,11 +513,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -533,14 +533,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0" } ] }, @@ -588,11 +588,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", @@ -603,6 +598,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#examples", "http://a.ml/vocabularies/document-source-maps#value": "[(23,12)-(24,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", @@ -613,14 +613,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName/source-map/auto-generated-name/element_0" } ] }, @@ -679,6 +679,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,8)-(27,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", @@ -694,11 +699,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(26,6)-(28,69)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,8)-(27,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -710,14 +710,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "[(22,18)-(22,30)]" + "http://a.ml/vocabularies/document-source-maps#value": "objectName" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node", - "http://a.ml/vocabularies/document-source-maps#value": "objectName" + "http://a.ml/vocabularies/document-source-maps#value": "[(22,18)-(22,30)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/examples/example/default-example/array_1/member/object_2", @@ -810,14 +810,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/get/returns/resp/200/payload/application%2Fjson" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(27,8)-(28,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/objectName", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,8)-(28,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/web-api/endpoint/%2Fcustomer/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/examples/example/default-example/object_1/name_1", @@ -4429,6 +4429,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/source-map/lexical/element_2" @@ -4439,11 +4444,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/source-map/declared-element/element_0" - } ] }, { @@ -4633,6 +4633,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -4648,21 +4653,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(16,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F/source-map/lexical/element_1" @@ -4670,6 +4665,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -4697,11 +4697,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name/source-map/lexical/element_1" @@ -4709,6 +4704,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -4736,11 +4736,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone/source-map/lexical/element_1" @@ -4748,6 +4743,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -4775,11 +4775,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email/source-map/lexical/element_1" @@ -4787,6 +4782,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -4809,11 +4809,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(13,16)-(16,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,12)-(8,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F", @@ -4825,9 +4820,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,12)-(9,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,12)-(10,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/id/scalar/id%3F", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,12)-(8,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name/source-map/lexical/element_1", @@ -4840,9 +4835,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(10,12)-(11,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,12)-(12,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,12)-(10,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone/source-map/lexical/element_1", @@ -4855,9 +4850,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(12,12)-(13,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,12)-(14,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/phone/scalar/phone", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,12)-(12,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email/source-map/lexical/element_1", @@ -4868,6 +4863,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(14,12)-(16,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/sapi-customer/api.raml#/declares/shape/objectName/property/property/email/scalar/email", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,12)-(14,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml.expanded.jsonld index 59c4065864..943b575069 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml.expanded.jsonld @@ -136,9 +136,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0" @@ -146,35 +146,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(7,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,11)]" + "@value": "[(6,2)-(7,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(6,11)]" } ] } @@ -336,21 +336,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(14,10)-(14,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -391,6 +376,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(14,10)-(14,14)]" + } + ] + } ] } ] @@ -541,9 +541,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema" @@ -551,35 +551,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,8)-(18,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,10)-(18,0)]" + "@value": "[(16,8)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(17,10)-(18,0)]" } ] } @@ -746,9 +746,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" @@ -756,35 +756,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,18)-(26,22)]" + "@value": "[(25,16)-(27,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,16)-(27,0)]" + "@value": "[(26,18)-(27,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,18)-(27,0)]" + "@value": "[(26,18)-(26,22)]" } ] } @@ -910,9 +910,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema" @@ -920,35 +920,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,12)-(27,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,25)-(27,0)]" + "@value": "[(22,12)-(27,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(24,25)-(27,0)]" } ] } @@ -1147,21 +1147,6 @@ "@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/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0" - } - ], - "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/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/source-map/lexical/element_7", @@ -1267,6 +1252,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1461,9 +1461,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#null-security": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null" @@ -1471,14 +1471,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(42,8)-(42,12)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#null-security": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null" @@ -1486,7 +1486,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(42,8)-(42,12)]" } ] } @@ -1608,9 +1608,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0" @@ -1618,35 +1618,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(7,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,11)]" + "@value": "[(6,2)-(7,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(6,11)]" } ] } @@ -1973,9 +1973,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid" @@ -1983,14 +1983,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(39,7)-(39,15)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid" @@ -1998,7 +1998,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,7)-(39,15)]" + "@value": "true" } ] } @@ -2135,9 +2135,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0" @@ -2145,35 +2145,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(7,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,11)]" + "@value": "[(6,2)-(7,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(6,11)]" } ] } @@ -2390,21 +2390,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(16,6)-(16,10)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -2445,6 +2430,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,6)-(16,10)]" + } + ] + } ] } ] @@ -2595,9 +2595,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema" @@ -2605,35 +2605,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,4)-(20,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,6)-(20,0)]" + "@value": "[(18,4)-(20,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(19,6)-(20,0)]" } ] } @@ -3127,9 +3127,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0" @@ -3137,35 +3137,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(7,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,11)]" + "@value": "[(6,2)-(7,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(6,11)]" } ] } @@ -3258,21 +3258,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(14,10)-(14,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -3313,6 +3298,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(14,10)-(14,14)]" + } + ] + } ] } ] @@ -3463,9 +3463,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema" @@ -3473,35 +3473,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,8)-(18,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,10)-(18,0)]" + "@value": "[(16,8)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(17,10)-(18,0)]" } ] } @@ -3668,9 +3668,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" @@ -3678,35 +3678,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,18)-(26,22)]" + "@value": "[(25,16)-(27,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,16)-(27,0)]" + "@value": "[(26,18)-(27,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,18)-(27,0)]" + "@value": "[(26,18)-(26,22)]" } ] } @@ -3832,9 +3832,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema" @@ -3842,35 +3842,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,12)-(27,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,25)-(27,0)]" + "@value": "[(22,12)-(27,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(24,25)-(27,0)]" } ] } @@ -4069,21 +4069,6 @@ "@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/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0" - } - ], - "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/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/source-map/lexical/element_7", @@ -4189,6 +4174,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml.flattened.jsonld index b689e1d814..74b3c50150 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml.flattened.jsonld @@ -391,14 +391,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/virtual-element/element_0" } ] }, @@ -601,14 +601,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(39,7)-(39,15)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/parameter/parameter/path/userid", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,7)-(39,15)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map", @@ -628,6 +628,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_1" @@ -635,11 +640,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" - } ] }, { @@ -722,14 +722,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#null-security": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#null-security": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0" } ] }, @@ -790,6 +790,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0", "http://a.ml/vocabularies/document-source-maps#value": "../../../../references/fragments/security-scheme.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0", @@ -800,11 +805,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,11)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_2_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/security/default-requirement_1/schemes/oauth_2_0", @@ -899,11 +899,6 @@ "@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/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/source-map/lexical/element_7" @@ -929,6 +924,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/source-map/lexical/element_6" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/source-map/declared-element/element_0" + } ] }, { @@ -942,14 +942,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null", - "http://a.ml/vocabularies/document-source-maps#value": "[(42,8)-(42,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/null-security/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_1/schemes/null", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(42,8)-(42,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/settings/oauth2/flows/default-flow", @@ -1134,11 +1134,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/source-map/lexical/element_7", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#response", @@ -1179,6 +1174,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#header", "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(15,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/web-api/endpoint/%2Fusers%2F%7Buserid%7D%2Fgists/supportedOperation/get/security/default-requirement_2/schemes/oauth_2_0/settings/oauth2/flows/default-flow/scope/ADMINISTRATOR", "@type": [ @@ -1211,11 +1211,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2" @@ -1226,6 +1221,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1258,6 +1258,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1" @@ -1265,11 +1270,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0" - } ] }, { @@ -1375,11 +1375,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#scope", "http://a.ml/vocabularies/document-source-maps#value": "[(45,10)-(47,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(14,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1395,11 +1390,21 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(15,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/header/parameter/header/Authorization/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(14,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema", @@ -1410,11 +1415,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(18,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/parameter/parameter/query/access_token/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge", "@type": [ @@ -1454,6 +1454,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -1461,11 +1466,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" - } ] }, { @@ -1526,6 +1526,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(23,14)-(23,18)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema", @@ -1536,21 +1541,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(24,25)-(27,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_1" @@ -1558,6 +1553,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1580,11 +1580,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(25,22)-(27,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge", - "http://a.ml/vocabularies/document-source-maps#value": "[(26,18)-(26,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge", @@ -1595,6 +1590,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(26,18)-(27,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/declares/scheme/oauth_1_0/response/resp/401/payload/application%2Fjson/shape/schema/property/property/merge/scalar/merge", + "http://a.ml/vocabularies/document-source-maps#value": "[(26,18)-(26,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml", "http://a.ml/vocabularies/document#references": [ @@ -1979,11 +1979,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2" @@ -1994,6 +1989,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2026,6 +2026,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1" @@ -2033,11 +2038,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0" - } ] }, { @@ -2116,11 +2116,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#authorizationGrant", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(9,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(16,10)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -2136,11 +2131,21 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(14,4)-(17,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/header/parameter/header/Authorization/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(16,10)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema", @@ -2151,11 +2156,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(19,6)-(20,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/parameter/parameter/query/access_token/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/secured-by/api.raml#/references/0/scheme/fragment/settings/oauth2/flows/default-flow/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#accessTokenUri", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml.expanded.jsonld index fc427b2e21..44d19f47de 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml.expanded.jsonld @@ -137,9 +137,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat" @@ -147,35 +147,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(7,12)]" + "@value": "[(6,6)-(8,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(8,0)]" + "@value": "[(7,8)-(8,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(8,0)]" + "@value": "[(7,8)-(7,12)]" } ] } @@ -298,9 +298,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long" @@ -308,35 +308,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(9,12)]" + "@value": "[(8,6)-(10,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,6)-(10,0)]" + "@value": "[(9,8)-(10,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(10,0)]" + "@value": "[(9,8)-(9,12)]" } ] } @@ -447,6 +447,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long" + } + ], + "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/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/source-map/lexical/element_2", @@ -487,21 +502,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -554,9 +554,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location" @@ -564,14 +564,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(13,12)]" + "@value": "[(12,6)-(14,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location" @@ -579,7 +579,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,6)-(14,0)]" + "@value": "[(13,8)-(13,12)]" } ] } @@ -690,6 +690,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc" + } + ], + "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/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/source-map/lexical/element_2", @@ -730,21 +745,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -803,9 +803,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start" @@ -813,35 +813,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(17,12)]" + "@value": "[(16,6)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,6)-(18,0)]" + "@value": "[(17,8)-(18,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,8)-(18,0)]" + "@value": "[(17,8)-(17,12)]" } ] } @@ -964,9 +964,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size" @@ -974,35 +974,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(19,12)]" + "@value": "[(18,6)-(20,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,6)-(20,0)]" + "@value": "[(19,8)-(20,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(20,0)]" + "@value": "[(19,8)-(19,12)]" } ] } @@ -1113,6 +1113,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging" + } + ], + "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/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/source-map/lexical/element_2", @@ -1153,21 +1168,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1194,21 +1194,6 @@ "@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/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0" - } - ], - "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/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_2", @@ -1249,6 +1234,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml.flattened.jsonld index a15a548263..fa02cc5a0c 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml.flattened.jsonld @@ -221,6 +221,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/source-map/lexical/element_2" @@ -231,11 +236,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/source-map/declared-element/element_0" - } ] }, { @@ -272,6 +272,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/source-map/lexical/element_2" @@ -282,11 +287,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/source-map/declared-element/element_0" - } ] }, { @@ -347,6 +347,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/source-map/lexical/element_2" @@ -357,11 +362,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/source-map/declared-element/element_0" - } ] }, { @@ -369,11 +369,6 @@ "@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/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_2" @@ -384,6 +379,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" + } ] }, { @@ -477,6 +477,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -492,11 +497,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(10,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location", "@type": [ @@ -539,6 +539,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -554,11 +559,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc", "http://a.ml/vocabularies/document-source-maps#value": "[(10,2)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start", "@type": [ @@ -650,6 +650,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -665,16 +670,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging", "http://a.ml/vocabularies/document-source-maps#value": "[(14,2)-(20,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -690,16 +685,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0", "http://a.ml/vocabularies/document-source-maps#value": "[(21,2)-(23,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/scheme/oauth_2_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1" @@ -707,6 +702,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -734,11 +734,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1" @@ -746,6 +741,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -773,14 +773,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0" } ] }, @@ -809,11 +809,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1" @@ -821,6 +816,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -848,11 +848,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1" @@ -860,6 +855,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -882,11 +882,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(18,16)-(20,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat", @@ -898,9 +893,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(8,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/lat/scalar/lat", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", @@ -913,9 +908,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(10,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/lat-long/property/property/long/scalar/long", + "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(9,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/lexical/element_0", @@ -923,9 +918,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(12,6)-(14,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(17,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/loc/property/property/location/nil/location", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", @@ -938,9 +933,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(18,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/start/scalar/start", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,8)-(17,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", @@ -951,6 +946,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(20,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security-with-query-string/api.raml#/declares/shape/paging/property/property/page-size/scalar/page-size", + "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml.expanded.jsonld index ccbecd81d4..77cd63511d 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml.expanded.jsonld @@ -279,21 +279,6 @@ "@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/cycle/raml10/security/api.raml#/declares/scheme/custom_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/custom_auth" - } - ], - "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/cycle/raml10/security/api.raml#/declares/scheme/custom_auth/source-map/lexical/element_3", @@ -347,6 +332,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/custom_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/custom_auth" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -373,21 +373,6 @@ "@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/cycle/raml10/security/api.raml#/declares/scheme/basic_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/basic_auth" - } - ], - "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/cycle/raml10/security/api.raml#/declares/scheme/basic_auth/source-map/lexical/element_2", @@ -428,6 +413,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/basic_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/basic_auth" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -512,21 +512,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(17,10)-(17,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -567,6 +552,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,10)-(17,14)]" + } + ] + } ] } ] @@ -717,9 +717,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema" @@ -727,35 +727,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,8)-(21,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,10)-(21,0)]" + "@value": "[(19,8)-(21,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(20,10)-(21,0)]" } ] } @@ -1062,21 +1062,6 @@ "@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/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0" - } - ], - "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/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_6", @@ -1169,6 +1154,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1264,21 +1264,6 @@ "@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/cycle/raml10/security/api.raml#/declares/scheme/api_key/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/api_key" - } - ], - "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/cycle/raml10/security/api.raml#/declares/scheme/api_key/source-map/lexical/element_3", @@ -1332,6 +1317,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/api_key/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/api_key" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1358,21 +1358,6 @@ "@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/cycle/raml10/security/api.raml#/declares/scheme/digest_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/digest_auth" - } - ], - "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/cycle/raml10/security/api.raml#/declares/scheme/digest_auth/source-map/lexical/element_2", @@ -1413,6 +1398,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/digest_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/digest_auth" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml.flattened.jsonld index 1338e6f46b..dfe26a4ab4 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml.flattened.jsonld @@ -194,11 +194,6 @@ "@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/cycle/raml10/security/api.raml#/declares/scheme/custom_auth/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/custom_auth/source-map/lexical/element_3" @@ -212,6 +207,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/custom_auth/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/custom_auth/source-map/declared-element/element_0" + } ] }, { @@ -219,11 +219,6 @@ "@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/cycle/raml10/security/api.raml#/declares/scheme/basic_auth/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/basic_auth/source-map/lexical/element_2" @@ -234,6 +229,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/basic_auth/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/basic_auth/source-map/declared-element/element_0" + } ] }, { @@ -323,11 +323,6 @@ "@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/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_6" @@ -350,6 +345,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_5" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" + } ] }, { @@ -372,11 +372,6 @@ "@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/cycle/raml10/security/api.raml#/declares/scheme/api_key/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/api_key/source-map/lexical/element_3" @@ -390,6 +385,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/api_key/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/api_key/source-map/declared-element/element_0" + } ] }, { @@ -397,11 +397,6 @@ "@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/cycle/raml10/security/api.raml#/declares/scheme/digest_auth/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/digest_auth/source-map/lexical/element_2" @@ -412,6 +407,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/digest_auth/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/digest_auth/source-map/declared-element/element_0" + } ] }, { @@ -442,11 +442,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/custom_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/custom_auth", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/custom_auth/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -468,8 +463,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(33,2)-(36,21)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/basic_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/basic_auth", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/custom_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/custom_auth", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -487,6 +482,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/basic_auth", "http://a.ml/vocabularies/document-source-maps#value": "[(24,2)-(26,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/basic_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/basic_auth", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", "@type": [ @@ -625,11 +625,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#response", @@ -665,6 +660,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#header", "http://a.ml/vocabularies/document-source-maps#value": "[(14,6)-(18,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/api_key/settings/api-key/source-map", "@type": [ @@ -682,11 +682,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/api_key/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/api_key", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/api_key/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -708,8 +703,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(28,2)-(33,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/digest_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/digest_auth", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/api_key/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/api_key", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -727,6 +722,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/digest_auth", "http://a.ml/vocabularies/document-source-maps#value": "[(26,2)-(28,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/digest_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/digest_auth", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/custom_auth/settings/default/object_1/custom", "@type": [ @@ -776,11 +776,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2" @@ -791,6 +786,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -823,6 +823,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1" @@ -830,11 +835,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0" - } ] }, { @@ -962,11 +962,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#custom", "http://a.ml/vocabularies/document-source-maps#value": "[(36,6)-(36,21)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(17,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -982,11 +977,21 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(18,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(17,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema", @@ -997,11 +1002,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(21,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/security/api.raml#/declares/scheme/oauth_2_0/settings/oauth2/flows/default-flow/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#accessTokenUri", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml.expanded.jsonld index 49ccfbecf5..92e3d851d6 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml.expanded.jsonld @@ -191,9 +191,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson" @@ -201,14 +201,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(16,8)-(16,23)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson" @@ -216,7 +216,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,8)-(16,23)]" + "@value": "" } ] } @@ -246,9 +246,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -256,35 +256,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,6)-(16,23)]" + "@value": "[(16,8)-(16,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,8)-(16,23)]" + "@value": "[(15,6)-(16,23)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,8)-(16,12)]" + "@value": "[(16,8)-(16,23)]" } ] } @@ -956,6 +956,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(2,0)-(2,4)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type/source-map/lexical/element_2", @@ -996,21 +1011,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(2,0)-(2,4)]" - } - ] - } ] } ] @@ -1125,9 +1125,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson" @@ -1135,35 +1135,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,2)-(10,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,2)-(8,11)]" + "@value": "[(8,2)-(10,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(8,2)-(8,11)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml.flattened.jsonld index 1057343b95..1e428b2f45 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml.flattened.jsonld @@ -346,6 +346,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -353,11 +358,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -370,14 +370,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson/source-map/auto-generated-name/element_0" } ] }, @@ -386,6 +386,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,8)-(16,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", @@ -397,20 +402,15 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(16,8)-(16,23)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,8)-(16,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,8)-(16,23)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson", "http://a.ml/vocabularies/document-source-maps#value": "" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/web-api/endpoint/%2Fpeople/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/AppPerson", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,8)-(16,23)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml", "http://a.ml/vocabularies/document#references": [ @@ -540,6 +540,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson/source-map/lexical/element_1" @@ -547,11 +552,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson/source-map/declared-element/element_0" - } ] }, { @@ -605,6 +605,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type/source-map/lexical/element_2" @@ -615,11 +620,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -637,6 +637,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson", "http://a.ml/vocabularies/document-source-maps#value": "app-person.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson", @@ -647,11 +652,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(8,2)-(8,11)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/declares/shape/AppPerson", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type/property/property/a/scalar/a", "@type": [ @@ -736,6 +736,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type", + "http://a.ml/vocabularies/document-source-maps#value": "[(2,0)-(2,4)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -751,11 +756,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type", "http://a.ml/vocabularies/document-source-maps#value": "[(2,0)-(6,10)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(2,0)-(2,4)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_example_type/api.raml#/references/0/shape/type/property/property/a/scalar/a/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml.expanded.jsonld index 5cd79a3d4b..646bd1f03a 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml.expanded.jsonld @@ -295,6 +295,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema" + } + ], + "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/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema/source-map/lexical/element_3", @@ -348,21 +363,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml.flattened.jsonld index 2ad835beab..8502c25613 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml.flattened.jsonld @@ -197,6 +197,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema/source-map/lexical/element_3" @@ -210,11 +215,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema/source-map/declared-element/element_0" - } ] }, { @@ -243,6 +243,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#location", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -263,11 +268,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(9,52)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/simple_xml_schema/api.raml#/declares/schema/XmlSchema/examples/example/default-example/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#strict", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml.expanded.jsonld index 9471f8db10..533238cbd5 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml.expanded.jsonld @@ -284,21 +284,6 @@ "@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/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0" - } - ], - "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/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_5", @@ -378,6 +363,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -928,21 +928,6 @@ "@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/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized" - } - ], - "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/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized/source-map/lexical/element_3", @@ -996,6 +981,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1374,21 +1374,6 @@ "@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/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0" - } - ], - "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/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_5", @@ -1468,6 +1453,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1903,21 +1903,6 @@ "@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/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection" - } - ], - "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/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_3", @@ -1971,6 +1956,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -2765,21 +2765,6 @@ "@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/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection" - } - ], - "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/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_3", @@ -2833,6 +2818,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -2997,21 +2997,6 @@ "@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/cycle/raml10/single-array-value/api.raml#/declares/trait/secured/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/secured" - } - ], - "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/cycle/raml10/single-array-value/api.raml#/declares/trait/secured/source-map/lexical/element_2", @@ -3052,6 +3037,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/secured/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/secured" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3353,21 +3353,6 @@ "@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/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized" - } - ], - "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/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized/source-map/lexical/element_3", @@ -3421,6 +3406,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3585,21 +3585,6 @@ "@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/cycle/raml10/single-array-value/api.raml#/declares/trait/descr/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/descr" - } - ], - "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/cycle/raml10/single-array-value/api.raml#/declares/trait/descr/source-map/lexical/element_2", @@ -3640,6 +3625,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/descr/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/descr" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3795,21 +3795,6 @@ "@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/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0" - } - ], - "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/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_5", @@ -3889,6 +3874,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml.flattened.jsonld index d9805ce6ba..f4ef371c04 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml.flattened.jsonld @@ -690,11 +690,6 @@ "@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/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_3" @@ -708,6 +703,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0" + } ] }, { @@ -844,11 +844,6 @@ "@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/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized/source-map/lexical/element_3" @@ -862,6 +857,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized/source-map/declared-element/element_0" + } ] }, { @@ -934,11 +934,6 @@ "@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/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_5" @@ -958,6 +953,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_4" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" + } ] }, { @@ -1001,11 +1001,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#dataNode", @@ -1026,6 +1021,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection", "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(21,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/web-api/endpoint/%2Ftop/extends/searchableCollection/variable/queryParamName/scalar_1/source-map", "@type": [ @@ -1116,11 +1116,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#dataNode", @@ -1141,6 +1136,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized", "http://a.ml/vocabularies/document-source-maps#value": "[(24,2)-(28,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/parameterized", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/web-api/endpoint/%2Ftop/supportedOperation/post/extends/parameterized/variable/tokenName/scalar_1/source-map", "@type": [ @@ -1198,11 +1198,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -1233,6 +1228,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(11,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/scheme/oauth_2_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/resourceType/searchableCollection/object_1/get/queryParameters", "@type": [ @@ -1753,11 +1753,6 @@ "@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/cycle/raml10/single-array-value/api.raml#/declares/trait/secured/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/secured/source-map/lexical/element_2" @@ -1768,6 +1763,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/secured/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/secured/source-map/declared-element/element_0" + } ] }, { @@ -1792,11 +1792,6 @@ "@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/cycle/raml10/single-array-value/api.raml#/declares/trait/descr/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/descr/source-map/lexical/element_2" @@ -1807,6 +1802,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/descr/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/descr/source-map/declared-element/element_0" + } ] }, { @@ -1848,11 +1848,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/secured/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/secured", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/secured/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -1868,6 +1863,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/secured", "http://a.ml/vocabularies/document-source-maps#value": "[(22,2)-(24,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/secured/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/secured", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/descr/object_1/description", "@type": [ @@ -1907,11 +1907,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/descr/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/descr", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/descr/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -1927,6 +1922,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/descr", "http://a.ml/vocabularies/document-source-maps#value": "[(28,2)-(30,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/descr/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/descr", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/single-array-value/api.raml#/declares/trait/secured/object_1/description/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml.expanded.jsonld index 340d98e071..73de8a8da0 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml.expanded.jsonld @@ -119,9 +119,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org" @@ -129,14 +129,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(28,8)-(29,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org" @@ -144,7 +144,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,8)-(29,0)]" + "@value": "" } ] } @@ -503,6 +503,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,8)-(28,12)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", @@ -543,21 +558,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(28,8)-(28,12)]" - } - ] - } ] } ] @@ -813,21 +813,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(24,8)-(24,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3", @@ -881,6 +866,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(24,8)-(24,12)]" + } + ] + } ] } ] @@ -1129,9 +1129,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org" @@ -1139,14 +1139,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(39,12)-(40,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org" @@ -1154,7 +1154,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,12)-(40,0)]" + "@value": "" } ] } @@ -1837,6 +1837,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,12)-(39,16)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", @@ -1877,21 +1892,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(39,12)-(39,16)]" - } - ] - } ] } ] @@ -2761,6 +2761,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User" + } + ], + "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/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User/source-map/lexical/element_3", @@ -2814,21 +2829,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -3328,6 +3328,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org" + } + ], + "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/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org/source-map/lexical/element_2", @@ -3368,21 +3383,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml.flattened.jsonld index 336fe4b1a1..1323795871 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml.flattened.jsonld @@ -519,6 +519,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2" @@ -529,11 +534,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -563,11 +563,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3" @@ -581,6 +576,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -671,6 +671,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_2" @@ -681,11 +686,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -698,14 +698,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/auto-generated-name/element_0" } ] }, @@ -761,6 +761,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(28,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", @@ -776,11 +781,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(27,6)-(33,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(28,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/examples/example/default-example/scalar_1", "@type": [ @@ -825,11 +825,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,8)-(24,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -850,19 +845,24 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(22,6)-(26,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(24,8)-(24,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/auto-generated-name/element_0" } ] }, @@ -962,6 +962,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,12)-(39,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", @@ -978,20 +983,15 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(38,10)-(47,84)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,12)-(39,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(29,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org", "http://a.ml/vocabularies/document-source-maps#value": "" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/Org", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(29,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/examples/example/default-example/object_1/name_2", "@type": [ @@ -1119,14 +1119,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(39,12)-(40,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/Org", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,12)-(40,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/examples/example/acme/object_1/name_3", @@ -1738,6 +1738,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User/source-map/lexical/element_3" @@ -1751,11 +1756,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User/source-map/declared-element/element_0" - } ] }, { @@ -1845,6 +1845,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org/source-map/lexical/element_2" @@ -1855,11 +1860,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org/source-map/declared-element/element_0" - } ] }, { @@ -1997,6 +1997,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User", "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(6,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -2017,11 +2022,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(13,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org/property/property/name/scalar/name", "@type": [ @@ -2161,6 +2161,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org", "http://a.ml/vocabularies/document-source-maps#value": "[(14,4)-(14,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -2176,11 +2181,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org", "http://a.ml/vocabularies/document-source-maps#value": "[(13,2)-(19,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/Org", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/spec_examples_example/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml.expanded.jsonld index 8a485cbc6b..1d80330c19 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml.expanded.jsonld @@ -517,9 +517,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured" @@ -527,35 +527,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(3,30)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(3,9)]" + "@value": "[(3,2)-(3,30)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(3,2)-(3,9)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml.flattened.jsonld index 12887dad11..a866075994 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml.flattened.jsonld @@ -157,6 +157,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured/source-map/lexical/element_1" @@ -164,11 +169,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured/source-map/declared-element/element_0" - } ] }, { @@ -220,6 +220,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured", "http://a.ml/vocabularies/document-source-maps#value": "trait.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured", @@ -230,11 +235,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(3,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/declares/trait/secured", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-fragment/api.raml#/references/0/trait/default-abstract/object_1/queryParameters", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml.expanded.jsonld index 784df4c313..1006ef4082 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml.expanded.jsonld @@ -362,21 +362,6 @@ "@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/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable" - } - ], - "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/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable/source-map/lexical/element_3", @@ -430,6 +415,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1047,21 +1047,6 @@ "@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/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable" - } - ], - "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/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable/source-map/lexical/element_3", @@ -1115,6 +1100,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml.flattened.jsonld index cd890c6d3f..40b15e49a7 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml.flattened.jsonld @@ -240,11 +240,6 @@ "@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/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable/source-map/lexical/element_3" @@ -258,6 +253,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable/source-map/declared-element/element_0" + } ] }, { @@ -340,11 +340,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#dataNode", @@ -365,6 +360,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(11,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/declares/trait/searchable", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/trait-string-quoted-node/api.raml#/web-api/endpoint/%2Fsongs/supportedOperation/get/extends/searchable/variable/example/scalar_1/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml.expanded.jsonld index 4d90739501..0c8fa3f05e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml.expanded.jsonld @@ -367,21 +367,6 @@ "@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/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured" - } - ], - "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/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured/source-map/lexical/element_4", @@ -448,6 +433,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -926,21 +926,6 @@ "@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/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged" - } - ], - "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/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged/source-map/lexical/element_3", @@ -994,6 +979,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1744,21 +1744,6 @@ "@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/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection" - } - ], - "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/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_4", @@ -1825,6 +1810,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -2867,21 +2867,6 @@ "@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/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection" - } - ], - "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/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_4", @@ -2948,6 +2933,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3254,21 +3254,6 @@ "@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/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured" - } - ], - "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/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured/source-map/lexical/element_4", @@ -3335,6 +3320,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3636,21 +3636,6 @@ "@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/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged" - } - ], - "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/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged/source-map/lexical/element_3", @@ -3704,6 +3689,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3868,21 +3868,6 @@ "@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/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr" - } - ], - "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/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr/source-map/lexical/element_2", @@ -3923,6 +3908,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml.flattened.jsonld index 7ad0a8befa..10f6dc533e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml.flattened.jsonld @@ -468,11 +468,6 @@ "@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/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_4" @@ -489,6 +484,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0" + } ] }, { @@ -617,11 +617,6 @@ "@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/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured/source-map/lexical/element_4" @@ -638,6 +633,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured/source-map/declared-element/element_0" + } ] }, { @@ -706,11 +706,6 @@ "@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/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged/source-map/lexical/element_3" @@ -724,6 +719,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged/source-map/declared-element/element_0" + } ] }, { @@ -806,11 +806,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#dataNode", @@ -836,6 +831,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(5,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/resourceType/searchableCollection", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/web-api/endpoint/%2Fbooks/extends/searchableCollection/variable/queryParamName/scalar_1/source-map", "@type": [ @@ -940,11 +940,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#dataNode", @@ -970,6 +965,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(14,2)-(14,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/secured", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/web-api/endpoint/%2Fbooks/supportedOperation/get/extends/secured/variable/tokenName/scalar_1/source-map", "@type": [ @@ -1035,11 +1035,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#dataNode", @@ -1060,6 +1055,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged", "http://a.ml/vocabularies/document-source-maps#value": "[(19,2)-(23,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/paged", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/web-api/endpoint/%2Fbooks/supportedOperation/get/extends/paged/variable/maxPages/scalar_1/source-map", "@type": [ @@ -1847,11 +1847,6 @@ "@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/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr/source-map/lexical/element_2" @@ -1862,6 +1857,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr/source-map/declared-element/element_0" + } ] }, { @@ -1903,11 +1903,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -1923,6 +1918,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr", "http://a.ml/vocabularies/document-source-maps#value": "[(23,2)-(25,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/traits-resource-types/api.raml#/declares/trait/descr/object_1/description/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml.expanded.jsonld index f23708fb58..44dab44384 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml.expanded.jsonld @@ -360,21 +360,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(13,8)-(13,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type/source-map/lexical/element_3", @@ -428,6 +413,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(13,8)-(13,12)]" + } + ] + } ] } ] @@ -555,6 +555,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent" + } + ], + "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/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/source-map/lexical/element_3", @@ -608,21 +623,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -803,21 +803,6 @@ "@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/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType" - } - ], - "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/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/source-map/lexical/element_4", @@ -885,6 +870,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/source-map/type-property-lexical-info/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml.flattened.jsonld index 755040993d..59d97a24e2 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml.flattened.jsonld @@ -169,6 +169,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/source-map/lexical/element_3" @@ -182,11 +187,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/source-map/declared-element/element_0" - } ] }, { @@ -211,11 +211,6 @@ "@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/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/source-map/lexical/element_4" @@ -233,6 +228,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/source-map/lexical/element_3" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/source-map/type-property-lexical-info/element_0" @@ -297,6 +297,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -317,11 +322,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent", "http://a.ml/vocabularies/document-source-maps#value": "[(5,2)-(14,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/examples/example/default-example/scalar_1", "@type": [ @@ -361,11 +361,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -391,6 +386,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(17,4)-(18,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType", @@ -439,11 +439,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type/source-map/lexical/element_3" @@ -457,6 +452,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -568,11 +568,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", @@ -593,6 +588,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(14,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/shape/Parent/property/property/type/any/type", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-chain-with-examples/api.raml#/declares/scalar/ChildType/examples/example/default-example/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml.expanded.jsonld index d5ab077bd9..6b7f4f0070 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml.expanded.jsonld @@ -137,9 +137,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name" @@ -147,35 +147,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(8,12)]" + "@value": "[(7,6)-(8,20)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(8,20)]" + "@value": "[(8,8)-(8,20)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(8,20)]" + "@value": "[(8,8)-(8,12)]" } ] } @@ -271,21 +271,6 @@ "@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/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType" - } - ], - "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/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/source-map/lexical/element_3", @@ -339,6 +324,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml.flattened.jsonld index 47fadf528a..6efc615386 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml.flattened.jsonld @@ -119,11 +119,6 @@ "@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/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/source-map/lexical/element_3" @@ -137,6 +132,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/source-map/declared-element/element_0" + } ] }, { @@ -182,11 +182,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -207,16 +202,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(8,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map/lexical/element_1" @@ -224,6 +219,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -246,11 +246,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(7,11)-(8,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name", @@ -260,6 +255,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-closed-true/api.raml#/declares/shape/ClosedType/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml.expanded.jsonld index 2f7263c0de..87a3b68691 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml.expanded.jsonld @@ -215,9 +215,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D" @@ -225,14 +225,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(14,14)-(15,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D" @@ -240,7 +240,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,14)-(15,0)]" + "@value": "" } ] } @@ -270,9 +270,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema" @@ -280,35 +280,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,12)-(15,0)]" + "@value": "[(14,14)-(14,18)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,14)-(15,0)]" + "@value": "[(13,12)-(15,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,14)-(14,18)]" + "@value": "[(14,14)-(15,0)]" } ] } @@ -450,9 +450,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations" @@ -460,35 +460,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi" + "@value": "[(7,2)-(16,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(16,0)]" + "@value": "[(7,2)-(7,25)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(7,25)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi" } ] } @@ -639,9 +639,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success" @@ -649,35 +649,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,8)-(20,12)]" + "@value": "[(19,6)-(22,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,6)-(22,0)]" + "@value": "[(20,8)-(21,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,8)-(21,0)]" + "@value": "[(20,8)-(20,12)]" } ] } @@ -834,9 +834,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F" @@ -844,35 +844,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,12)-(27,16)]" + "@value": "[(26,10)-(28,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,10)-(28,0)]" + "@value": "[(27,12)-(28,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,12)-(28,0)]" + "@value": "[(27,12)-(27,16)]" } ] } @@ -963,21 +963,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(23,8)-(23,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/source-map/lexical/element_2", @@ -1018,6 +1003,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(23,8)-(23,12)]" + } + ] + } ] } ] @@ -1171,9 +1171,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F" @@ -1181,35 +1181,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,12)-(33,16)]" + "@value": "[(32,10)-(33,25)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,10)-(33,25)]" + "@value": "[(33,12)-(33,25)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,12)-(33,25)]" + "@value": "[(33,12)-(33,16)]" } ] } @@ -1300,21 +1300,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(29,8)-(29,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/source-map/lexical/element_2", @@ -1355,6 +1340,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(29,8)-(29,12)]" + } + ] + } ] } ] @@ -1462,6 +1462,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D" + } + ], + "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/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/source-map/lexical/element_2", @@ -1502,21 +1517,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml.flattened.jsonld index f8885d2f1f..589724fd2c 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml.flattened.jsonld @@ -127,11 +127,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/source-map/lexical/element_1" @@ -139,6 +134,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/source-map/parent-end-point/element_0" + } ] }, { @@ -215,11 +215,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations", @@ -230,6 +225,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,25)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain", "@type": [ @@ -359,6 +359,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/source-map/lexical/element_1" @@ -366,11 +371,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -383,14 +383,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D/source-map/auto-generated-name/element_0" } ] }, @@ -399,6 +399,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,14)-(14,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema", @@ -410,20 +415,15 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(14,14)-(15,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,14)-(14,18)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,14)-(15,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D", "http://a.ml/vocabularies/document-source-maps#value": "" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/web-api/endpoint/%2Fapi%2FDocumentConfigurations/supportedOperation/get/returns/resp/200/payload/text%2Fplain/shape/schema/inherits/shape/IServiceResponse%5Badasf%5D", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,14)-(15,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml", "http://a.ml/vocabularies/document#declares": [ @@ -555,6 +555,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/source-map/lexical/element_2" @@ -565,11 +570,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/source-map/declared-element/element_0" - } ] }, { @@ -716,6 +716,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -731,21 +736,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D", "http://a.ml/vocabularies/document-source-maps#value": "[(17,2)-(33,25)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success/source-map/lexical/element_1" @@ -753,6 +748,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -804,11 +804,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/source-map/lexical/element_2" @@ -819,6 +814,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -870,11 +870,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/source-map/lexical/element_2" @@ -885,6 +880,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -907,11 +907,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning", "http://a.ml/vocabularies/document-source-maps#value": "[(28,6)-(33,25)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(20,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success", @@ -922,6 +917,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(21,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/success/scalar/success", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(20,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F", "@type": [ @@ -965,11 +965,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message", - "http://a.ml/vocabularies/document-source-maps#value": "[(23,8)-(23,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -985,6 +980,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message", "http://a.ml/vocabularies/document-source-maps#value": "[(22,6)-(28,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message", + "http://a.ml/vocabularies/document-source-maps#value": "[(23,8)-(23,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F", "@type": [ @@ -1028,11 +1028,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning", - "http://a.ml/vocabularies/document-source-maps#value": "[(29,8)-(29,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1048,16 +1043,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning", "http://a.ml/vocabularies/document-source-maps#value": "[(28,6)-(33,25)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning", + "http://a.ml/vocabularies/document-source-maps#value": "[(29,8)-(29,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_1" @@ -1065,6 +1060,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1092,11 +1092,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_1" @@ -1104,6 +1099,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1126,11 +1126,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(32,20)-(33,25)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,12)-(27,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F", @@ -1142,9 +1137,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(27,12)-(28,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F", - "http://a.ml/vocabularies/document-source-maps#value": "[(33,12)-(33,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/message/scalar/message/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,12)-(27,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_1", @@ -1155,6 +1150,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(33,12)-(33,25)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-declared-with-square-bracket/api.raml#/declares/shape/IServiceResponse%5Badasf%5D/property/property/warning/scalar/warning/customShapePropertyDefinitions/property/readOnly/scalar/readOnly%3F", + "http://a.ml/vocabularies/document-source-maps#value": "[(33,12)-(33,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml.expanded.jsonld index 05d039ecfa..97c9cfced6 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml.expanded.jsonld @@ -142,9 +142,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F" @@ -152,35 +152,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(8,12)]" + "@value": "[(7,6)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(9,0)]" + "@value": "[(8,8)-(9,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(9,0)]" + "@value": "[(8,8)-(8,12)]" } ] } @@ -303,9 +303,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays" @@ -313,35 +313,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(10,12)]" + "@value": "[(9,6)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(11,0)]" + "@value": "[(10,8)-(11,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(11,0)]" + "@value": "[(10,8)-(10,12)]" } ] } @@ -432,21 +432,6 @@ "@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/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate" - } - ], - "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/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/lexical/element_3", @@ -501,6 +486,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/type-property-lexical-info/element_0", @@ -598,9 +598,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F" @@ -608,35 +608,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(8,12)]" + "@value": "[(7,6)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(9,0)]" + "@value": "[(8,8)-(9,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(9,0)]" + "@value": "[(8,8)-(8,12)]" } ] } @@ -759,9 +759,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays" @@ -769,35 +769,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(10,12)]" + "@value": "[(9,6)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(11,0)]" + "@value": "[(10,8)-(11,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(11,0)]" + "@value": "[(10,8)-(10,12)]" } ] } @@ -888,21 +888,6 @@ "@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/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate" - } - ], - "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/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/lexical/element_3", @@ -957,6 +942,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/type-property-lexical-info/element_0", @@ -1023,9 +1023,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays" @@ -1033,35 +1033,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(10,12)]" + "@value": "[(9,6)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(11,0)]" + "@value": "[(10,8)-(11,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(11,0)]" + "@value": "[(10,8)-(10,12)]" } ] } @@ -1253,21 +1253,6 @@ "@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/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate" - } - ], - "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/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/source-map/lexical/element_3", @@ -1322,6 +1307,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/source-map/type-property-lexical-info/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml.flattened.jsonld index 5f14e8b6d3..2a3b89b723 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml.flattened.jsonld @@ -184,11 +184,6 @@ "@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/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/lexical/element_3" @@ -203,6 +198,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/type-property-lexical-info/element_0" @@ -232,11 +232,6 @@ "@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/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/source-map/lexical/element_3" @@ -251,6 +246,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/source-map/type-property-lexical-info/element_0" @@ -343,11 +343,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -368,6 +363,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(11,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate", @@ -404,11 +404,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -429,6 +424,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate", "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(14,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate", @@ -439,11 +439,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/lexical/element_1" @@ -451,6 +446,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -478,11 +478,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_1" @@ -490,6 +485,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -536,11 +536,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/customShapeProperties/shape-extension/noHolidays", "http://a.ml/vocabularies/document-source-maps#value": "[(14,4)-(14,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F", @@ -552,9 +547,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(9,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(10,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates%3F", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_1", @@ -566,6 +561,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(11,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(10,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type-facets/api.raml#/declares/scalar/PossibleMeetingDate/customShapeProperties/shape-extension/noHolidays/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml.expanded.jsonld index ae01b55391..1aa9c9fef8 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml.expanded.jsonld @@ -311,9 +311,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base" @@ -321,35 +321,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(7,4)-(8,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,4)-(8,0)]" + "@value": "[(7,4)-(7,8)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,4)-(7,8)]" + "@value": "" } ] } @@ -492,9 +492,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union" @@ -502,14 +502,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "string | nil" + "@value": "[(1,0)-(1,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union" @@ -517,7 +517,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(1,0)]" + "@value": "string | nil" } ] } @@ -532,21 +532,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(1,0)-(1,0)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/source-map/lexical/element_2", @@ -587,6 +572,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(1,0)-(1,0)]" + } + ] + } ] } ] @@ -608,21 +608,6 @@ "@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/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored" - } - ], - "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/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/source-map/lexical/element_4", @@ -689,6 +674,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -736,21 +736,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(16,8)-(16,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema/source-map/lexical/element_2", @@ -791,6 +776,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,8)-(16,12)]" + } + ] + } ] } ] @@ -812,21 +812,6 @@ "@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/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName" - } - ], - "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/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/source-map/lexical/element_4", @@ -893,6 +878,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -940,21 +940,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(22,8)-(22,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema/source-map/lexical/element_2", @@ -995,6 +980,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(22,8)-(22,12)]" + } + ] + } ] } ] @@ -1016,21 +1016,6 @@ "@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/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName" - } - ], - "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/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/source-map/lexical/element_4", @@ -1097,6 +1082,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml.flattened.jsonld index aa38bf5420..11670eee96 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml.flattened.jsonld @@ -244,11 +244,6 @@ "@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/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/source-map/lexical/element_1" @@ -256,6 +251,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/source-map/declared-element/element_0" + } ] }, { @@ -285,11 +285,6 @@ "@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/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/source-map/lexical/element_4" @@ -306,6 +301,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/source-map/declared-element/element_0" + } ] }, { @@ -335,11 +335,6 @@ "@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/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/source-map/lexical/element_4" @@ -356,6 +351,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/source-map/declared-element/element_0" + } ] }, { @@ -385,11 +385,6 @@ "@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/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/source-map/lexical/element_4" @@ -406,6 +401,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/source-map/declared-element/element_0" + } ] }, { @@ -459,11 +459,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base", @@ -474,6 +469,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union", "@type": [ @@ -502,11 +502,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/source-map/lexical/element_2" @@ -517,13 +512,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -549,16 +544,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/2000/01/rdf-schema#domain", "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(15,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema/source-map/lexical/element_2" @@ -569,13 +564,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -601,16 +596,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/2000/01/rdf-schema#domain", "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(21,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema/source-map/lexical/element_2" @@ -621,13 +616,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -653,6 +648,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/2000/01/rdf-schema#domain", "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(25,43)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/union/base/anyOf/scalar/source-map", "@type": [ @@ -727,22 +727,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored", - "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(1,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -759,9 +754,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(15,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,8)-(16,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored", + "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(1,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema/source-map/lexical/element_2", @@ -779,9 +774,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(15,18)-(21,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(22,8)-(22,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/operationName/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,8)-(16,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema/source-map/lexical/element_2", @@ -798,6 +793,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(21,18)-(25,43)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/parameterName/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(22,8)-(22,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/union/base/anyOf/scalar/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/base/union/base/anyOf/scalar/", @@ -841,14 +841,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "string | nil" + "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(1,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(1,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "string | nil" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/type_nil_shortcut/api.raml#/declares/ignored/union/ignored/inherits/union/default-union/anyOf/scalar/default-scalar/source-map/lexical/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml.expanded.jsonld index e4361ae0da..40b53ea26f 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml.expanded.jsonld @@ -243,9 +243,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name" @@ -253,35 +253,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,12)-(21,16)]" + "@value": "[(20,10)-(22,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,10)-(22,0)]" + "@value": "[(21,12)-(22,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,12)-(22,0)]" + "@value": "[(21,12)-(21,16)]" } ] } @@ -404,9 +404,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName" @@ -414,35 +414,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,12)-(23,16)]" + "@value": "[(22,10)-(24,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,10)-(24,0)]" + "@value": "[(23,12)-(24,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,12)-(24,0)]" + "@value": "[(23,12)-(23,16)]" } ] } @@ -594,9 +594,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city" @@ -604,35 +604,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,16)-(28,20)]" + "@value": "[(27,14)-(29,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,14)-(29,0)]" + "@value": "[(28,16)-(29,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,16)-(29,0)]" + "@value": "[(28,16)-(28,20)]" } ] } @@ -755,9 +755,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street" @@ -765,35 +765,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,16)-(30,20)]" + "@value": "[(29,14)-(31,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,14)-(31,0)]" + "@value": "[(30,16)-(31,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,16)-(31,0)]" + "@value": "[(30,16)-(30,20)]" } ] } @@ -916,9 +916,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number" @@ -926,35 +926,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,16)-(32,20)]" + "@value": "[(31,14)-(33,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(31,14)-(33,0)]" + "@value": "[(32,16)-(33,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,16)-(33,0)]" + "@value": "[(32,16)-(32,20)]" } ] } @@ -1077,9 +1077,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal" @@ -1087,35 +1087,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(34,16)-(34,20)]" + "@value": "[(33,14)-(35,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,14)-(35,0)]" + "@value": "[(34,16)-(35,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(34,16)-(35,0)]" + "@value": "[(34,16)-(34,20)]" } ] } @@ -1432,9 +1432,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address" @@ -1442,35 +1442,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,10)-(44,0)]" + "@value": "[(25,12)-(25,16)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,23)-(35,0)]" + "@value": "[(24,10)-(44,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,12)-(25,16)]" + "@value": "[(26,23)-(35,0)]" } ] } @@ -1765,9 +1765,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card" @@ -1775,35 +1775,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(49,12)-(49,16)]" + "@value": "[(48,10)-(50,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(48,10)-(50,0)]" + "@value": "[(49,12)-(50,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(49,12)-(50,0)]" + "@value": "[(49,12)-(49,16)]" } ] } @@ -1926,9 +1926,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city" @@ -1936,35 +1936,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,12)-(51,16)]" + "@value": "[(50,10)-(52,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(50,10)-(52,0)]" + "@value": "[(51,12)-(52,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,12)-(52,0)]" + "@value": "[(51,12)-(51,16)]" } ] } @@ -2087,9 +2087,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street" @@ -2097,35 +2097,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(53,12)-(53,16)]" + "@value": "[(52,10)-(54,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(52,10)-(54,0)]" + "@value": "[(53,12)-(54,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(53,12)-(54,0)]" + "@value": "[(53,12)-(53,16)]" } ] } @@ -2248,9 +2248,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number" @@ -2258,35 +2258,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,12)-(55,16)]" + "@value": "[(54,10)-(56,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(54,10)-(56,0)]" + "@value": "[(55,12)-(56,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,12)-(56,0)]" + "@value": "[(55,12)-(55,16)]" } ] } @@ -2409,9 +2409,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal" @@ -2419,35 +2419,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(57,12)-(57,16)]" + "@value": "[(56,10)-(58,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(56,10)-(58,0)]" + "@value": "[(57,12)-(58,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(57,12)-(58,0)]" + "@value": "[(57,12)-(57,16)]" } ] } @@ -2782,9 +2782,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema" @@ -2792,35 +2792,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(45,6)-(68,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(47,19)-(58,0)]" + "@value": "[(45,6)-(68,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(47,19)-(58,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml.flattened.jsonld index ab45a35913..6f97176e42 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml.flattened.jsonld @@ -772,6 +772,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/source-map/lexical/element_1" @@ -779,11 +784,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/source-map/auto-generated-name/element_0" - } ] }, { @@ -1237,6 +1237,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(46,8)-(46,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema", @@ -1247,21 +1252,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(47,19)-(58,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/lexical/element_1" @@ -1269,6 +1264,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1296,11 +1296,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_1" @@ -1308,6 +1303,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1486,6 +1486,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/source-map/lexical/element_1" @@ -1493,11 +1498,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -1525,11 +1525,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/lexical/element_1" @@ -1537,6 +1532,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1564,11 +1564,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/lexical/element_1" @@ -1576,6 +1571,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1603,11 +1603,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/lexical/element_1" @@ -1615,6 +1610,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1642,11 +1642,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/lexical/element_1" @@ -1654,6 +1649,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1681,11 +1681,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/lexical/element_1" @@ -1693,6 +1688,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1760,11 +1760,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/dependencies/dependency/number", "http://a.ml/vocabularies/document-source-maps#value": "[(66,10)-(68,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(21,12)-(21,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name", @@ -1776,9 +1771,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(21,12)-(22,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName", - "http://a.ml/vocabularies/document-source-maps#value": "[(23,12)-(23,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(21,12)-(21,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName/source-map/lexical/element_1", @@ -1790,6 +1785,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(23,12)-(24,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/lastName/scalar/lastName", + "http://a.ml/vocabularies/document-source-maps#value": "[(23,12)-(23,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city", "@type": [ @@ -2018,6 +2018,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,12)-(25,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address", @@ -2028,16 +2033,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(26,23)-(35,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,12)-(25,16)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card", - "http://a.ml/vocabularies/document-source-maps#value": "[(49,12)-(49,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card", @@ -2049,9 +2044,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(49,12)-(50,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city", - "http://a.ml/vocabularies/document-source-maps#value": "[(51,12)-(51,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card", + "http://a.ml/vocabularies/document-source-maps#value": "[(49,12)-(49,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/lexical/element_1", @@ -2064,9 +2059,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(51,12)-(52,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street", - "http://a.ml/vocabularies/document-source-maps#value": "[(53,12)-(53,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city", + "http://a.ml/vocabularies/document-source-maps#value": "[(51,12)-(51,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/lexical/element_1", @@ -2079,9 +2074,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(53,12)-(54,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number", - "http://a.ml/vocabularies/document-source-maps#value": "[(55,12)-(55,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,12)-(53,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/lexical/element_1", @@ -2094,9 +2089,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(55,12)-(56,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal", - "http://a.ml/vocabularies/document-source-maps#value": "[(57,12)-(57,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number", + "http://a.ml/vocabularies/document-source-maps#value": "[(55,12)-(55,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/lexical/element_1", @@ -2108,16 +2103,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(57,12)-(58,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal", + "http://a.ml/vocabularies/document-source-maps#value": "[(57,12)-(57,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city/source-map/lexical/element_1" @@ -2125,6 +2120,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2152,11 +2152,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street/source-map/lexical/element_1" @@ -2164,6 +2159,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2191,11 +2191,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number/source-map/lexical/element_1" @@ -2203,6 +2198,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2230,11 +2230,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/lexical/element_1" @@ -2242,6 +2237,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2309,11 +2309,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/dependencies/dependency/number", "http://a.ml/vocabularies/document-source-maps#value": "[(42,14)-(44,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,16)-(28,20)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city", @@ -2325,9 +2320,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(28,16)-(29,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,16)-(30,20)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/city/scalar/city", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,16)-(28,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street/source-map/lexical/element_1", @@ -2340,9 +2335,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(30,16)-(31,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number", - "http://a.ml/vocabularies/document-source-maps#value": "[(32,16)-(32,20)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/street/scalar/street", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,16)-(30,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number/source-map/lexical/element_1", @@ -2355,9 +2350,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(32,16)-(33,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal", - "http://a.ml/vocabularies/document-source-maps#value": "[(34,16)-(34,20)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/number/scalar/number", + "http://a.ml/vocabularies/document-source-maps#value": "[(32,16)-(32,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/lexical/element_1", @@ -2369,6 +2364,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(34,16)-(35,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/address/shape/address/property/property/postal/scalar/postal", + "http://a.ml/vocabularies/document-source-maps#value": "[(34,16)-(34,20)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-dependency/api.raml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml.expanded.jsonld index 05cc44cf2f..29a072e7d1 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml.expanded.jsonld @@ -362,21 +362,6 @@ "@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/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest" - } - ], - "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/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/source-map/lexical/element_8", @@ -496,6 +481,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/source-map/type-property-lexical-info/element_0", @@ -569,21 +569,6 @@ "@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/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest" - } - ], - "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/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest/source-map/lexical/element_8", @@ -703,6 +688,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest/source-map/type-property-lexical-info/element_0", @@ -876,21 +876,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/name/scalar/name" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(30,8)-(30,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/lexical/element_2", @@ -931,6 +916,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/name/scalar/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(30,8)-(30,12)]" + } + ] + } ] } ] @@ -1050,9 +1050,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd" @@ -1060,35 +1060,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,8)-(33,12)]" + "@value": "[(32,6)-(34,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,6)-(34,0)]" + "@value": "[(33,8)-(34,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,8)-(34,0)]" + "@value": "[(33,8)-(33,12)]" } ] } @@ -1531,21 +1531,6 @@ "@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/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest" - } - ], - "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/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/source-map/lexical/element_14", @@ -1742,6 +1727,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml.flattened.jsonld index 6fa98cd412..616d8e94c5 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml.flattened.jsonld @@ -211,11 +211,6 @@ "@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/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/source-map/lexical/element_8" @@ -245,6 +240,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/source-map/lexical/element_7" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/source-map/type-property-lexical-info/element_0" @@ -256,11 +256,6 @@ "@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/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest/source-map/lexical/element_8" @@ -290,6 +285,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest/source-map/lexical/element_7" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest/source-map/type-property-lexical-info/element_0" @@ -421,11 +421,6 @@ "@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/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/source-map/lexical/element_14" @@ -472,6 +467,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/source-map/lexical/element_13" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/source-map/declared-element/element_0" + } ] }, { @@ -533,11 +533,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/source-map/lexical/element_8", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#in", @@ -584,14 +579,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(3,12)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest", - "http://a.ml/vocabularies/document-source-maps#value": "[(4,4)-(4,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest", + "http://a.ml/vocabularies/document-source-maps#value": "[(4,4)-(4,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest/source-map/lexical/element_8", @@ -638,6 +633,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#maxExclusive", "http://a.ml/vocabularies/document-source-maps#value": "[(17,4)-(18,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/IntegerTest", @@ -831,11 +831,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/source-map/lexical/element_14", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#documentation", @@ -911,6 +906,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", "http://a.ml/vocabularies/document-source-maps#value": "[(23,4)-(25,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -984,11 +984,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/lexical/element_2" @@ -999,6 +994,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1026,11 +1026,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd/source-map/lexical/element_1" @@ -1038,6 +1033,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1169,11 +1169,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/scalar/ScalarTest/in/scalar_2", "http://a.ml/vocabularies/document-source-maps#value": "[(7,8)-(7,10)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,8)-(30,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1190,9 +1185,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(29,6)-(32,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd", - "http://a.ml/vocabularies/document-source-maps#value": "[(33,8)-(33,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,8)-(30,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd/source-map/lexical/element_1", @@ -1204,6 +1199,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(33,8)-(34,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/property/property/ddd/scalar/ddd", + "http://a.ml/vocabularies/document-source-maps#value": "[(33,8)-(33,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types-facet/api.raml#/declares/shape/ObjectTest/object_1/name_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml.expanded.jsonld index 4853497e56..e070c21542 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml.expanded.jsonld @@ -983,6 +983,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(33,8)-(33,12)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/lexical/element_2", @@ -1023,21 +1038,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(33,8)-(33,12)]" - } - ] - } ] } ] @@ -1161,9 +1161,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema" @@ -1171,35 +1171,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(42,8)-(42,12)]" + "@value": "[(41,6)-(43,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(41,6)-(43,0)]" + "@value": "[(42,8)-(43,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(42,8)-(43,0)]" + "@value": "[(42,8)-(42,12)]" } ] } @@ -1338,9 +1338,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema" @@ -1348,35 +1348,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(43,6)-(45,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,8)-(45,0)]" + "@value": "[(43,6)-(45,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(44,8)-(45,0)]" } ] } @@ -1490,9 +1490,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema" @@ -1500,35 +1500,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(59,6)-(60,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(59,6)-(60,0)]" + "@value": "[(59,24)-(59,30)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(59,24)-(59,30)]" + "@value": "" } ] } @@ -1777,9 +1777,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema" @@ -1787,35 +1787,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(60,6)-(64,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(62,19)-(64,0)]" + "@value": "[(60,6)-(64,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(62,19)-(64,0)]" } ] } @@ -2012,21 +2012,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(48,8)-(48,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema/source-map/lexical/element_2", @@ -2067,6 +2052,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(48,8)-(48,12)]" + } + ] + } ] } ] @@ -2353,9 +2353,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema" @@ -2363,35 +2363,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(54,6)-(58,0)]" + "@value": "[(55,8)-(55,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(56,19)-(58,0)]" + "@value": "[(54,6)-(58,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,8)-(55,12)]" + "@value": "[(56,19)-(58,0)]" } ] } @@ -2750,9 +2750,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default" @@ -2760,35 +2760,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(66,8)-(70,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(68,21)-(70,0)]" + "@value": "[(66,8)-(70,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(68,21)-(70,0)]" } ] } @@ -2924,9 +2924,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default" @@ -2934,35 +2934,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(71,8)-(72,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(71,8)-(72,0)]" + "@value": "[(71,14)-(71,21)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(71,14)-(71,21)]" + "@value": "" } ] } @@ -4143,9 +4143,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document" @@ -4153,14 +4153,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,10)-(14,0)]" + "@value": "[(13,12)-(13,16)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document" @@ -4168,7 +4168,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,12)-(13,16)]" + "@value": "[(12,10)-(14,0)]" } ] } @@ -4291,9 +4291,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName" @@ -4301,35 +4301,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,12)-(15,16)]" + "@value": "[(14,10)-(16,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,10)-(16,0)]" + "@value": "[(15,12)-(16,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,12)-(16,0)]" + "@value": "[(15,12)-(15,16)]" } ] } @@ -4574,6 +4574,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person" + } + ], + "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/cycle/raml10/types/api.raml#/declares/shape/Person/source-map/lexical/element_2", @@ -4614,21 +4629,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml.flattened.jsonld index 7de98efca9..b4d9bef1a4 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml.flattened.jsonld @@ -1066,6 +1066,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/lexical/element_2" @@ -1076,11 +1081,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -1108,11 +1108,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_1" @@ -1120,6 +1115,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1147,6 +1147,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/default-node/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/lexical/element_1" @@ -1154,11 +1159,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/default-node/element_0" - } ] }, { @@ -1186,11 +1186,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema/source-map/lexical/element_1" @@ -1198,6 +1193,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema/source-map/auto-generated-name/element_0" + } ] }, { @@ -1244,6 +1244,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -1251,11 +1256,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" - } ] }, { @@ -1285,11 +1285,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema/source-map/lexical/element_2" @@ -1300,6 +1295,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1356,6 +1356,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/source-map/lexical/element_1" @@ -1363,11 +1368,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -1424,6 +1424,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/lexical/element_1" @@ -1431,11 +1436,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0" - } ] }, { @@ -1453,11 +1453,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1" @@ -1465,6 +1460,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0" + } ] }, { @@ -1615,6 +1615,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(33,8)-(33,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -1630,16 +1635,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(31,6)-(41,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(33,8)-(33,12)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(42,8)-(42,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema", @@ -1650,11 +1645,21 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(42,8)-(43,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param2/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(42,8)-(42,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema", @@ -1665,16 +1670,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(44,8)-(45,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param3/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema", @@ -1685,6 +1680,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(59,24)-(59,30)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Framl/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/property/property/howmuch/scalar/howmuch", "@type": [ @@ -1738,6 +1738,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(61,8)-(61,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", @@ -1748,11 +1753,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(62,19)-(64,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema/xml/source-map", "@type": [ @@ -1776,11 +1776,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(48,8)-(48,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1796,6 +1791,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(46,6)-(54,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/Header-One/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(48,8)-(48,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/property/property/number/scalar/number", "@type": [ @@ -1844,6 +1844,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(55,8)-(55,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema", @@ -1854,11 +1859,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(56,19)-(58,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/header/parameter/header/header-two/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(55,8)-(55,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/property/property/invented/scalar/invented", "@type": [ @@ -1912,6 +1912,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default", "http://a.ml/vocabularies/document-source-maps#value": "[(67,10)-(67,14)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default", @@ -1922,16 +1927,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(68,21)-(70,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/200/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default", @@ -1942,6 +1937,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(71,14)-(71,21)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/returns/resp/404/payload/default/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/expects/request/parameter/parameter/query/param1/shape/schema/property/property/name/scalar/name/source-map", "@type": [ @@ -2621,6 +2621,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/source-map/lexical/element_2" @@ -2631,11 +2636,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/source-map/declared-element/element_0" - } ] }, { @@ -2825,6 +2825,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -2840,11 +2845,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person", "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(16,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/name/scalar/name/source-map", "@type": [ @@ -3373,14 +3373,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document/source-map/lexical/element_0" } ] }, @@ -3409,11 +3409,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName/source-map/lexical/element_1" @@ -3421,6 +3416,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3468,20 +3468,15 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(14,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document", "http://a.ml/vocabularies/document-source-maps#value": "[(13,12)-(13,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,12)-(15,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/document/shape/document", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(14,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName/source-map/lexical/element_1", @@ -3492,6 +3487,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(15,12)-(16,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types/api.raml#/declares/shape/Person/property/property/address/shape/address/property/property/lastName/scalar/lastName", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,12)-(15,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml.expanded.jsonld index 7c8a91c8ec..e0f242d98f 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml.expanded.jsonld @@ -199,9 +199,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/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/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar" @@ -209,14 +209,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "number" + "@value": "[(10,16)-(10,24)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar" @@ -224,7 +224,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,16)-(10,24)]" + "@value": "number" } ] } @@ -244,9 +244,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema" @@ -254,14 +254,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,8)-(11,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema" @@ -269,7 +269,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(11,0)]" + "@value": "" } ] } @@ -525,9 +525,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union" @@ -535,14 +535,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "number | boolean" + "@value": "[(14,10)-(14,32)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union" @@ -550,7 +550,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,10)-(14,32)]" + "@value": "number | boolean" } ] } @@ -565,9 +565,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema" @@ -575,35 +575,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(13,25)-(14,32)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,25)-(14,32)]" + "@value": "[(14,10)-(14,32)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,10)-(14,32)]" + "@value": "" } ] } @@ -842,9 +842,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam" @@ -852,14 +852,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(6,3)-(6,13)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam" @@ -867,7 +867,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,3)-(6,13)]" + "@value": "true" } ] } @@ -882,9 +882,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D" @@ -892,35 +892,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial" + "@value": "[(6,2)-(14,32)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(14,32)]" + "@value": "[(6,2)-(6,13)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,13)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml.flattened.jsonld index 451a01ea39..0144ce022b 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml.flattened.jsonld @@ -198,11 +198,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/source-map/lexical/element_1" @@ -210,6 +205,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -347,22 +347,17 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam/source-map/virtual-element/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D", @@ -373,6 +368,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson", "@type": [ @@ -475,14 +475,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,3)-(6,13)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/parameter/parameter/path/uriParam", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,3)-(6,13)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema", @@ -591,14 +591,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" } ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ @@ -640,11 +640,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/lexical/element_1" @@ -653,6 +648,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/type-property-lexical-info/element_0" @@ -669,26 +669,26 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar/source-map/type-expression/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(11,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,8)-(11,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0", @@ -740,22 +740,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema", @@ -766,20 +761,25 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(14,32)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(14,14)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar", - "http://a.ml/vocabularies/document-source-maps#value": "number" + "http://a.ml/vocabularies/document-source-maps#value": "[(10,16)-(10,24)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/post/expects/request/payload/application%2Fjson/array/schema/scalar/default-scalar", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,16)-(10,24)]" + "http://a.ml/vocabularies/document-source-maps#value": "number" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union/anyOf/scalar/default-scalar/source-map", @@ -804,14 +804,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "number | boolean" + "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(14,32)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(14,32)]" + "http://a.ml/vocabularies/document-source-maps#value": "number | boolean" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/types_problems2/api.raml#/web-api/endpoint/%2Ftrial%2F%7BuriParam%7D/supportedOperation/get/expects/request/payload/application%2Fjson/union/schema/inherits/union/default-union/anyOf/scalar/default-scalar/source-map/lexical/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml.expanded.jsonld index 6e924ae5b6..c97ac97b21 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml.expanded.jsonld @@ -168,21 +168,6 @@ "@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/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt" - } - ], - "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/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt/source-map/lexical/element_2", @@ -224,6 +209,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt/source-map/type-property-lexical-info/element_0", @@ -297,9 +297,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc" @@ -307,35 +307,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(9,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(7,5)]" + "@value": "[(7,2)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(7,2)-(7,5)]" } ] } @@ -373,9 +373,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct" @@ -383,35 +383,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,10)-(9,12)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,10)-(9,12)]" + "@value": "[(9,2)-(9,8)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,2)-(9,8)]" + "@value": "" } ] } @@ -474,9 +474,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc" @@ -484,35 +484,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,2)-(11,16)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,2)-(10,4)]" + "@value": "[(10,2)-(11,16)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(10,2)-(10,4)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml.flattened.jsonld index 02d5aaff6b..3c68f0c662 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml.flattened.jsonld @@ -179,11 +179,6 @@ "@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/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt/source-map/lexical/element_2" @@ -195,6 +190,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt/source-map/type-property-lexical-info/element_0" @@ -216,6 +216,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc/source-map/lexical/element_1" @@ -223,11 +228,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc/source-map/declared-element/element_0" - } ] }, { @@ -235,11 +235,6 @@ "@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/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct/source-map/lexical/element_1" @@ -247,6 +242,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct/source-map/declared-element/element_0" + } ] }, { @@ -264,6 +264,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/lexical/element_1" @@ -271,11 +276,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/declared-element/element_0" - } ] }, { @@ -294,11 +294,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", @@ -314,6 +309,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(7,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt", @@ -329,6 +329,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc", "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(8,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc", @@ -339,16 +344,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/abc", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct", @@ -359,6 +354,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/direct", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", @@ -369,6 +369,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc", "http://a.ml/vocabularies/document-source-maps#value": "[(11,4)-(11,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc", @@ -379,11 +384,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(10,2)-(10,4)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/shape/cc", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/unresolved-shape/api.raml#/declares/array/tt/shape/items/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml.expanded.jsonld index a32497aaf7..588ee60856 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml.expanded.jsonld @@ -229,9 +229,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" @@ -239,14 +239,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(24,10)-(25,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" @@ -254,7 +254,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,10)-(25,0)]" + "@value": "" } ] } @@ -531,9 +531,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson" @@ -541,14 +541,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,12)-(31,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson" @@ -556,7 +556,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(30,12)-(31,0)]" } ] } @@ -791,9 +791,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id" @@ -801,14 +801,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(25,3)-(25,7)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id" @@ -816,7 +816,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,3)-(25,7)]" + "@value": "true" } ] } @@ -831,9 +831,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D" @@ -841,35 +841,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers" + "@value": "[(25,2)-(37,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,2)-(37,0)]" + "@value": "[(25,2)-(25,7)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,2)-(25,7)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers" } ] } @@ -992,9 +992,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson" @@ -1002,14 +1002,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,14)-(37,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson" @@ -1017,7 +1017,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(36,14)-(37,0)]" } ] } @@ -1250,9 +1250,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id" @@ -1260,14 +1260,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(25,3)-(25,7)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id" @@ -1275,7 +1275,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,3)-(25,7)]" + "@value": "" } ] } @@ -1305,9 +1305,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/source-map/parent-end-point/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount" @@ -1315,35 +1315,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D" + "@value": "[(31,4)-(37,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount" + "@value": "http://a.ml/vocabularies/apiContract#path" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(31,4)-(37,0)]" + "@value": "[(31,4)-(31,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/source-map/parent-end-point/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#path" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(31,4)-(31,12)]" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D" } ] } @@ -1494,9 +1494,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name" @@ -1504,35 +1504,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(10,12)]" + "@value": "[(9,6)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,6)-(11,0)]" + "@value": "[(10,8)-(11,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(11,0)]" + "@value": "[(10,8)-(10,12)]" } ] } @@ -1655,9 +1655,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age" @@ -1665,35 +1665,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(12,12)]" + "@value": "[(11,6)-(13,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,6)-(13,0)]" + "@value": "[(12,8)-(13,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(13,0)]" + "@value": "[(12,8)-(12,12)]" } ] } @@ -1831,9 +1831,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account" @@ -1841,14 +1841,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,6)-(15,0)]" + "@value": "[(14,8)-(14,12)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account" @@ -1856,7 +1856,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,8)-(14,12)]" + "@value": "[(13,6)-(15,0)]" } ] } @@ -1967,6 +1967,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User" + } + ], + "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/cycle/raml10/users_accounts/api.raml#/declares/shape/User/source-map/lexical/element_2", @@ -2007,21 +2022,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -2080,9 +2080,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId" @@ -2090,35 +2090,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,8)-(18,12)]" + "@value": "[(17,6)-(19,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,6)-(19,0)]" + "@value": "[(18,8)-(19,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,8)-(19,0)]" + "@value": "[(18,8)-(18,12)]" } ] } @@ -2229,6 +2229,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account" + } + ], + "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/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/source-map/lexical/element_2", @@ -2269,21 +2284,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml.flattened.jsonld index 27df8fb6fc..9369621249 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml.flattened.jsonld @@ -232,11 +232,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/source-map/lexical/element_1" @@ -244,6 +239,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/source-map/parent-end-point/element_0" + } ] }, { @@ -290,11 +290,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/source-map/parent-end-point/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/source-map/lexical/element_1" @@ -302,6 +297,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#parent-end-point": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/source-map/parent-end-point/element_0" + } ] }, { @@ -454,22 +454,17 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id/source-map/default-node/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id/source-map/virtual-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id/source-map/virtual-element/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D", @@ -480,6 +475,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(25,2)-(25,7)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200", "@type": [ @@ -553,14 +553,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id/source-map/synthesized-field/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id/source-map/default-node/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id/source-map/default-node/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -569,11 +569,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/source-map/parent-end-point/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount", - "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount", @@ -584,6 +579,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#path", "http://a.ml/vocabularies/document-source-maps#value": "[(31,4)-(31,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/source-map/parent-end-point/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount", + "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "@type": [ @@ -692,14 +692,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id/source-map/virtual-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(25,3)-(25,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/parameter/parameter/path/id", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,3)-(25,7)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson", @@ -768,14 +768,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(25,3)-(25,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,3)-(25,7)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/parameter/parameter/path/id/source-map/virtual-element/element_0", @@ -934,14 +934,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" } ], "http://a.ml/vocabularies/document-source-maps#type-expression": [ @@ -968,14 +968,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0" } ] }, @@ -997,14 +997,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0" } ] }, @@ -1033,14 +1033,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(24,10)-(25,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,10)-(25,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/type-expression/element_0", @@ -1058,14 +1058,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,12)-(31,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(30,12)-(31,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/synthesized-field/element_1", @@ -1078,14 +1078,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "[(36,14)-(37,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers%2F%7Bid%7D%2Faccount/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(36,14)-(37,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/web-api/endpoint/%2Fusers/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/shape/default-node/source-map/synthesized-field/element_1", @@ -1258,6 +1258,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/source-map/lexical/element_2" @@ -1268,11 +1273,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/source-map/declared-element/element_0" - } ] }, { @@ -1309,6 +1309,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/source-map/lexical/element_2" @@ -1319,11 +1324,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/source-map/declared-element/element_0" - } ] }, { @@ -1456,6 +1456,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -1471,11 +1476,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(15,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId", "@type": [ @@ -1524,6 +1524,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -1539,21 +1544,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account", "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(19,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_1" @@ -1561,6 +1556,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1588,11 +1588,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age/source-map/lexical/element_1" @@ -1600,6 +1595,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1632,14 +1632,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account/source-map/lexical/element_0" } ] }, @@ -1668,11 +1668,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId/source-map/lexical/element_1" @@ -1680,6 +1675,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1702,11 +1702,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#range", "http://a.ml/vocabularies/document-source-maps#value": "[(17,16)-(19,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(10,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name", @@ -1718,9 +1713,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(11,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(10,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age/source-map/lexical/element_1", @@ -1732,25 +1727,25 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(13,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/age/scalar/age", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,6)-(15,0)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account", "http://a.ml/vocabularies/document-source-maps#value": "[(14,8)-(14,12)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,8)-(18,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/User/property/property/account/shape/account", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,6)-(15,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId/source-map/lexical/element_1", @@ -1761,6 +1756,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(18,8)-(19,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/users_accounts/api.raml#/declares/shape/Account/property/property/accountId/scalar/accountId", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,8)-(18,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml.expanded.jsonld index 9494efed88..358b6df658 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml.expanded.jsonld @@ -458,9 +458,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" @@ -468,35 +468,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(31,10)-(35,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,23)-(35,0)]" + "@value": "[(31,10)-(35,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(32,23)-(35,0)]" } ] } @@ -658,9 +658,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20" @@ -668,35 +668,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,2)-(24,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,2)-(22,9)]" + "@value": "[(22,2)-(24,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(22,2)-(22,9)]" } ] } @@ -1432,9 +1432,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type" @@ -1442,17 +1442,15 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,0)-(3,4)]" + "@value": "[(3,0)-(3,12)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1460,17 +1458,19 @@ "@value": "[(3,0)-(3,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,0)-(3,12)]" + "@value": "[(3,0)-(3,4)]" } ] } @@ -1567,9 +1567,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema" @@ -1577,17 +1577,15 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,0)-(3,4)]" + "@value": "[(3,0)-(3,12)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1595,17 +1593,19 @@ "@value": "[(3,0)-(3,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,0)-(3,12)]" + "@value": "[(3,0)-(3,4)]" } ] } @@ -2029,21 +2029,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(16,6)-(16,10)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -2084,6 +2069,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,6)-(16,10)]" + } + ] + } ] } ] @@ -2234,9 +2234,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema" @@ -2244,35 +2244,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,4)-(20,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,6)-(20,0)]" + "@value": "[(18,4)-(20,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(19,6)-(20,0)]" } ] } @@ -2742,9 +2742,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema" @@ -2752,35 +2752,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,4)-(13,8)]" + "@value": "[(12,9)-(14,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,9)-(14,0)]" + "@value": "[(13,4)-(14,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,4)-(14,0)]" + "@value": "[(13,4)-(13,8)]" } ] } @@ -2800,21 +2800,6 @@ "@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/cycle/raml10/with_references/api.raml#/declares/annotA/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA" - } - ], - "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/cycle/raml10/with_references/api.raml#/declares/annotA/source-map/lexical/element_2", @@ -2855,6 +2840,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -2887,9 +2887,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB" @@ -2897,35 +2897,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(14,2)-(16,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(16,0)]" + "@value": "[(14,2)-(14,8)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(14,8)]" + "@value": "" } ] } @@ -2973,21 +2973,6 @@ "@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/cycle/raml10/with_references/api.raml#/declares/scalar/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A" - } - ], - "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/cycle/raml10/with_references/api.raml#/declares/scalar/A/source-map/lexical/element_2", @@ -3029,6 +3014,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A/source-map/type-property-lexical-info/element_0", @@ -3107,9 +3107,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B" @@ -3117,35 +3117,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,2)-(11,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,2)-(9,3)]" + "@value": "[(9,2)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(9,2)-(9,3)]" } ] } @@ -3313,21 +3313,6 @@ "@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/cycle/raml10/with_references/api.raml#/declares/resourceType/ta/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/ta" - } - ], - "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/cycle/raml10/with_references/api.raml#/declares/resourceType/ta/source-map/lexical/element_2", @@ -3368,6 +3353,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/ta/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/ta" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3430,9 +3430,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb" @@ -3440,35 +3440,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,2)-(21,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,2)-(19,4)]" + "@value": "[(19,2)-(21,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(19,2)-(19,4)]" } ] } @@ -3533,9 +3533,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20" @@ -3543,35 +3543,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,2)-(24,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,2)-(22,9)]" + "@value": "[(22,2)-(24,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(22,2)-(22,9)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml.flattened.jsonld index fc3e19c719..a9dc73c8e4 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml.flattened.jsonld @@ -780,6 +780,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -787,11 +792,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" - } ] }, { @@ -817,6 +817,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/lexical/element_1" @@ -824,11 +829,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/declared-element/element_0" - } ] }, { @@ -929,6 +929,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", @@ -939,11 +944,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(32,23)-(35,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -959,6 +959,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20", "http://a.ml/vocabularies/document-source-maps#value": "../../../../references/fragments/security-scheme.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20", @@ -969,11 +974,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(22,2)-(22,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scheme/oauth20", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/a/source-map", "@type": [ @@ -1519,11 +1519,6 @@ "@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/cycle/raml10/with_references/api.raml#/declares/annotA/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/source-map/lexical/element_2" @@ -1534,6 +1529,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/source-map/declared-element/element_0" + } ] }, { @@ -1541,11 +1541,6 @@ "@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/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/lexical/element_1" @@ -1554,6 +1549,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#external-fragment-ref": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/external-fragment-ref/element_0" @@ -1565,11 +1565,6 @@ "@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/cycle/raml10/with_references/api.raml#/declares/scalar/A/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A/source-map/lexical/element_2" @@ -1581,6 +1576,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A/source-map/type-property-lexical-info/element_0" @@ -1602,6 +1602,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B/source-map/lexical/element_1" @@ -1609,11 +1614,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B/source-map/declared-element/element_0" - } ] }, { @@ -1638,11 +1638,6 @@ "@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/cycle/raml10/with_references/api.raml#/declares/resourceType/ta/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/ta/source-map/lexical/element_2" @@ -1653,6 +1648,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/ta/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/ta/source-map/declared-element/element_0" + } ] }, { @@ -1670,6 +1670,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/external-fragment-ref/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/lexical/element_1" @@ -1677,11 +1682,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/declared-element/element_0" - } ] }, { @@ -1689,11 +1689,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type/source-map/lexical/element_1" @@ -1701,6 +1696,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1901,11 +1901,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema/source-map/lexical/element_1" @@ -1913,13 +1908,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", @@ -1936,8 +1931,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(12,2)-(14,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -1951,14 +1946,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(14,2)-(14,8)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/external-fragment-ref/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB", - "http://a.ml/vocabularies/document-source-maps#value": "referred_annotation.raml" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB/source-map/external-fragment-ref/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotB", + "http://a.ml/vocabularies/document-source-maps#value": "referred_annotation.raml" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A/source-map/lexical/element_2", @@ -1975,6 +1970,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(9,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/A", @@ -1990,6 +1990,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B", "http://a.ml/vocabularies/document-source-maps#value": "referred.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B", @@ -2000,11 +2005,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,3)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/scalar/B", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/ta/object_1/description", "@type": [ @@ -2044,11 +2044,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/ta/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/ta", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/ta/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -2064,6 +2059,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/ta", "http://a.ml/vocabularies/document-source-maps#value": "[(17,2)-(19,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/ta/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/ta", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", @@ -2074,6 +2074,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb", "http://a.ml/vocabularies/document-source-maps#value": "referred_resource_type.raml" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb", @@ -2084,16 +2089,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(19,2)-(19,4)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/tb", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(3,0)-(3,4)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type", @@ -2104,16 +2099,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(3,0)-(3,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/0/scalar/type", + "http://a.ml/vocabularies/document-source-maps#value": "[(3,0)-(3,4)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema/source-map/lexical/element_1" @@ -2121,6 +2116,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2350,11 +2350,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#header", "http://a.ml/vocabularies/document-source-maps#value": "[(13,2)-(17,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(13,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema", @@ -2365,6 +2360,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(14,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/annotA/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(13,8)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/declares/resourceType/ta/object_1/description/source-map", "@type": [ @@ -2399,11 +2399,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#description", "http://a.ml/vocabularies/document-source-maps#value": "[(18,4)-(19,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(3,0)-(3,4)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema", @@ -2414,6 +2409,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(3,0)-(3,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/1/annotation/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(3,0)-(3,4)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/2/resourceType/default-abstract/object_1/description/source-map", "@type": [ @@ -2453,11 +2453,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2" @@ -2468,6 +2463,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2500,6 +2500,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1" @@ -2507,11 +2512,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0" - } ] }, { @@ -2620,11 +2620,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/2/resourceType/default-abstract/object_1/description", "http://a.ml/vocabularies/document-source-maps#value": "[(3,13)-(3,21)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(16,10)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -2640,11 +2635,21 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(14,4)-(17,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/header/parameter/header/Authorization/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(16,10)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema", @@ -2655,11 +2660,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(19,6)-(20,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/parameter/parameter/query/access_token/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/raml10/with_references/api.raml#/references/3/scheme/fragment/settings/oauth2/flows/default-flow/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#accessTokenUri", 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 ff289946da..e11c683742 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 @@ -441,9 +441,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema" @@ -451,35 +451,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,10)-(28,16)]" + "@value": "[(26,20)-(29,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,20)-(29,9)]" + "@value": "[(28,10)-(28,27)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,10)-(28,27)]" + "@value": "[(28,10)-(28,16)]" } ] } 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 3dec70fef9..5e03cc6684 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 @@ -398,11 +398,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1" @@ -410,6 +405,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -432,11 +432,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago", "http://a.ml/vocabularies/document-source-maps#value": "[(26,8)-(29,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema", @@ -446,6 +441,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/declares/resp/Default/header/parameter/header/Time-Ago/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/endpoints.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/endpoints.json.expanded.jsonld index 04feedca5a..a7af18ca46 100644 --- a/amf-cli/shared/src/test/resources/upanddown/endpoints.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/endpoints.json.expanded.jsonld @@ -44,9 +44,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/endpoints.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/endpoints.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -54,14 +54,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,2)-(18,27)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/endpoints.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/endpoints.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -69,7 +69,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(18,2)-(18,27)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/endpoints.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/endpoints.json.flattened.jsonld index e0485db26a..83bf063eba 100644 --- a/amf-cli/shared/src/test/resources/upanddown/endpoints.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/endpoints.json.flattened.jsonld @@ -242,14 +242,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/endpoints.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/endpoints.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/endpoints.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/endpoints.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -437,14 +437,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(6,40)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/endpoints.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/endpoints.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(18,27)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/endpoints.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/endpoints.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(18,27)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/endpoints.json#/web-api/server/api.example.com%2Fpath/source-map/virtual-element/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/enums/enums.raml.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/enums/enums.raml.expanded.jsonld index 55655b366d..ac160e9cdd 100644 --- a/amf-cli/shared/src/test/resources/upanddown/enums/enums.raml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/enums/enums.raml.expanded.jsonld @@ -298,21 +298,6 @@ "@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/enums/enums.json#/declares/scalar/scalarString/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString" - } - ], - "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/enums/enums.json#/declares/scalar/scalarString/source-map/lexical/element_3", @@ -367,6 +352,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString/source-map/type-property-lexical-info/element_0", @@ -568,21 +568,6 @@ "@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/enums/enums.json#/declares/scalar/scalarNumber/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber" - } - ], - "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/enums/enums.json#/declares/scalar/scalarNumber/source-map/lexical/element_3", @@ -637,6 +622,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber/source-map/type-property-lexical-info/element_0", @@ -709,9 +709,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1" @@ -719,35 +719,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(41,10)-(41,16)]" + "@value": "[(40,8)-(42,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,8)-(42,9)]" + "@value": "[(41,10)-(41,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(41,10)-(41,26)]" + "@value": "[(41,10)-(41,16)]" } ] } @@ -842,9 +842,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2" @@ -852,35 +852,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,10)-(44,16)]" + "@value": "[(43,8)-(45,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(43,8)-(45,9)]" + "@value": "[(44,10)-(44,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,10)-(44,26)]" + "@value": "[(44,10)-(44,16)]" } ] } @@ -1446,6 +1446,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType" + } + ], + "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/enums/enums.json#/declares/shape/objectType/source-map/lexical/element_3", @@ -1499,21 +1514,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1553,9 +1553,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items" @@ -1563,35 +1563,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(61,8)-(61,14)]" + "@value": "[(60,6)-(62,7)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(60,6)-(62,7)]" + "@value": "[(61,8)-(61,24)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(61,8)-(61,24)]" + "@value": "[(61,8)-(61,14)]" } ] } @@ -1995,21 +1995,6 @@ "@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/enums/enums.json#/declares/array/arrayType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType" - } - ], - "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/enums/enums.json#/declares/array/arrayType/source-map/lexical/element_3", @@ -2064,6 +2049,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/source-map/type-property-lexical-info/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/enums/enums.raml.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/enums/enums.raml.flattened.jsonld index ecb8f44393..2bd2d69ddb 100644 --- a/amf-cli/shared/src/test/resources/upanddown/enums/enums.raml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/enums/enums.raml.flattened.jsonld @@ -208,11 +208,6 @@ "@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/enums/enums.json#/declares/scalar/scalarString/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString/source-map/lexical/element_3" @@ -227,6 +222,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString/source-map/type-property-lexical-info/element_0" @@ -248,11 +248,6 @@ "@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/enums/enums.json#/declares/scalar/scalarNumber/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber/source-map/lexical/element_3" @@ -267,6 +262,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber/source-map/type-property-lexical-info/element_0" @@ -346,6 +346,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/source-map/lexical/element_3" @@ -359,11 +364,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/source-map/declared-element/element_0" - } ] }, { @@ -402,11 +402,6 @@ "@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/enums/enums.json#/declares/array/arrayType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/source-map/lexical/element_3" @@ -421,6 +416,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/source-map/type-property-lexical-info/element_0" @@ -467,11 +467,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -492,6 +487,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString", "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(15,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarString", @@ -537,11 +537,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -562,6 +557,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber", "http://a.ml/vocabularies/document-source-maps#value": "[(16,4)-(22,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber", @@ -687,6 +687,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType", "http://a.ml/vocabularies/document-source-maps#value": "[(34,6)-(34,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -707,21 +712,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType", "http://a.ml/vocabularies/document-source-maps#value": "[(23,4)-(47,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items/source-map/lexical/element_1" @@ -729,6 +724,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -777,11 +777,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -802,6 +797,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType", "http://a.ml/vocabularies/document-source-maps#value": "[(48,4)-(63,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType", @@ -888,11 +888,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1/source-map/lexical/element_1" @@ -900,6 +895,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -917,11 +917,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2/source-map/lexical/element_1" @@ -929,6 +924,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1065,11 +1065,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(61,8)-(61,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items", @@ -1080,6 +1075,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(61,8)-(61,24)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/scalar/items", + "http://a.ml/vocabularies/document-source-maps#value": "[(61,8)-(61,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/array/arrayType/in/array_1/member/scalar_2", "@type": [ @@ -1242,11 +1242,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/scalar/scalarNumber/in/scalar_2", "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(19,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1", - "http://a.ml/vocabularies/document-source-maps#value": "[(41,10)-(41,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1", @@ -1258,9 +1253,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(41,10)-(41,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2", - "http://a.ml/vocabularies/document-source-maps#value": "[(44,10)-(44,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value1/scalar/value1", + "http://a.ml/vocabularies/document-source-maps#value": "[(41,10)-(41,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2/source-map/lexical/element_1", @@ -1272,6 +1267,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(44,10)-(44,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/property/property/value2/scalar/value2", + "http://a.ml/vocabularies/document-source-maps#value": "[(44,10)-(44,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/enums/enums.json#/declares/shape/objectType/in/object_1/value1/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/examples.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/examples.json.expanded.jsonld index 16d33430bf..ffba073e03 100644 --- a/amf-cli/shared/src/test/resources/upanddown/examples.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/examples.json.expanded.jsonld @@ -546,6 +546,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,12)-(35,24)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam/source-map/lexical/element_3", @@ -599,21 +614,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(35,12)-(35,24)]" - } - ] - } ] } ] @@ -625,21 +625,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson" - } - ], - "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/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_3", @@ -693,6 +678,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } ] } ] @@ -908,21 +908,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(12,12)-(12,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3", @@ -976,6 +961,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(12,12)-(12,18)]" + } + ] + } ] } ] @@ -2044,6 +2044,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default" + } + ], + "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/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default/source-map/lexical/element_2", @@ -2084,21 +2099,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -3623,9 +3623,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name" @@ -3633,35 +3633,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(92,10)-(92,16)]" + "@value": "[(91,8)-(93,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(91,8)-(93,9)]" + "@value": "[(92,10)-(92,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(92,10)-(92,26)]" + "@value": "[(92,10)-(92,16)]" } ] } @@ -3758,9 +3758,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname" @@ -3768,35 +3768,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(95,10)-(95,16)]" + "@value": "[(94,8)-(96,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(94,8)-(96,9)]" + "@value": "[(95,10)-(95,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(95,10)-(95,26)]" + "@value": "[(95,10)-(95,16)]" } ] } @@ -4197,6 +4197,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User" + } + ], + "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/examples.json#/declares/shape/User/source-map/lexical/element_3", @@ -4250,21 +4265,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -4323,9 +4323,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name" @@ -4333,35 +4333,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(107,10)-(107,16)]" + "@value": "[(106,8)-(108,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(106,8)-(108,9)]" + "@value": "[(107,10)-(107,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(107,10)-(107,26)]" + "@value": "[(107,10)-(107,16)]" } ] } @@ -4458,9 +4458,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address" @@ -4468,35 +4468,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,10)-(110,16)]" + "@value": "[(109,8)-(111,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(109,8)-(111,9)]" + "@value": "[(110,10)-(110,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,10)-(110,26)]" + "@value": "[(110,10)-(110,16)]" } ] } @@ -4593,9 +4593,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value" @@ -4603,35 +4603,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(113,10)-(113,16)]" + "@value": "[(112,8)-(114,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(112,8)-(114,9)]" + "@value": "[(113,10)-(113,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(113,10)-(113,26)]" + "@value": "[(113,10)-(113,16)]" } ] } @@ -5032,6 +5032,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org" + } + ], + "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/examples.json#/declares/shape/Org/source-map/lexical/element_3", @@ -5085,21 +5100,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/examples.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/examples.json.flattened.jsonld index 0466efdf98..e46fb0c34e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/examples.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/examples.json.flattened.jsonld @@ -432,11 +432,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_3" @@ -450,6 +445,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0" + } ] }, { @@ -760,6 +760,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam/source-map/parameter-binding-in-body-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam/source-map/lexical/element_3" @@ -773,18 +778,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam/source-map/parameter-binding-in-body-lexical-info/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#mediaType", @@ -805,6 +800,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson", "http://a.ml/vocabularies/document-source-maps#value": "[(18,10)-(36,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/examples/example/default-example", "@type": [ @@ -827,11 +827,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3" @@ -845,6 +840,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -955,6 +955,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default/source-map/lexical/element_2" @@ -965,11 +970,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default/source-map/auto-generated-name/element_0" - } ] }, { @@ -1365,6 +1365,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam", "http://a.ml/vocabularies/document-source-maps#value": "[(21,14)-(21,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam", + "http://a.ml/vocabularies/document-source-maps#value": "[(35,12)-(35,24)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#and", @@ -1385,11 +1390,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam", "http://a.ml/vocabularies/document-source-maps#value": "[(20,12)-(33,13)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/payload/application%2Fjson/shape/bodyParam", - "http://a.ml/vocabularies/document-source-maps#value": "[(35,12)-(35,24)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/examples/example/default-example/scalar_1", "@type": [ @@ -1429,11 +1429,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,12)-(12,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -1454,6 +1449,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(17,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/post/expects/request/header/parameter/header/UserID/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,12)-(12,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default/and/shape/item0/source-map", "@type": [ @@ -1574,6 +1574,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default", "http://a.ml/vocabularies/document-source-maps#value": "[(46,14)-(46,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#and", @@ -1589,11 +1594,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default", "http://a.ml/vocabularies/document-source-maps#value": "[(45,12)-(64,13)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/web-api/endpoint/%2Forganization/supportedOperation/get/returns/resp/201/examples/example/application%2Fjson/object_1/name_3/source-map", "@type": [ @@ -2770,6 +2770,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/source-map/lexical/element_3" @@ -2783,11 +2788,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/source-map/declared-element/element_0" - } ] }, { @@ -2894,6 +2894,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/source-map/lexical/element_3" @@ -2907,11 +2912,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/source-map/declared-element/element_0" - } ] }, { @@ -3037,6 +3037,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User", "http://a.ml/vocabularies/document-source-maps#value": "[(89,6)-(89,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -3057,11 +3062,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User", "http://a.ml/vocabularies/document-source-maps#value": "[(88,4)-(102,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name", "@type": [ @@ -3222,6 +3222,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org", "http://a.ml/vocabularies/document-source-maps#value": "[(104,6)-(104,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -3242,21 +3247,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org", "http://a.ml/vocabularies/document-source-maps#value": "[(103,4)-(120,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_1" @@ -3264,6 +3259,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3281,11 +3281,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/lexical/element_1" @@ -3293,6 +3288,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3387,11 +3387,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1" @@ -3399,6 +3394,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3416,11 +3416,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address/source-map/lexical/element_1" @@ -3428,6 +3423,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3445,11 +3445,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value/source-map/lexical/element_1" @@ -3457,6 +3452,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3546,11 +3546,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/examples/example/default-example", "http://a.ml/vocabularies/document-source-maps#value": "[(116,6)-(119,7)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(92,10)-(92,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name", @@ -3562,9 +3557,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(92,10)-(92,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname", - "http://a.ml/vocabularies/document-source-maps#value": "[(95,10)-(95,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(92,10)-(92,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/lexical/element_1", @@ -3576,6 +3571,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(95,10)-(95,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/property/property/lastname/scalar/lastname", + "http://a.ml/vocabularies/document-source-maps#value": "[(95,10)-(95,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/examples/example/default-example/object_1/name_1/source-map", "@type": [ @@ -3634,11 +3634,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/User/examples/example/default-example/object_1", "http://a.ml/vocabularies/document-source-maps#value": "[(98,17)-(101,7)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(107,10)-(107,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name", @@ -3650,9 +3645,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(107,10)-(107,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,10)-(110,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(107,10)-(107,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address/source-map/lexical/element_1", @@ -3665,9 +3660,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(110,10)-(110,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value", - "http://a.ml/vocabularies/document-source-maps#value": "[(113,10)-(113,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/address/scalar/address", + "http://a.ml/vocabularies/document-source-maps#value": "[(110,10)-(110,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value/source-map/lexical/element_1", @@ -3679,6 +3674,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(113,10)-(113,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/property/property/value/scalar/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(113,10)-(113,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/examples.json#/declares/shape/Org/examples/example/default-example/object_1/name_2/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/externals.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/externals.json.expanded.jsonld index 769920ebe3..f108fed098 100644 --- a/amf-cli/shared/src/test/resources/upanddown/externals.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/externals.json.expanded.jsonld @@ -143,9 +143,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a" @@ -153,35 +153,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,18)-(25,24)]" + "@value": "[(24,16)-(26,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,16)-(26,17)]" + "@value": "[(25,18)-(25,34)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,18)-(25,34)]" + "@value": "[(25,18)-(25,24)]" } ] } @@ -281,6 +281,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(19,12)-(19,24)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/lexical/element_2", @@ -321,21 +336,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(19,12)-(19,24)]" - } - ] - } ] } ] @@ -347,21 +347,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson" - } - ], - "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/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_3", @@ -415,6 +400,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } ] } ] @@ -462,9 +462,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema" @@ -472,14 +472,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,14)-(35,20)]" + "@value": "[(34,12)-(38,13)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema" @@ -487,7 +487,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(34,12)-(38,13)]" + "@value": "[(35,14)-(35,20)]" } ] } @@ -802,9 +802,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a" @@ -812,35 +812,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(58,22)-(58,28)]" + "@value": "[(57,20)-(59,21)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(57,20)-(59,21)]" + "@value": "[(58,22)-(58,38)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(58,22)-(58,38)]" + "@value": "[(58,22)-(58,28)]" } ] } @@ -925,9 +925,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/" @@ -935,35 +935,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(54,16)-(61,17)]" + "@value": "[(55,18)-(55,24)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(56,18)-(60,19)]" + "@value": "[(54,16)-(61,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,18)-(55,24)]" + "@value": "[(56,18)-(60,19)]" } ] } @@ -1008,6 +1008,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(49,12)-(49,24)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/lexical/element_2", @@ -1048,21 +1063,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(49,12)-(49,24)]" - } - ] - } ] } ] @@ -1074,21 +1074,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson" - } - ], - "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/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_3", @@ -1142,6 +1127,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } ] } ] @@ -1189,9 +1189,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema" @@ -1199,14 +1199,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(70,14)-(70,20)]" + "@value": "[(69,12)-(73,13)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema" @@ -1214,7 +1214,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(69,12)-(73,13)]" + "@value": "[(70,14)-(70,20)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/externals.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/externals.json.flattened.jsonld index 9359422141..7c6577b396 100644 --- a/amf-cli/shared/src/test/resources/upanddown/externals.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/externals.json.flattened.jsonld @@ -445,11 +445,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_3" @@ -463,6 +458,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0" + } ] }, { @@ -542,11 +542,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_3" @@ -560,6 +555,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0" + } ] }, { @@ -651,6 +651,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/parameter-binding-in-body-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/lexical/element_2" @@ -661,18 +666,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/parameter-binding-in-body-lexical-info/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#mediaType", @@ -693,19 +688,24 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson", "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(29,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/type-property-lexical-info/element_0" } ] }, @@ -761,6 +761,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/parameter-binding-in-body-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/lexical/element_2" @@ -771,18 +776,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/parameter-binding-in-body-lexical-info/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#mediaType", @@ -803,19 +798,24 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson", "http://a.ml/vocabularies/document-source-maps#value": "[(47,10)-(64,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/type-property-lexical-info/element_0" } ] }, @@ -881,6 +881,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated", "http://a.ml/vocabularies/document-source-maps#value": "[(22,14)-(22,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated", + "http://a.ml/vocabularies/document-source-maps#value": "[(19,12)-(19,24)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -897,20 +902,15 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(21,12)-(28,13)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,12)-(19,24)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(34,12)-(38,13)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(35,14)-(35,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(34,12)-(38,13)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a", "@type": [ @@ -945,6 +945,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/source-map/lexical/element_1" @@ -952,11 +957,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -969,6 +969,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated", "http://a.ml/vocabularies/document-source-maps#value": "[(52,14)-(52,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated", + "http://a.ml/vocabularies/document-source-maps#value": "[(49,12)-(49,24)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -985,30 +990,20 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(51,12)-(63,13)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated", - "http://a.ml/vocabularies/document-source-maps#value": "[(49,12)-(49,24)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(69,12)-(73,13)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(70,14)-(70,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/text%2Fxml/schema/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(69,12)-(73,13)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a/source-map/lexical/element_1" @@ -1016,6 +1011,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1070,6 +1070,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/", + "http://a.ml/vocabularies/document-source-maps#value": "[(55,18)-(55,24)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/", @@ -1080,16 +1085,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(56,18)-(60,19)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/", - "http://a.ml/vocabularies/document-source-maps#value": "[(55,18)-(55,24)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,18)-(25,24)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a", @@ -1100,16 +1095,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(25,18)-(25,34)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/property/property/a/scalar/a", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,18)-(25,24)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a/source-map/lexical/element_1" @@ -1117,6 +1112,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1129,11 +1129,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a", "http://a.ml/vocabularies/document-source-maps#value": "[(57,20)-(59,21)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a", - "http://a.ml/vocabularies/document-source-maps#value": "[(58,22)-(58,28)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a", @@ -1144,6 +1139,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(58,22)-(58,38)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/externals.json#/web-api/endpoint/%2Fgroups%2F2/supportedOperation/post/expects/request/payload/application%2Fjson/shape/generated/inherits/shape/property/property/a/scalar/a", + "http://a.ml/vocabularies/document-source-maps#value": "[(58,22)-(58,28)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/externals.json", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/file-type.json b/amf-cli/shared/src/test/resources/upanddown/file-type.json index ea207edf8b..e4a7515a39 100644 --- a/amf-cli/shared/src/test/resources/upanddown/file-type.json +++ b/amf-cli/shared/src/test/resources/upanddown/file-type.json @@ -137,9 +137,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/property/property/fileProp/file-shape/fileProp/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/property/property/fileProp/file-shape/fileProp/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/property/property/fileProp/file-shape/fileProp" @@ -147,35 +147,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,8)-(8,12)]" + "@value": "[(7,15)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/property/property/fileProp/file-shape/fileProp/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/property/property/fileProp/file-shape/fileProp/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/property/property/fileProp/file-shape/fileProp" + "@value": "http://a.ml/vocabularies/shapes#fileType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,15)-(11,0)]" + "@value": "[(9,8)-(11,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/property/property/fileProp/file-shape/fileProp/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/property/property/fileProp/file-shape/fileProp/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#fileType" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/property/property/fileProp/file-shape/fileProp" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(11,0)]" + "@value": "[(8,8)-(8,12)]" } ] } @@ -444,21 +444,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/property/property/stringProp/scalar/stringProp/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/property/property/stringProp/scalar/stringProp" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(13,8)-(13,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/property/property/stringProp/scalar/stringProp/source-map/lexical/element_2", @@ -499,6 +484,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/property/property/stringProp/scalar/stringProp/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/property/property/stringProp/scalar/stringProp" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(13,8)-(13,12)]" + } + ] + } ] } ] @@ -606,6 +606,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType" + } + ], + "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/file-type.raml#/declares/shape/SomeType/source-map/lexical/element_2", @@ -646,21 +661,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/file-type.raml#/declares/shape/SomeType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/form-data-params.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/form-data-params.expanded.jsonld index 997d5ec050..78b208289f 100644 --- a/amf-cli/shared/src/test/resources/upanddown/form-data-params.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/form-data-params.expanded.jsonld @@ -128,21 +128,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/userId/scalar/userId/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/userId/scalar/userId" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(17,12)-(17,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/userId/scalar/userId/source-map/lexical/element_3", @@ -196,6 +181,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/userId/scalar/userId/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/userId/scalar/userId" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,12)-(17,18)]" + } + ] + } ] } ] @@ -246,21 +246,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(24,12)-(24,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name/source-map/lexical/element_2", @@ -301,6 +286,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(24,12)-(24,18)]" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/form-data-params.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/form-data-params.flattened.jsonld index 0fbd109d00..5bc75f4c2f 100644 --- a/amf-cli/shared/src/test/resources/upanddown/form-data-params.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/form-data-params.flattened.jsonld @@ -347,11 +347,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/userId/scalar/userId/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/userId/scalar/userId/source-map/lexical/element_3" @@ -365,6 +360,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/userId/scalar/userId/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/userId/scalar/userId/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -372,11 +372,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name/source-map/lexical/element_2" @@ -387,13 +382,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/userId/scalar/userId/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/userId/scalar/userId", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,12)-(17,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/userId/scalar/userId/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -415,9 +410,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(15,10)-(21,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,12)-(24,18)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/userId/scalar/userId/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/userId/scalar/userId", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,12)-(17,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name/source-map/lexical/element_2", @@ -434,6 +429,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name", "http://a.ml/vocabularies/document-source-maps#value": "[(22,10)-(27,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json#/web-api/endpoint/%2Fusers/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(24,12)-(24,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/form-data-params.json", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/formDataParameters.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/formDataParameters.expanded.jsonld index 9aa5b49106..1b644a603f 100644 --- a/amf-cli/shared/src/test/resources/upanddown/formDataParameters.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/formDataParameters.expanded.jsonld @@ -194,9 +194,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody" @@ -204,35 +204,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,12)-(15,18)]" + "@value": "[(14,10)-(18,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,10)-(18,11)]" + "@value": "[(16,12)-(16,29)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,12)-(16,29)]" + "@value": "[(15,12)-(15,18)]" } ] } @@ -569,9 +569,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema" @@ -579,35 +579,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,6)-(26,12)]" + "@value": "[(25,4)-(30,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,4)-(30,5)]" + "@value": "[(26,6)-(26,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,6)-(26,22)]" + "@value": "[(26,6)-(26,12)]" } ] } @@ -622,21 +622,6 @@ "@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/formDataParameters.json#/declares/parameter/path/a/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a" - } - ], - "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/formDataParameters.json#/declares/parameter/path/a/source-map/lexical/element_4", @@ -703,6 +688,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/formDataParameters.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/formDataParameters.flattened.jsonld index f3ed5410a5..4f2c03548d 100644 --- a/amf-cli/shared/src/test/resources/upanddown/formDataParameters.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/formDataParameters.flattened.jsonld @@ -360,11 +360,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody/source-map/lexical/element_1" @@ -372,13 +367,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,12)-(15,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody", @@ -389,6 +384,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(16,12)-(16,29)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/web-api/endpoint/%2Fa%2F%7Ba%7D/supportedOperation/get/expects/request/payload/formData/shape/formData/property/property/theBody/file-shape/theBody", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,12)-(15,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json", "http://a.ml/vocabularies/document#declares": [ @@ -456,11 +456,6 @@ "@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/formDataParameters.json#/declares/parameter/path/a/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/source-map/lexical/element_4" @@ -477,6 +472,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/source-map/declared-element/element_0" + } ] }, { @@ -484,11 +484,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_1" @@ -496,13 +491,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", @@ -529,9 +524,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(29,6)-(29,17)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(26,6)-(26,12)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a", + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_1", @@ -542,6 +537,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(26,6)-(26,22)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/formDataParameters.json#/declares/parameter/path/a/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(26,6)-(26,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.expanded.jsonld index 748ca2b345..ebb422134a 100644 --- a/amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.expanded.jsonld @@ -39,9 +39,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/server/petstore.swagger.io%2Fv1/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/server/petstore.swagger.io%2Fv1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -49,14 +49,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,0)-(8,0)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/server/petstore.swagger.io%2Fv1/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/server/petstore.swagger.io%2Fv1/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -64,7 +64,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(7,0)-(8,0)]" } ] } @@ -280,21 +280,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/upfile/scalar/upfile/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/upfile/scalar/upfile" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(30,10)-(30,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/upfile/scalar/upfile/source-map/lexical/element_3", @@ -348,6 +333,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/upfile/scalar/upfile/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/upfile/scalar/upfile" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(30,10)-(30,14)]" + } + ] + } ] } ] @@ -403,21 +403,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(35,10)-(35,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note/source-map/lexical/element_3", @@ -471,6 +456,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,10)-(35,14)]" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.flattened.jsonld index b6172aa119..b7c2544165 100644 --- a/amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.flattened.jsonld @@ -127,14 +127,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/server/petstore.swagger.io%2Fv1/source-map/host-lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/server/petstore.swagger.io%2Fv1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/server/petstore.swagger.io%2Fv1/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/server/petstore.swagger.io%2Fv1/source-map/host-lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -245,14 +245,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,0)-(11,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/server/petstore.swagger.io%2Fv1/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/server/petstore.swagger.io%2Fv1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,0)-(8,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/server/petstore.swagger.io%2Fv1/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/server/petstore.swagger.io%2Fv1/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(7,0)-(8,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/server/petstore.swagger.io%2Fv1/source-map/virtual-element/element_0", @@ -607,11 +607,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/upfile/scalar/upfile/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/upfile/scalar/upfile/source-map/lexical/element_3" @@ -625,6 +620,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/upfile/scalar/upfile/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/upfile/scalar/upfile/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -632,11 +632,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note/source-map/lexical/element_3" @@ -650,13 +645,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/upfile/scalar/upfile/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/upfile/scalar/upfile", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(30,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/upfile/scalar/upfile/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -678,9 +673,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(33,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note", - "http://a.ml/vocabularies/document-source-maps#value": "[(35,10)-(35,14)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/upfile/scalar/upfile/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/upfile/scalar/upfile", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(30,14)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note/source-map/lexical/element_3", @@ -702,6 +697,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note", "http://a.ml/vocabularies/document-source-maps#value": "[(33,10)-(37,52)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml#/web-api/endpoint/%2Fupload/supportedOperation/post/expects/request/payload/formData/shape/formData/property/property/note/scalar/note", + "http://a.ml/vocabularies/document-source-maps#value": "[(35,10)-(35,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/formdata-parameters-multiple.yaml", "@type": [ 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 92c9c44159..82861f23bc 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 @@ -467,9 +467,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -477,14 +477,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(18,2)-(18,27)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -492,7 +492,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,2)-(18,27)]" + "@value": "true" } ] } @@ -917,21 +917,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(73,12)-(73,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/lexical/element_2", @@ -972,6 +957,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(73,12)-(73,18)]" + } + ] + } ] } ] @@ -1132,9 +1132,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema" @@ -1142,35 +1142,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(76,12)-(76,18)]" + "@value": "[(75,10)-(79,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(75,10)-(79,11)]" + "@value": "[(76,12)-(76,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(76,12)-(76,28)]" + "@value": "[(76,12)-(76,18)]" } ] } @@ -1315,21 +1315,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(92,12)-(92,24)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName/source-map/lexical/element_2", @@ -1371,6 +1356,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(92,12)-(92,24)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName/source-map/type-property-lexical-info/element_0", @@ -1396,21 +1396,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson" - } - ], - "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/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/source-map/lexical/element_3", @@ -1464,6 +1449,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } ] } ] @@ -1511,21 +1511,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(99,14)-(99,20)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema/source-map/lexical/element_2", @@ -1566,6 +1551,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(99,14)-(99,20)]" + } + ] + } ] } ] @@ -1664,21 +1664,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fpdf/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fpdf/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(106,14)-(106,20)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fpdf/scalar/schema/source-map/lexical/element_2", @@ -1719,6 +1704,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fpdf/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fpdf/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(106,14)-(106,20)]" + } + ] + } ] } ] @@ -1829,9 +1829,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema" @@ -1839,35 +1839,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(81,12)-(81,18)]" + "@value": "[(80,10)-(85,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(80,10)-(85,11)]" + "@value": "[(81,12)-(81,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(81,12)-(81,28)]" + "@value": "[(81,12)-(81,18)]" } ] } @@ -2157,9 +2157,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default" @@ -2167,35 +2167,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(120,12)-(122,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(120,12)-(122,13)]" + "@value": "[(121,14)-(121,30)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(121,14)-(121,30)]" + "@value": "" } ] } @@ -2321,9 +2321,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema" @@ -2331,35 +2331,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(116,16)-(116,22)]" + "@value": "[(115,26)-(117,15)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(115,26)-(117,15)]" + "@value": "[(116,16)-(116,33)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(116,16)-(116,33)]" + "@value": "[(116,16)-(116,22)]" } ] } @@ -2707,9 +2707,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema" @@ -2717,35 +2717,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,10)-(55,16)]" + "@value": "[(51,8)-(56,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,8)-(56,9)]" + "@value": "[(55,10)-(55,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,10)-(55,26)]" + "@value": "[(55,10)-(55,16)]" } ] } @@ -2906,21 +2906,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(62,10)-(62,16)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/lexical/element_2", @@ -2961,6 +2946,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(62,10)-(62,16)]" + } + ] + } ] } ] 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 b81c0aa697..f84fc8a40f 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 @@ -286,14 +286,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/server/api.example.com%2Fpath/source-map/virtual-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0" } ] }, @@ -625,14 +625,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(18,27)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(18,27)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/organization/source-map/lexical/element_3", @@ -1263,11 +1263,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema/source-map/lexical/element_1" @@ -1275,6 +1270,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1312,11 +1312,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/lexical/element_2" @@ -1327,6 +1322,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1520,11 +1520,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/source-map/lexical/element_3" @@ -1538,6 +1533,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0" + } ] }, { @@ -1822,11 +1822,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/404", "http://a.ml/vocabularies/document-source-maps#value": "[(129,10)-(131,11)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(55,10)-(55,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema", @@ -1838,9 +1833,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(55,10)-(55,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(62,10)-(62,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/two/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(55,10)-(55,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/lexical/element_2", @@ -1857,16 +1852,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(57,8)-(63,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/parameter/parameter/path/three/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(62,10)-(62,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/lexical/element_2" @@ -1877,6 +1872,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1919,11 +1919,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_1" @@ -1931,6 +1926,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1968,11 +1968,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName/source-map/parameter-binding-in-body-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName/source-map/lexical/element_2" @@ -1984,17 +1979,17 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName/source-map/parameter-binding-in-body-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName/source-map/type-property-lexical-info/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#mediaType", @@ -2015,16 +2010,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson", "http://a.ml/vocabularies/document-source-maps#value": "[(86,10)-(93,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema/source-map/lexical/element_2" @@ -2035,6 +2030,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2057,11 +2057,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fpdf/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fpdf/scalar/schema/source-map/lexical/element_2" @@ -2072,6 +2067,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fpdf/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fpdf/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2094,11 +2094,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/lexical/element_1" @@ -2106,6 +2101,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2153,11 +2153,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/lexical/element_1" @@ -2166,6 +2161,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/type-property-lexical-info/element_0" @@ -2192,11 +2192,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1" @@ -2204,6 +2199,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2226,11 +2226,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(115,26)-(117,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(73,12)-(73,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -2247,9 +2242,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(68,10)-(74,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(76,12)-(76,18)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param1/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(73,12)-(73,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/lexical/element_1", @@ -2262,9 +2257,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(76,12)-(76,28)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName", - "http://a.ml/vocabularies/document-source-maps#value": "[(92,12)-(92,24)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/parameter/parameter/query/param2/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(76,12)-(76,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName/source-map/lexical/element_2", @@ -2282,14 +2277,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(88,12)-(90,13)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName/source-map/parameter-binding-in-body-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName", - "http://a.ml/vocabularies/document-source-maps#value": "[(89,14)-(89,20)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(92,12)-(92,24)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(99,14)-(99,20)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fjson/scalar/someName", + "http://a.ml/vocabularies/document-source-maps#value": "[(89,14)-(89,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema/source-map/lexical/element_2", @@ -2307,9 +2302,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(98,12)-(101,13)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fpdf/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fpdf/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(106,14)-(106,20)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fxml/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(99,14)-(99,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fpdf/scalar/schema/source-map/lexical/element_2", @@ -2327,9 +2322,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(105,12)-(108,13)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(81,12)-(81,18)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fpdf/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/payload/application%2Fpdf/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(106,14)-(106,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/lexical/element_1", @@ -2342,9 +2337,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(81,12)-(81,28)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/expects/request/header/parameter/header/testHeader/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(81,12)-(81,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/lexical/element_1", @@ -2357,14 +2352,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(121,14)-(121,30)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(121,14)-(121,20)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(116,16)-(116,22)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/payload/application%2Fyaml/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "[(121,14)-(121,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/lexical/element_1", @@ -2376,6 +2371,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(116,16)-(116,33)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/endpoint/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/supportedOperation/get/Some%20title/returns/resp/200/header/parameter/header/Time-Ago/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(116,16)-(116,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json", "@type": [ 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 index f8ba5d329d..15ae519ad9 100644 --- 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 @@ -540,9 +540,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Any" @@ -550,14 +550,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(125,0)-(158,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Any/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Any" @@ -565,7 +565,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(125,0)-(158,1)]" + "@value": "" } ] } 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 index 1ea6a30143..7c27604c50 100644 --- 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 @@ -363,14 +363,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Any/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/declared-element/element_0" } ] }, @@ -437,14 +437,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Any", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(125,0)-(158,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Any", - "http://a.ml/vocabularies/document-source-maps#value": "[(125,0)-(158,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/property/type_url/scalar/default-scalar/source-map", 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 index c09d89e504..46af5b02d7 100644 --- 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 @@ -780,9 +780,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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#/shape/.google.protobuf.SourceContext/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.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#/shape/.google.protobuf.SourceContext" @@ -790,14 +790,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(44,0)-(48,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.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#/shape/.google.protobuf.SourceContext" @@ -805,7 +805,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,0)-(48,1)]" + "@value": "" } ] } @@ -1431,9 +1431,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Option/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Option" @@ -1441,14 +1441,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(168,0)-(179,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Option/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Option" @@ -1456,7 +1456,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(168,0)-(179,1)]" + "@value": "" } ] } @@ -2439,9 +2439,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field" @@ -2449,14 +2449,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(63,0)-(140,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Field/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field" @@ -2464,7 +2464,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,0)-(140,1)]" + "@value": "" } ] } @@ -3220,9 +3220,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Type/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Type" @@ -3230,14 +3230,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(47,0)-(60,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Type" @@ -3245,7 +3245,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(47,0)-(60,1)]" + "@value": "" } ] } @@ -3884,9 +3884,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Enum/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Enum" @@ -3894,14 +3894,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(143,0)-(154,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Enum/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Enum" @@ -3909,7 +3909,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(143,0)-(154,1)]" + "@value": "" } ] } @@ -4305,9 +4305,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality" @@ -4315,14 +4315,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(107,2)-(116,3)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality" @@ -4330,7 +4330,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(107,2)-(116,3)]" + "@value": "" } ] } @@ -5926,9 +5926,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind" @@ -5936,14 +5936,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(65,2)-(104,3)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind" @@ -5951,7 +5951,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(65,2)-(104,3)]" + "@value": "" } ] } @@ -6305,9 +6305,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.EnumValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.EnumValue" @@ -6315,14 +6315,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(157,0)-(164,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.EnumValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.EnumValue" @@ -6330,7 +6330,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(157,0)-(164,1)]" + "@value": "" } ] } @@ -6566,9 +6566,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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/declared-element/element_0", + "@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" @@ -6576,14 +6576,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(182,0)-(187,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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/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": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types/scalar/.google.protobuf.Syntax" @@ -6591,7 +6591,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(182,0)-(187,1)]" + "@value": "" } ] } @@ -7114,9 +7114,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Any" @@ -7124,14 +7124,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(125,0)-(158,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Any/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Any" @@ -7139,7 +7139,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(125,0)-(158,1)]" + "@value": "" } ] } @@ -7609,9 +7609,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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#/shape/.google.protobuf.SourceContext/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.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#/shape/.google.protobuf.SourceContext" @@ -7619,14 +7619,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(44,0)-(48,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.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#/shape/.google.protobuf.SourceContext" @@ -7634,7 +7634,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,0)-(48,1)]" + "@value": "" } ] } @@ -8552,9 +8552,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Api/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Api" @@ -8562,14 +8562,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(54,0)-(97,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Api/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Api" @@ -8577,7 +8577,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(54,0)-(97,1)]" + "@value": "" } ] } @@ -9271,9 +9271,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Method/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Method" @@ -9281,14 +9281,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(100,0)-(121,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Method/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Method" @@ -9296,7 +9296,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(100,0)-(121,1)]" + "@value": "" } ] } @@ -9495,9 +9495,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Mixin/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Mixin" @@ -9505,14 +9505,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(201,0)-(208,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Mixin/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Mixin" @@ -9520,7 +9520,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(201,0)-(208,1)]" + "@value": "" } ] } 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 index 671af07cfb..04199576d9 100644 --- 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 @@ -1033,14 +1033,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Api/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Api/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Api/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Api/source-map/declared-element/element_0" } ] }, @@ -1182,14 +1182,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Method/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Method/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Method/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Method/source-map/declared-element/element_0" } ] }, @@ -1236,14 +1236,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Mixin/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Mixin/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Mixin/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Mixin/source-map/declared-element/element_0" } ] }, @@ -1271,14 +1271,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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#/shape/.google.protobuf.SourceContext/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.google.protobuf.SourceContext/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.google.protobuf.SourceContext/source-map/declared-element/element_0" } ] }, @@ -1345,14 +1345,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Option/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Option/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Option/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Option/source-map/declared-element/element_0" } ] }, @@ -1551,14 +1551,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Field/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/source-map/declared-element/element_0" } ] }, @@ -1681,14 +1681,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Type/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Type/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Type/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Type/source-map/declared-element/element_0" } ] }, @@ -1792,14 +1792,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Enum/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Enum/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Enum/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Enum/source-map/declared-element/element_0" } ] }, @@ -1853,14 +1853,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/declared-element/element_0" } ] }, @@ -2004,14 +2004,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/declared-element/element_0" } ] }, @@ -2077,14 +2077,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.EnumValue/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.EnumValue/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.EnumValue/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.EnumValue/source-map/declared-element/element_0" } ] }, @@ -2126,14 +2126,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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/declared-element/element_0" + "@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#lexical": [ + "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/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" } ] }, @@ -2435,14 +2435,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Api/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Api", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(54,0)-(97,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Api/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Api", - "http://a.ml/vocabularies/document-source-maps#value": "[(54,0)-(97,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Method/property/name/scalar/default-scalar", @@ -2662,14 +2662,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Method/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Method", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(100,0)-(121,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Method/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Method", - "http://a.ml/vocabularies/document-source-maps#value": "[(100,0)-(121,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Mixin/property/name/scalar/default-scalar", @@ -2734,14 +2734,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Mixin/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Mixin", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(201,0)-(208,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Mixin/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Mixin", - "http://a.ml/vocabularies/document-source-maps#value": "[(201,0)-(208,1)]" + "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#/shape/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar", @@ -2775,14 +2775,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.google.protobuf.SourceContext/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.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#/shape/.google.protobuf.SourceContext", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(44,0)-(48,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.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#/shape/.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#/shape/.google.protobuf.SourceContext", - "http://a.ml/vocabularies/document-source-maps#value": "[(44,0)-(48,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "null/extensioncc_enable_arenas/data-node/source-map", @@ -2860,14 +2860,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Option/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Option", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(168,0)-(179,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Option/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Option", - "http://a.ml/vocabularies/document-source-maps#value": "[(168,0)-(179,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/property/kind/scalar/Kind", @@ -3184,14 +3184,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(63,0)-(140,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field", - "http://a.ml/vocabularies/document-source-maps#value": "[(63,0)-(140,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Type/property/name/scalar/default-scalar", @@ -3377,14 +3377,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Type/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Type", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(47,0)-(60,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Type", - "http://a.ml/vocabularies/document-source-maps#value": "[(47,0)-(60,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Enum/property/name/scalar/default-scalar", @@ -3541,14 +3541,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Enum/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Enum", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(143,0)-(154,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Enum/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Enum", - "http://a.ml/vocabularies/document-source-maps#value": "[(143,0)-(154,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/shape/default-node/data-node", @@ -3640,14 +3640,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(107,2)-(116,3)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality", - "http://a.ml/vocabularies/document-source-maps#value": "[(107,2)-(116,3)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/shape/default-node/data-node", @@ -3979,14 +3979,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(65,2)-(104,3)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind", - "http://a.ml/vocabularies/document-source-maps#value": "[(65,2)-(104,3)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.EnumValue/property/name/scalar/default-scalar", @@ -4081,14 +4081,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.EnumValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.EnumValue", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(157,0)-(164,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.EnumValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.EnumValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(157,0)-(164,1)]" + "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#/shape/default-node/data-node", @@ -4148,14 +4148,14 @@ ] }, { - "@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", + "@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": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(182,0)-(187,1)]" }, { - "@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/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": "[(182,0)-(187,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/property/type_url", @@ -4200,14 +4200,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Any/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/declared-element/element_0" } ] }, @@ -5578,14 +5578,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Any", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(125,0)-(158,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Any", - "http://a.ml/vocabularies/document-source-maps#value": "[(125,0)-(158,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto/web-api/types#/shape/.google.protobuf.Api/property/name/scalar/default-scalar/source-map/lexical/element_0", 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 index efa47d2e98..eb5a36c4c7 100644 --- 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 @@ -599,9 +599,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto/web-api/types#/shape/.google.protobuf.Duration/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Duration" @@ -609,14 +609,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(103,0)-(116,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Duration/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Duration" @@ -624,7 +624,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(103,0)-(116,1)]" + "@value": "" } ] } 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 index ee18b3b42e..53eea2af9f 100644 --- 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 @@ -405,14 +405,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto/web-api/types#/shape/.google.protobuf.Duration/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto/web-api/types#/shape/.google.protobuf.Duration/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Duration/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto/web-api/types#/shape/.google.protobuf.Duration/source-map/declared-element/element_0" } ] }, @@ -481,14 +481,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto/web-api/types#/shape/.google.protobuf.Duration/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Duration", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(103,0)-(116,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto/web-api/types#/shape/.google.protobuf.Duration/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Duration", - "http://a.ml/vocabularies/document-source-maps#value": "[(103,0)-(116,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto/web-api/types#/shape/.google.protobuf.Duration/property/seconds/scalar/default-scalar/source-map", 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 index 2ee044a561..44a7e625cc 100644 --- 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 @@ -423,9 +423,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto/web-api/types#/shape/.google.protobuf.Empty/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Empty" @@ -433,14 +433,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(52,0)-(52,16)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Empty/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Empty" @@ -448,7 +448,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(52,0)-(52,16)]" + "@value": "" } ] } 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 index b3a75122af..a09af47c8f 100644 --- 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 @@ -359,26 +359,26 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto/web-api/types#/shape/.google.protobuf.Empty/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto/web-api/types#/shape/.google.protobuf.Empty/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Empty/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto/web-api/types#/shape/.google.protobuf.Empty/source-map/declared-element/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto/web-api/types#/shape/.google.protobuf.Empty/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Empty", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(52,0)-(52,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto/web-api/types#/shape/.google.protobuf.Empty/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Empty", - "http://a.ml/vocabularies/document-source-maps#value": "[(52,0)-(52,16)]" + "http://a.ml/vocabularies/document-source-maps#value": "" } ] } 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 index fe43e45b23..20caf80ad9 100644 --- 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 @@ -542,9 +542,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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#/shape/.google.protobuf.FieldMask/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto/web-api/types#/shape/.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#/shape/.google.protobuf.FieldMask" @@ -552,14 +552,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(242,0)-(245,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.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#/shape/.google.protobuf.FieldMask" @@ -567,7 +567,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(242,0)-(245,1)]" + "@value": "" } ] } 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 index c7b63d08b3..bf5e5f34f2 100644 --- 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 @@ -383,14 +383,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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#/shape/.google.protobuf.FieldMask/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto/web-api/types#/shape/.google.protobuf.FieldMask/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.google.protobuf.FieldMask/source-map/declared-element/element_0" } ] }, @@ -424,14 +424,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto/web-api/types#/shape/.google.protobuf.FieldMask/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto/web-api/types#/shape/.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#/shape/.google.protobuf.FieldMask", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(242,0)-(245,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto/web-api/types#/shape/.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#/shape/.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#/shape/.google.protobuf.FieldMask", - "http://a.ml/vocabularies/document-source-maps#value": "[(242,0)-(245,1)]" + "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#/shape/.google.protobuf.FieldMask/property/paths/array/default-array/items/scalar/default-scalar", 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 index 95096c6425..8dcf876783 100644 --- 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 @@ -458,9 +458,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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#/shape/.google.protobuf.SourceContext/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.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#/shape/.google.protobuf.SourceContext" @@ -468,14 +468,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(44,0)-(48,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.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#/shape/.google.protobuf.SourceContext" @@ -483,7 +483,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,0)-(48,1)]" + "@value": "" } ] } 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 index 76f4ec8282..39c864a095 100644 --- 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 @@ -341,14 +341,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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#/shape/.google.protobuf.SourceContext/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.google.protobuf.SourceContext/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.google.protobuf.SourceContext/source-map/declared-element/element_0" } ] }, @@ -384,14 +384,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.google.protobuf.SourceContext/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.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#/shape/.google.protobuf.SourceContext", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(44,0)-(48,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.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#/shape/.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#/shape/.google.protobuf.SourceContext", - "http://a.ml/vocabularies/document-source-maps#value": "[(44,0)-(48,1)]" + "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#/shape/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar/source-map", 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 index f9c8cf8030..8ccfefa2b4 100644 --- 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 @@ -615,9 +615,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.Struct/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Struct" @@ -625,14 +625,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(51,0)-(54,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Struct/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Struct" @@ -640,7 +640,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,0)-(54,1)]" + "@value": "" } ] } @@ -1508,9 +1508,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.Value/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Value" @@ -1518,14 +1518,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(62,0)-(78,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Value/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Value" @@ -1533,7 +1533,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(62,0)-(78,1)]" + "@value": "" } ] } @@ -1710,9 +1710,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.ListValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.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#/shape/.google.protobuf.ListValue" @@ -1720,14 +1720,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(92,0)-(95,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.ListValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.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#/shape/.google.protobuf.ListValue" @@ -1735,7 +1735,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(92,0)-(95,1)]" + "@value": "" } ] } @@ -1891,9 +1891,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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/declared-element/element_0", + "@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" @@ -1901,14 +1901,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(84,0)-(87,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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/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": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types/scalar/.google.protobuf.NullValue" @@ -1916,7 +1916,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(84,0)-(87,1)]" + "@value": "" } ] } 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 index 0f78aad060..5889b67344 100644 --- 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 @@ -459,14 +459,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.Struct/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.Struct/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Struct/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.Struct/source-map/declared-element/element_0" } ] }, @@ -511,14 +511,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.Value/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.Value/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Value/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.Value/source-map/declared-element/element_0" } ] }, @@ -546,14 +546,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.ListValue/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.ListValue/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.ListValue/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.ListValue/source-map/declared-element/element_0" } ] }, @@ -589,14 +589,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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/declared-element/element_0" + "@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#lexical": [ + "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/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" } ] }, @@ -633,14 +633,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.Struct/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Struct", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(51,0)-(54,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.Struct/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Struct", - "http://a.ml/vocabularies/document-source-maps#value": "[(51,0)-(54,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.Value/union/kind/shape/default-node", @@ -674,14 +674,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.Value/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Value", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(62,0)-(78,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.Value/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Value", - "http://a.ml/vocabularies/document-source-maps#value": "[(62,0)-(78,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.ListValue/property/values/array/default-array", @@ -713,14 +713,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.ListValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.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#/shape/.google.protobuf.ListValue", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(92,0)-(95,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.ListValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.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#/shape/.google.protobuf.ListValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(92,0)-(95,1)]" + "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#/shape/default-node/data-node", @@ -764,14 +764,14 @@ ] }, { - "@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", + "@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": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(84,0)-(87,1)]" }, { - "@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/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": "[(84,0)-(87,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto/web-api/types#/shape/.google.protobuf.Struct/property/fields/shape/default-node/scalar/default-scalar", 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 index 65cc261473..d659c6b399 100644 --- 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 @@ -599,9 +599,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto/web-api/types#/shape/.google.protobuf.Timestamp/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Timestamp" @@ -609,14 +609,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(136,0)-(147,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Timestamp/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Timestamp" @@ -624,7 +624,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(136,0)-(147,1)]" + "@value": "" } ] } 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 index a4a13fceb0..3a2b005a82 100644 --- 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 @@ -405,14 +405,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto/web-api/types#/shape/.google.protobuf.Timestamp/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto/web-api/types#/shape/.google.protobuf.Timestamp/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Timestamp/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto/web-api/types#/shape/.google.protobuf.Timestamp/source-map/declared-element/element_0" } ] }, @@ -481,14 +481,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto/web-api/types#/shape/.google.protobuf.Timestamp/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Timestamp", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(136,0)-(147,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto/web-api/types#/shape/.google.protobuf.Timestamp/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Timestamp", - "http://a.ml/vocabularies/document-source-maps#value": "[(136,0)-(147,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto/web-api/types#/shape/.google.protobuf.Timestamp/property/seconds/scalar/default-scalar/source-map", 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 index 487ecd5a6f..503945aab9 100644 --- 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 @@ -911,9 +911,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Any" @@ -921,14 +921,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(125,0)-(158,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Any/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Any" @@ -936,7 +936,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(125,0)-(158,1)]" + "@value": "" } ] } @@ -1406,9 +1406,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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#/shape/.google.protobuf.SourceContext/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.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#/shape/.google.protobuf.SourceContext" @@ -1416,14 +1416,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(44,0)-(48,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.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#/shape/.google.protobuf.SourceContext" @@ -1431,7 +1431,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,0)-(48,1)]" + "@value": "" } ] } @@ -1688,9 +1688,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Option/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Option" @@ -1698,14 +1698,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(168,0)-(179,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Option/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Option" @@ -1713,7 +1713,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(168,0)-(179,1)]" + "@value": "" } ] } @@ -2696,9 +2696,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field" @@ -2706,14 +2706,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(63,0)-(140,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Field/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field" @@ -2721,7 +2721,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,0)-(140,1)]" + "@value": "" } ] } @@ -3477,9 +3477,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Type/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Type" @@ -3487,14 +3487,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(47,0)-(60,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Type" @@ -3502,7 +3502,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(47,0)-(60,1)]" + "@value": "" } ] } @@ -4141,9 +4141,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Enum/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Enum" @@ -4151,14 +4151,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(143,0)-(154,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Enum/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Enum" @@ -4166,7 +4166,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(143,0)-(154,1)]" + "@value": "" } ] } @@ -4562,9 +4562,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality" @@ -4572,14 +4572,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(107,2)-(116,3)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality" @@ -4587,7 +4587,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(107,2)-(116,3)]" + "@value": "" } ] } @@ -6183,9 +6183,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind" @@ -6193,14 +6193,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(65,2)-(104,3)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind" @@ -6208,7 +6208,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(65,2)-(104,3)]" + "@value": "" } ] } @@ -6562,9 +6562,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.EnumValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.EnumValue" @@ -6572,14 +6572,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(157,0)-(164,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.EnumValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.EnumValue" @@ -6587,7 +6587,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(157,0)-(164,1)]" + "@value": "" } ] } @@ -6823,9 +6823,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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/declared-element/element_0", + "@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" @@ -6833,14 +6833,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(182,0)-(187,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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/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": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types/scalar/.google.protobuf.Syntax" @@ -6848,7 +6848,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(182,0)-(187,1)]" + "@value": "" } ] } 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 index 3f0fadb3f3..520064e6ae 100644 --- 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 @@ -858,14 +858,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Option/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Option/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Option/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Option/source-map/declared-element/element_0" } ] }, @@ -1064,14 +1064,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Field/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/source-map/declared-element/element_0" } ] }, @@ -1194,14 +1194,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Type/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Type/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Type/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Type/source-map/declared-element/element_0" } ] }, @@ -1305,14 +1305,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Enum/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Enum/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Enum/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Enum/source-map/declared-element/element_0" } ] }, @@ -1366,14 +1366,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/declared-element/element_0" } ] }, @@ -1517,14 +1517,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/declared-element/element_0" } ] }, @@ -1590,14 +1590,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.EnumValue/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.EnumValue/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.EnumValue/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.EnumValue/source-map/declared-element/element_0" } ] }, @@ -1639,14 +1639,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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/declared-element/element_0" + "@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#lexical": [ + "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/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" } ] }, @@ -1693,14 +1693,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Any/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/declared-element/element_0" } ] }, @@ -1728,14 +1728,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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#/shape/.google.protobuf.SourceContext/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.google.protobuf.SourceContext/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.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#/shape/.google.protobuf.SourceContext/source-map/declared-element/element_0" } ] }, @@ -1804,14 +1804,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Option/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Option", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(168,0)-(179,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Option/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Option", - "http://a.ml/vocabularies/document-source-maps#value": "[(168,0)-(179,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/property/kind/scalar/Kind", @@ -2128,14 +2128,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(63,0)-(140,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field", - "http://a.ml/vocabularies/document-source-maps#value": "[(63,0)-(140,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Type/property/name/scalar/default-scalar", @@ -2321,14 +2321,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Type/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Type", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(47,0)-(60,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Type", - "http://a.ml/vocabularies/document-source-maps#value": "[(47,0)-(60,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Enum/property/name/scalar/default-scalar", @@ -2485,14 +2485,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Enum/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Enum", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(143,0)-(154,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Enum/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Enum", - "http://a.ml/vocabularies/document-source-maps#value": "[(143,0)-(154,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/shape/default-node/data-node", @@ -2584,14 +2584,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(107,2)-(116,3)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality", - "http://a.ml/vocabularies/document-source-maps#value": "[(107,2)-(116,3)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/shape/default-node/data-node", @@ -2923,14 +2923,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(65,2)-(104,3)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.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#/shape/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind", - "http://a.ml/vocabularies/document-source-maps#value": "[(65,2)-(104,3)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.EnumValue/property/name/scalar/default-scalar", @@ -3025,14 +3025,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.EnumValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.EnumValue", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(157,0)-(164,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.EnumValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.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#/shape/.google.protobuf.EnumValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(157,0)-(164,1)]" + "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#/shape/default-node/data-node", @@ -3092,14 +3092,14 @@ ] }, { - "@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", + "@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": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(182,0)-(187,1)]" }, { - "@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/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": "[(182,0)-(187,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/property/type_url/scalar/default-scalar", @@ -3164,14 +3164,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Any", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(125,0)-(158,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.google.protobuf.Any/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Any", - "http://a.ml/vocabularies/document-source-maps#value": "[(125,0)-(158,1)]" + "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#/shape/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar", @@ -3205,14 +3205,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.google.protobuf.SourceContext/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.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#/shape/.google.protobuf.SourceContext", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(44,0)-(48,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto/web-api/types#/shape/.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#/shape/.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#/shape/.google.protobuf.SourceContext", - "http://a.ml/vocabularies/document-source-maps#value": "[(44,0)-(48,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto/web-api/types#/shape/.google.protobuf.Option/property/name/scalar/default-scalar/source-map", 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 index 7cdcae11dd..0d4248981d 100644 --- 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 @@ -507,9 +507,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.StringValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.StringValue" @@ -517,14 +517,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(112,0)-(115,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.StringValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.StringValue" @@ -532,7 +532,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(112,0)-(115,1)]" + "@value": "" } ] } @@ -649,9 +649,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.BytesValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.BytesValue" @@ -659,14 +659,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(120,0)-(123,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.BytesValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.BytesValue" @@ -674,7 +674,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(120,0)-(123,1)]" + "@value": "" } ] } @@ -791,9 +791,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.FloatValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.FloatValue" @@ -801,14 +801,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(64,0)-(67,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.FloatValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.FloatValue" @@ -816,7 +816,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,0)-(67,1)]" + "@value": "" } ] } @@ -938,9 +938,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.UInt32Value/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.UInt32Value" @@ -948,14 +948,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(96,0)-(99,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.UInt32Value/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.UInt32Value" @@ -963,7 +963,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(96,0)-(99,1)]" + "@value": "" } ] } @@ -1085,9 +1085,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.UInt64Value/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.UInt64Value" @@ -1095,14 +1095,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(80,0)-(83,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.UInt64Value/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.UInt64Value" @@ -1110,7 +1110,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(80,0)-(83,1)]" + "@value": "" } ] } @@ -1227,9 +1227,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.DoubleValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.DoubleValue" @@ -1237,14 +1237,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(56,0)-(59,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.DoubleValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.DoubleValue" @@ -1252,7 +1252,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(56,0)-(59,1)]" + "@value": "" } ] } @@ -1374,9 +1374,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.Int32Value/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Int32Value" @@ -1384,14 +1384,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(88,0)-(91,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Int32Value/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Int32Value" @@ -1399,7 +1399,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(88,0)-(91,1)]" + "@value": "" } ] } @@ -1516,9 +1516,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.BoolValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.BoolValue" @@ -1526,14 +1526,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(104,0)-(107,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.BoolValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.BoolValue" @@ -1541,7 +1541,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(104,0)-(107,1)]" + "@value": "" } ] } @@ -1663,9 +1663,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.Int64Value/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Int64Value" @@ -1673,14 +1673,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(72,0)-(75,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Int64Value/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Int64Value" @@ -1688,7 +1688,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(72,0)-(75,1)]" + "@value": "" } ] } 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 index b5a37f4b48..e726c7c7f2 100644 --- 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 @@ -583,14 +583,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.StringValue/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.StringValue/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.StringValue/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.StringValue/source-map/declared-element/element_0" } ] }, @@ -618,14 +618,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.BytesValue/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.BytesValue/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.BytesValue/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.BytesValue/source-map/declared-element/element_0" } ] }, @@ -653,14 +653,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.FloatValue/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.FloatValue/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.FloatValue/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.FloatValue/source-map/declared-element/element_0" } ] }, @@ -688,14 +688,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.UInt32Value/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.UInt32Value/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.UInt32Value/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.UInt32Value/source-map/declared-element/element_0" } ] }, @@ -723,14 +723,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.UInt64Value/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.UInt64Value/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.UInt64Value/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.UInt64Value/source-map/declared-element/element_0" } ] }, @@ -758,14 +758,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.DoubleValue/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.DoubleValue/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.DoubleValue/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.DoubleValue/source-map/declared-element/element_0" } ] }, @@ -793,14 +793,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.Int32Value/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.Int32Value/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Int32Value/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.Int32Value/source-map/declared-element/element_0" } ] }, @@ -828,14 +828,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.BoolValue/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.BoolValue/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.BoolValue/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.BoolValue/source-map/declared-element/element_0" } ] }, @@ -863,14 +863,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.Int64Value/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.Int64Value/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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#/shape/.google.protobuf.Int64Value/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.Int64Value/source-map/declared-element/element_0" } ] }, @@ -906,14 +906,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.StringValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.StringValue", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(112,0)-(115,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.StringValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.StringValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(112,0)-(115,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.BytesValue/property/value/scalar/default-scalar", @@ -947,14 +947,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.BytesValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.BytesValue", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(120,0)-(123,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.BytesValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.BytesValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(120,0)-(123,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.FloatValue/property/value/scalar/default-scalar", @@ -988,14 +988,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.FloatValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.FloatValue", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(64,0)-(67,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.FloatValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.FloatValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(64,0)-(67,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.UInt32Value/property/value/scalar/default-scalar", @@ -1030,14 +1030,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.UInt32Value/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.UInt32Value", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(96,0)-(99,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.UInt32Value/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.UInt32Value", - "http://a.ml/vocabularies/document-source-maps#value": "[(96,0)-(99,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.UInt64Value/property/value/scalar/default-scalar", @@ -1072,14 +1072,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.UInt64Value/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.UInt64Value", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(80,0)-(83,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.UInt64Value/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.UInt64Value", - "http://a.ml/vocabularies/document-source-maps#value": "[(80,0)-(83,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.DoubleValue/property/value/scalar/default-scalar", @@ -1113,14 +1113,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.DoubleValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.DoubleValue", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(56,0)-(59,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.DoubleValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.DoubleValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(56,0)-(59,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.Int32Value/property/value/scalar/default-scalar", @@ -1155,14 +1155,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.Int32Value/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Int32Value", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(88,0)-(91,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.Int32Value/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Int32Value", - "http://a.ml/vocabularies/document-source-maps#value": "[(88,0)-(91,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.BoolValue/property/value/scalar/default-scalar", @@ -1196,14 +1196,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.BoolValue/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.BoolValue", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(104,0)-(107,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.BoolValue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.BoolValue", - "http://a.ml/vocabularies/document-source-maps#value": "[(104,0)-(107,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.Int64Value/property/value/scalar/default-scalar", @@ -1238,14 +1238,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.Int64Value/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Int64Value", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(72,0)-(75,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.Int64Value/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.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#/shape/.google.protobuf.Int64Value", - "http://a.ml/vocabularies/document-source-maps#value": "[(72,0)-(75,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto/web-api/types#/shape/.google.protobuf.StringValue/property/value/scalar/default-scalar/source-map", 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 index 0486eafdf5..c31d51a3c2 100644 --- a/amf-cli/shared/src/test/resources/upanddown/grpc/simple.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/simple.expanded.jsonld @@ -1411,9 +1411,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.library.Wadus/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.library.Wadus/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.library.Wadus" @@ -1421,14 +1421,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,0)-(7,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.library.Wadus/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.library.Wadus/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.library.Wadus" @@ -1436,7 +1436,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,0)-(7,1)]" + "@value": "" } ] } @@ -1625,9 +1625,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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/declared-element/element_0", + "@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" @@ -1635,14 +1635,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(44,0)-(46,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "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/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": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types/scalar/.helloworld.Corpus" @@ -1650,7 +1650,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,0)-(46,1)]" + "@value": "" } ] } @@ -1882,9 +1882,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1" @@ -1892,14 +1892,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(29,2)-(35,3)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1" @@ -1907,7 +1907,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,2)-(35,3)]" + "@value": "" } ] } @@ -2166,9 +2166,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloRequest/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloRequest/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloRequest" @@ -2176,14 +2176,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(22,0)-(25,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloRequest/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloRequest/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloRequest" @@ -2191,7 +2191,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,0)-(25,1)]" + "@value": "" } ] } @@ -2589,9 +2589,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest" @@ -2599,14 +2599,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(48,0)-(62,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest" @@ -2614,7 +2614,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(48,0)-(62,1)]" + "@value": "" } ] } @@ -2731,9 +2731,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" @@ -2741,14 +2741,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(32,4)-(34,5)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" @@ -2756,7 +2756,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,4)-(34,5)]" + "@value": "" } ] } @@ -3496,9 +3496,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage" @@ -3506,14 +3506,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(27,0)-(42,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage" @@ -3521,7 +3521,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,0)-(42,1)]" + "@value": "" } ] } @@ -4157,9 +4157,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.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#/shape/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus" @@ -4167,14 +4167,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(52,2)-(60,3)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.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#/shape/.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#/shape/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus" @@ -4182,7 +4182,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(52,2)-(60,3)]" + "@value": "" } ] } @@ -4406,9 +4406,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloReply/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloReply/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloReply" @@ -4416,14 +4416,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(65,0)-(68,1)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloReply/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloReply/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloReply" @@ -4431,7 +4431,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(65,0)-(68,1)]" + "@value": "" } ] } 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 index 5585664711..9deb08e508 100644 --- a/amf-cli/shared/src/test/resources/upanddown/grpc/simple.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/simple.flattened.jsonld @@ -1355,14 +1355,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "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/declared-element/element_0" + "@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#lexical": [ + "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/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" } ] }, @@ -1409,14 +1409,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/source-map/declared-element/element_0" } ] }, @@ -1463,14 +1463,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloRequest/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloRequest/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloRequest/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloRequest/source-map/declared-element/element_0" } ] }, @@ -1555,14 +1555,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/source-map/declared-element/element_0" } ] }, @@ -1590,14 +1590,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/declared-element/element_0" } ] }, @@ -1687,14 +1687,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/source-map/declared-element/element_0" } ] }, @@ -1766,14 +1766,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.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#/shape/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/source-map/declared-element/element_0" } ] }, @@ -1820,14 +1820,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloReply/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloReply/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloReply/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloReply/source-map/declared-element/element_0" } ] }, @@ -1855,14 +1855,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.library.Wadus/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.library.Wadus/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.library.Wadus/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.library.Wadus/source-map/declared-element/element_0" } ] }, @@ -1908,14 +1908,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types/scalar/.helloworld.Corpus#/source-map/declared-element/element_0", + "@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": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(44,0)-(46,1)]" }, { - "@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/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": "[(44,0)-(46,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/property/fa/scalar/default-scalar", @@ -1981,14 +1981,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.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#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(29,2)-(35,3)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.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#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1", - "http://a.ml/vocabularies/document-source-maps#value": "[(29,2)-(35,3)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloRequest/property/name/array/default-array", @@ -2053,14 +2053,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloRequest/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.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#/shape/.helloworld.HelloRequest", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(22,0)-(25,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloRequest/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.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#/shape/.helloworld.HelloRequest", - "http://a.ml/vocabularies/document-source-maps#value": "[(22,0)-(25,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/property/query/scalar/default-scalar", @@ -2191,14 +2191,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.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#/shape/.helloworld.SearchRequest", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(48,0)-(62,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.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#/shape/.helloworld.SearchRequest", - "http://a.ml/vocabularies/document-source-maps#value": "[(48,0)-(62,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/fa/scalar/default-scalar", @@ -2232,14 +2232,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.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#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(32,4)-(34,5)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.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#/shape/.helloworld.SampleMessage/shape/.helloworld.SampleMessage.NestedMessage1/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2", - "http://a.ml/vocabularies/document-source-maps#value": "[(32,4)-(34,5)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/property/searches/shape/default-node", @@ -2371,14 +2371,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.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#/shape/.helloworld.SampleMessage", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(27,0)-(42,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SampleMessage/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.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#/shape/.helloworld.SampleMessage", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,0)-(42,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/data-node", @@ -2518,14 +2518,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.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#/shape/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(52,2)-(60,3)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.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#/shape/.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#/shape/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus", - "http://a.ml/vocabularies/document-source-maps#value": "[(52,2)-(60,3)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloReply/property/message/scalar/default-scalar", @@ -2592,14 +2592,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloReply/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.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#/shape/.helloworld.HelloReply", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(65,0)-(68,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.helloworld.HelloReply/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto/web-api/types#/shape/.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#/shape/.helloworld.HelloReply", - "http://a.ml/vocabularies/document-source-maps#value": "[(65,0)-(68,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.library.Wadus/property/message/array/default-array", @@ -2631,14 +2631,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.library.Wadus/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.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#/shape/.library.Wadus", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(5,0)-(7,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.library.Wadus/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto/web-api/types#/shape/.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#/shape/.library.Wadus", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,0)-(7,1)]" + "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#/shape/default-node/data-node/source-map", diff --git a/amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/api.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/api.resolved.expanded.jsonld index 886aa0693c..cec9ef185d 100644 --- a/amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/api.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/api.resolved.expanded.jsonld @@ -39,9 +39,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#base-path-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/server/%2Fasd/source-map/base-path-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/server/%2Fasd/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -49,7 +49,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(7,20)]" + "@value": "true" } ] } @@ -69,9 +69,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#base-path-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/server/%2Fasd/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/server/%2Fasd/source-map/base-path-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -79,7 +79,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(7,2)-(7,20)]" } ] } @@ -458,9 +458,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1" @@ -468,35 +468,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,6)-(5,12)]" + "@value": "[(4,4)-(6,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,4)-(6,5)]" + "@value": "[(5,6)-(5,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,6)-(5,22)]" + "@value": "[(5,6)-(5,12)]" } ] } @@ -599,9 +599,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema" @@ -609,14 +609,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(2,2)-(2,8)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#inline-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/inline-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema" @@ -624,14 +624,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(8,1)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema" @@ -639,14 +639,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,2)-(2,8)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#inline-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/inline-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema" @@ -654,7 +654,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(1,0)-(8,1)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/api.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/api.resolved.flattened.jsonld index 4ae3fdff6a..aa9721d3ef 100644 --- a/amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/api.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/api.resolved.flattened.jsonld @@ -91,9 +91,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#base-path-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/server/%2Fasd/source-map/base-path-lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/server/%2Fasd/source-map/synthesized-field/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -101,9 +101,9 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/server/%2Fasd/source-map/virtual-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#base-path-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/server/%2Fasd/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/server/%2Fasd/source-map/base-path-lexical/element_0" } ] }, @@ -158,9 +158,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(22,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/server/%2Fasd/source-map/base-path-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/server/%2Fasd/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,20)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/server/%2Fasd/source-map/virtual-element/element_0", @@ -168,9 +168,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/server/%2Fasd/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/server/%2Fasd/source-map/base-path-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200", @@ -352,14 +352,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/lexical/element_0" } ] }, @@ -426,25 +426,20 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(2,2)-(2,8)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(8,1)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(8,1)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1/source-map/lexical/element_1" @@ -452,6 +447,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -464,11 +464,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1", "http://a.ml/vocabularies/document-source-maps#value": "[(4,4)-(6,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1", @@ -479,6 +474,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json#/web-api/endpoint/%2Fbla/supportedOperation/get/returns/resp/200/payload/default/shape/schema/property/property/a1/scalar/a1", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas-fragment-ref/main/main.json", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/oas3/parameter-payload-resolution/parameter-payload-examples.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/oas3/parameter-payload-resolution/parameter-payload-examples.expanded.jsonld index ec3b66a900..56f5db4627 100644 --- a/amf-cli/shared/src/test/resources/upanddown/oas3/parameter-payload-resolution/parameter-payload-examples.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/oas3/parameter-payload-resolution/parameter-payload-examples.expanded.jsonld @@ -180,13 +180,13 @@ } ], "smaps": { - "auto-generated-name": { - "#13": "" - }, "lexical": { "shacl:datatype": "[(36,18)-(36,34)]", "#13": "[(35,16)-(37,17)]" }, + "auto-generated-name": { + "#13": "" + }, "type-property-lexical-info": { "#13": "[(36,18)-(36,24)]" } @@ -473,13 +473,13 @@ } ], "smaps": { - "auto-generated-name": { - "#2": "" - }, "lexical": { "shacl:datatype": "[(14,10)-(14,26)]", "#2": "[(13,8)-(16,9)]" }, + "auto-generated-name": { + "#2": "" + }, "type-property-lexical-info": { "#2": "[(14,10)-(14,16)]" } @@ -492,15 +492,15 @@ "apiContract:required": "true", "apiContract:style": "true" }, + "declared-element": { + "#1": "" + }, "lexical": { "raml-shapes:schema": "[(13,8)-(16,9)]", "core:description": "[(12,8)-(12,55)]", "#1": "[(9,6)-(24,7)]", "apiContract:paramName": "[(10,8)-(10,23)]", "apiContract:binding": "[(11,8)-(11,22)]" - }, - "declared-element": { - "#1": "" } } } diff --git a/amf-cli/shared/src/test/resources/upanddown/oas3/parameter-payload-resolution/parameter-payload-examples.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/oas3/parameter-payload-resolution/parameter-payload-examples.flattened.jsonld index bad263f8b2..0857f95019 100644 --- a/amf-cli/shared/src/test/resources/upanddown/oas3/parameter-payload-resolution/parameter-payload-examples.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/oas3/parameter-payload-resolution/parameter-payload-examples.flattened.jsonld @@ -136,13 +136,13 @@ } ], "smaps": { - "auto-generated-name": { - "#13": "" - }, "lexical": { "shacl:datatype": "[(36,18)-(36,34)]", "#13": "[(35,16)-(37,17)]" }, + "auto-generated-name": { + "#13": "" + }, "type-property-lexical-info": { "#13": "[(36,18)-(36,24)]" } @@ -242,15 +242,15 @@ "apiContract:required": "true", "apiContract:style": "true" }, + "declared-element": { + "#1": "" + }, "lexical": { "raml-shapes:schema": "[(13,8)-(16,9)]", "core:description": "[(12,8)-(12,55)]", "#1": "[(9,6)-(24,7)]", "apiContract:paramName": "[(10,8)-(10,23)]", "apiContract:binding": "[(11,8)-(11,22)]" - }, - "declared-element": { - "#1": "" } } }, @@ -278,13 +278,13 @@ } ], "smaps": { - "auto-generated-name": { - "#2": "" - }, "lexical": { "shacl:datatype": "[(14,10)-(14,26)]", "#2": "[(13,8)-(16,9)]" }, + "auto-generated-name": { + "#2": "" + }, "type-property-lexical-info": { "#2": "[(14,10)-(14,16)]" } diff --git a/amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations-resolution.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations-resolution.expanded.jsonld index e911c86eab..ad09c379aa 100644 --- a/amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations-resolution.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations-resolution.expanded.jsonld @@ -124,9 +124,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema" @@ -134,35 +134,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(17,16)-(19,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,16)-(19,17)]" + "@value": "[(18,18)-(18,34)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,18)-(18,34)]" + "@value": "" } ] } @@ -460,9 +460,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema" @@ -470,35 +470,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(35,16)-(37,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,16)-(37,17)]" + "@value": "[(36,18)-(36,34)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,18)-(36,34)]" + "@value": "" } ] } @@ -822,9 +822,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema" @@ -832,35 +832,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(55,16)-(57,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,16)-(57,17)]" + "@value": "[(56,18)-(56,34)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(56,18)-(56,34)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations-resolution.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations-resolution.flattened.jsonld index e0e377e30c..ac61b4c989 100644 --- a/amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations-resolution.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations-resolution.flattened.jsonld @@ -751,11 +751,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1" @@ -764,6 +759,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0" @@ -790,11 +790,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1" @@ -803,6 +798,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0" @@ -829,11 +829,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1" @@ -842,6 +837,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0" @@ -863,11 +863,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "http://a.ml/vocabularies/document-source-maps#value": "[(54,14)-(58,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema", @@ -879,14 +874,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(18,18)-(18,34)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,18)-(18,24)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fsimple-case/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,18)-(18,24)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", @@ -899,14 +894,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(36,18)-(36,34)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(36,18)-(36,24)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Fonly-in-operation/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,18)-(36,24)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", @@ -918,6 +913,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(56,18)-(56,34)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas3/summary-description-in-path/description-applied-to-operations.json#/web-api/endpoint/%2Foverriding-path-values/supportedOperation/get/returns/resp/200/payload/application%2Fjson/scalar/schema", diff --git a/amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.resolved.expanded.jsonld index 19ae48f556..7cbda3c5bc 100644 --- a/amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.resolved.expanded.jsonld @@ -39,9 +39,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.json#/web-api/server/localhost%2Fbla/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.json#/web-api/server/localhost%2Fbla/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -49,14 +49,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(7,21)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.json#/web-api/server/localhost%2Fbla/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.json#/web-api/server/localhost%2Fbla/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -64,7 +64,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(7,2)-(7,21)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.resolved.flattened.jsonld index dc87d103d4..434549afe8 100644 --- a/amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.resolved.flattened.jsonld @@ -71,14 +71,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.json#/web-api/server/localhost%2Fbla/source-map/host-lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.json#/web-api/server/localhost%2Fbla/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.json#/web-api/server/localhost%2Fbla/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.json#/web-api/server/localhost%2Fbla/source-map/host-lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -113,14 +113,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(35,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.json#/web-api/server/localhost%2Fbla/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.json#/web-api/server/localhost%2Fbla/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,21)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.json#/web-api/server/localhost%2Fbla/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.json#/web-api/server/localhost%2Fbla/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,21)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_foward_definitions.json#/web-api/server/localhost%2Fbla/source-map/virtual-element/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.expanded.jsonld index f6dbd0596b..ff0bed44dd 100644 --- a/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.expanded.jsonld @@ -384,9 +384,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default" @@ -394,14 +394,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,4)-(16,18)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default" @@ -409,7 +409,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(15,4)-(16,18)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.flattened.jsonld index dda8ccf703..a4199f95f9 100644 --- a/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.flattened.jsonld @@ -351,14 +351,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default/source-map/lexical/element_0" } ] }, @@ -383,14 +383,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(16,10)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,4)-(16,18)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/declares/resp/r1/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(15,4)-(16,18)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.resolved.expanded.jsonld index e08edee5b2..876cd701e3 100644 --- a/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.resolved.expanded.jsonld @@ -144,9 +144,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default" @@ -154,14 +154,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,4)-(16,18)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default" @@ -169,7 +169,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(15,4)-(16,18)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.resolved.flattened.jsonld index ab564a8be2..e59fc717c2 100644 --- a/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.resolved.flattened.jsonld @@ -276,14 +276,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default/source-map/lexical/element_0" } ] }, @@ -308,14 +308,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(16,10)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,4)-(16,18)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml#/web-api/endpoint/%2Fpets%2F%7Bid%7D/supportedOperation/post/returns/resp/r1/payload/default/shape/default", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(15,4)-(16,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/oas_response_declaration.yaml", diff --git a/amf-cli/shared/src/test/resources/upanddown/orphan_extensions.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/orphan_extensions.expanded.jsonld index 0fcd280570..224c13ed3b 100644 --- a/amf-cli/shared/src/test/resources/upanddown/orphan_extensions.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/orphan_extensions.expanded.jsonld @@ -39,9 +39,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -49,14 +49,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(7,27)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -64,7 +64,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(7,2)-(7,27)]" } ] } @@ -292,9 +292,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1/source-map/orphan-oas-extension/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1" @@ -302,14 +302,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,35)-(27,40)]" + "@value": "responses" } ] } ], - "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1/source-map/orphan-oas-extension/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1" @@ -317,7 +317,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "responses" + "@value": "[(27,35)-(27,40)]" } ] } @@ -467,9 +467,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1/source-map/orphan-oas-extension/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1" @@ -477,14 +477,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(31,25)-(31,30)]" + "@value": "paths" } ] } ], - "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1/source-map/orphan-oas-extension/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1" @@ -492,7 +492,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "paths" + "@value": "[(31,25)-(31,30)]" } ] } @@ -880,9 +880,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1/source-map/orphan-oas-extension/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1" @@ -890,14 +890,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,30)-(39,35)]" + "@value": "scopes" } ] } ], - "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1/source-map/orphan-oas-extension/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1" @@ -905,7 +905,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "scopes" + "@value": "[(39,30)-(39,35)]" } ] } @@ -964,21 +964,6 @@ "@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/orphan_extensions.json#/declares/scheme/petstore_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth" - } - ], - "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/orphan_extensions.json#/declares/scheme/petstore_auth/source-map/lexical/element_3", @@ -1032,6 +1017,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/orphan_extensions.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/orphan_extensions.flattened.jsonld index b1ee0d6f62..1199889d19 100644 --- a/amf-cli/shared/src/test/resources/upanddown/orphan_extensions.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/orphan_extensions.flattened.jsonld @@ -139,14 +139,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -214,14 +214,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1/source-map/orphan-oas-extension/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1/source-map/orphan-oas-extension/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1/source-map/lexical/element_0" } ] }, @@ -261,14 +261,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(12,2)-(14,3)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,27)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,27)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/server/api.example.com%2Fpath/source-map/virtual-element/element_0", @@ -353,14 +353,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1/source-map/orphan-oas-extension/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(31,25)-(31,30)]" + "http://a.ml/vocabularies/document-source-maps#value": "paths" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1/source-map/orphan-oas-extension/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/customDomainProperties/paths-extension/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "paths" + "http://a.ml/vocabularies/document-source-maps#value": "[(31,25)-(31,30)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/returns/resp/200/source-map", @@ -392,14 +392,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1/source-map/orphan-oas-extension/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1/source-map/orphan-oas-extension/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1/source-map/lexical/element_0" } ] }, @@ -439,14 +439,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1/source-map/orphan-oas-extension/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,35)-(27,40)]" + "http://a.ml/vocabularies/document-source-maps#value": "responses" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1/source-map/orphan-oas-extension/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/web-api/endpoint/%2Flevelzero/supportedOperation/get/customDomainProperties/responses-extension/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "responses" + "http://a.ml/vocabularies/document-source-maps#value": "[(27,35)-(27,40)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json", @@ -517,11 +517,6 @@ "@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/orphan_extensions.json#/declares/scheme/petstore_auth/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/source-map/lexical/element_3" @@ -535,6 +530,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/source-map/declared-element/element_0" + } ] }, { @@ -596,11 +596,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -621,6 +616,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth", "http://a.ml/vocabularies/document-source-maps#value": "[(34,4)-(43,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/flows/implicit/scope/write%3Apets", "@type": [ @@ -682,14 +682,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1/source-map/orphan-oas-extension/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1/source-map/orphan-oas-extension/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1/source-map/lexical/element_0" } ] }, @@ -756,14 +756,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1/source-map/orphan-oas-extension/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,30)-(39,35)]" + "http://a.ml/vocabularies/document-source-maps#value": "scopes" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1/source-map/orphan-oas-extension/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/customDomainProperties/scopes-extension/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "scopes" + "http://a.ml/vocabularies/document-source-maps#value": "[(39,30)-(39,35)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/orphan_extensions.json#/declares/scheme/petstore_auth/settings/oauth2/flows/implicit/scope/write%3Apets/source-map/lexical/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/parameters.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/parameters.json.expanded.jsonld index b1e5c7b1fc..288e726753 100644 --- a/amf-cli/shared/src/test/resources/upanddown/parameters.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/parameters.json.expanded.jsonld @@ -298,9 +298,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema" @@ -308,35 +308,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,6)-(18,12)]" + "@value": "[(17,4)-(22,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,4)-(22,5)]" + "@value": "[(18,6)-(18,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,6)-(18,22)]" + "@value": "[(18,6)-(18,12)]" } ] } @@ -351,21 +351,6 @@ "@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/parameters.json#/declares/parameter/path/a/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a" - } - ], - "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/parameters.json#/declares/parameter/path/a/source-map/lexical/element_4", @@ -432,6 +417,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -503,9 +503,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop" @@ -513,35 +513,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,12)-(30,18)]" + "@value": "[(29,10)-(31,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,10)-(31,11)]" + "@value": "[(30,12)-(30,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,12)-(30,28)]" + "@value": "[(30,12)-(30,18)]" } ] } @@ -641,9 +641,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/source-map/parameter-binding-in-body-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload" @@ -651,35 +651,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,6)-(33,7)]" + "@value": "[(24,6)-(24,18)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,8)-(32,9)]" + "@value": "[(26,6)-(33,7)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/source-map/parameter-binding-in-body-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,6)-(24,18)]" + "@value": "[(28,8)-(32,9)]" } ] } @@ -709,6 +709,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload" + } + ], + "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/parameters.json#/declares/payload/source-map/lexical/element_2", @@ -749,21 +764,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/parameters.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/parameters.json.flattened.jsonld index 713a390b25..ceac95c67e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/parameters.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/parameters.json.flattened.jsonld @@ -253,11 +253,6 @@ "@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/parameters.json#/declares/parameter/path/a/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/source-map/lexical/element_4" @@ -274,6 +269,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/source-map/declared-element/element_0" + } ] }, { @@ -308,6 +308,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/source-map/parameter-name-for-payload/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/source-map/lexical/element_2" @@ -318,11 +323,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/source-map/declared-element/element_0" - } ] }, { @@ -330,11 +330,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_1" @@ -342,13 +337,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", @@ -374,6 +369,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#paramName", "http://a.ml/vocabularies/document-source-maps#value": "[(21,6)-(21,17)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop", "@type": [ @@ -413,6 +413,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/source-map/parameter-binding-in-body-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/source-map/lexical/element_1" @@ -420,11 +425,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/source-map/parameter-binding-in-body-lexical-info/element_0" - } ] }, { @@ -432,6 +432,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "theBody->[(25,6)-(25,23)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -447,16 +452,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload", "http://a.ml/vocabularies/document-source-maps#value": "[(23,4)-(34,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,6)-(18,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema", @@ -467,6 +462,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(18,6)-(18,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/parameter/path/a/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,6)-(18,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop", "@type": [ @@ -514,6 +514,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload", "http://a.ml/vocabularies/document-source-maps#value": "[(27,8)-(27,14)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload", + "http://a.ml/vocabularies/document-source-maps#value": "[(24,6)-(24,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload", @@ -524,21 +529,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(32,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,6)-(24,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map/lexical/element_1" @@ -546,6 +541,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -558,11 +558,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop", "http://a.ml/vocabularies/document-source-maps#value": "[(29,10)-(31,11)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,12)-(30,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop", @@ -572,6 +567,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(30,12)-(30,28)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/parameters.json#/declares/payload/shape/payload/property/property/prop/scalar/prop", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,12)-(30,18)]" } ] } 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 2490a5ea0c..19f5aed3f0 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 @@ -39,9 +39,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/server/petstore.swagger.wordnik.com%2Fapi/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/server/petstore.swagger.wordnik.com%2Fapi/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -49,14 +49,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(7,40)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/server/petstore.swagger.wordnik.com%2Fapi/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/server/petstore.swagger.wordnik.com%2Fapi/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -64,7 +64,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(7,2)-(7,40)]" } ] } @@ -258,9 +258,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#external-fragment-ref": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items/source-map/external-fragment-ref/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items" @@ -268,14 +268,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,14)-(20,15)]" + "@value": "Pet.json" } ] } ], - "http://a.ml/vocabularies/document-source-maps#external-fragment-ref": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items/source-map/external-fragment-ref/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items" @@ -283,7 +283,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "Pet.json" + "@value": "[(18,14)-(20,15)]" } ] } @@ -303,9 +303,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default" @@ -313,35 +313,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(16,12)-(21,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default" + "@value": "http://a.ml/vocabularies/shapes#items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,12)-(21,13)]" + "@value": "[(18,14)-(20,15)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#items" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,14)-(20,15)]" + "@value": "" } ] } @@ -710,9 +710,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name" @@ -720,35 +720,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,12)-(17,18)]" + "@value": "[(16,10)-(18,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(18,11)]" + "@value": "[(17,12)-(17,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,12)-(17,28)]" + "@value": "[(17,12)-(17,18)]" } ] } @@ -843,9 +843,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date" @@ -853,35 +853,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,12)-(20,18)]" + "@value": "[(19,10)-(21,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,10)-(21,11)]" + "@value": "[(20,12)-(20,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,12)-(20,28)]" + "@value": "[(20,12)-(20,18)]" } ] } @@ -1295,21 +1295,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(8,8)-(8,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/source-map/lexical/element_2", @@ -1350,6 +1335,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(8,8)-(8,14)]" + } + ] + } ] } ] @@ -1366,9 +1366,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root" @@ -1376,35 +1376,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(6,12)]" + "@value": "[(5,4)-(31,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root" + "@value": "http://a.ml/vocabularies/shapes#items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,4)-(31,5)]" + "@value": "[(7,6)-(30,7)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#items" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,6)-(30,7)]" + "@value": "[(6,6)-(6,12)]" } ] } 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 ff7b194c69..dfeb0ef868 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 @@ -90,14 +90,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/server/petstore.swagger.wordnik.com%2Fapi/source-map/host-lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/server/petstore.swagger.wordnik.com%2Fapi/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/server/petstore.swagger.wordnik.com%2Fapi/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/server/petstore.swagger.wordnik.com%2Fapi/source-map/host-lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -164,14 +164,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(27,1)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/server/petstore.swagger.wordnik.com%2Fapi/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/server/petstore.swagger.wordnik.com%2Fapi/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,40)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/server/petstore.swagger.wordnik.com%2Fapi/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/server/petstore.swagger.wordnik.com%2Fapi/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(7,40)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/server/petstore.swagger.wordnik.com%2Fapi/source-map/virtual-element/element_0", @@ -362,11 +362,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/lexical/element_1" @@ -375,6 +370,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/type-property-lexical-info/element_0" @@ -407,22 +407,17 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items/source-map/synthesized-field/element_1" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#external-fragment-ref": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items/source-map/external-fragment-ref/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#external-fragment-ref": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items/source-map/external-fragment-ref/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items/source-map/lexical/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default", @@ -433,6 +428,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", "http://a.ml/vocabularies/document-source-maps#value": "[(18,14)-(20,15)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default", @@ -454,14 +454,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items/source-map/external-fragment-ref/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,14)-(20,15)]" + "http://a.ml/vocabularies/document-source-maps#value": "Pet.json" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items/source-map/external-fragment-ref/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/endpoint/%2Fpets/supportedOperation/get/findPets/returns/resp/200/payload/default/array/default/array/items", - "http://a.ml/vocabularies/document-source-maps#value": "Pet.json" + "http://a.ml/vocabularies/document-source-maps#value": "[(18,14)-(20,15)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json", @@ -558,11 +558,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/source-map/lexical/element_1" @@ -570,6 +565,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -649,11 +649,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/source-map/lexical/element_2" @@ -664,13 +659,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(6,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root", @@ -681,6 +676,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(30,7)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(6,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name", "@type": [ @@ -783,11 +783,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", @@ -803,16 +798,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items", "http://a.ml/vocabularies/document-source-maps#value": "[(7,6)-(30,7)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,8)-(8,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name/source-map/lexical/element_1" @@ -820,6 +815,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -837,11 +837,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date/source-map/lexical/element_1" @@ -849,6 +844,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -898,11 +898,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#minCount", "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,23)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,12)-(17,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name", @@ -914,9 +909,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(17,12)-(17,28)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,12)-(20,18)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,12)-(17,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date/source-map/lexical/element_1", @@ -928,6 +923,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(20,12)-(20,28)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/date/scalar/date", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,12)-(20,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/references/0/array/root/shape/items/property/property/destination/any/destination/in/scalar_1", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/query-string.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/query-string.json.expanded.jsonld index 765b76f0c3..e37ab0c2c6 100644 --- a/amf-cli/shared/src/test/resources/upanddown/query-string.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/query-string.json.expanded.jsonld @@ -234,9 +234,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union" @@ -244,14 +244,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "lat-long | loc" + "@value": "[(13,12)-(13,28)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union" @@ -259,7 +259,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,12)-(13,28)]" + "@value": "lat-long | loc" } ] } @@ -289,9 +289,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString" @@ -299,35 +299,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(15,9)]" + "@value": "[(11,10)-(11,16)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,10)-(14,11)]" + "@value": "[(10,8)-(15,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,10)-(11,16)]" + "@value": "[(11,10)-(14,11)]" } ] } @@ -595,9 +595,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat" @@ -605,35 +605,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,10)-(25,16)]" + "@value": "[(24,8)-(26,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,8)-(26,9)]" + "@value": "[(25,10)-(25,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,10)-(25,26)]" + "@value": "[(25,10)-(25,16)]" } ] } @@ -730,9 +730,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long" @@ -740,35 +740,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,10)-(28,16)]" + "@value": "[(27,8)-(29,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,8)-(29,9)]" + "@value": "[(28,10)-(28,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,10)-(28,26)]" + "@value": "[(28,10)-(28,16)]" } ] } @@ -868,6 +868,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long" + } + ], + "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/query-string.json#/declares/shape/lat-long/source-map/lexical/element_2", @@ -908,21 +923,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -981,9 +981,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location" @@ -991,35 +991,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,10)-(36,16)]" + "@value": "[(35,8)-(37,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,8)-(37,9)]" + "@value": "[(36,10)-(36,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,10)-(36,26)]" + "@value": "[(36,10)-(36,16)]" } ] } @@ -1119,6 +1119,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc" + } + ], + "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/query-string.json#/declares/shape/loc/source-map/lexical/element_2", @@ -1159,21 +1174,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1232,9 +1232,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start" @@ -1242,35 +1242,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,10)-(44,16)]" + "@value": "[(43,8)-(45,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(43,8)-(45,9)]" + "@value": "[(44,10)-(44,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,10)-(44,26)]" + "@value": "[(44,10)-(44,16)]" } ] } @@ -1367,9 +1367,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size" @@ -1377,35 +1377,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(47,10)-(47,16)]" + "@value": "[(46,8)-(48,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(46,8)-(48,9)]" + "@value": "[(47,10)-(47,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(47,10)-(47,26)]" + "@value": "[(47,10)-(47,16)]" } ] } @@ -1505,6 +1505,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging" + } + ], + "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/query-string.json#/declares/shape/paging/source-map/lexical/element_2", @@ -1545,21 +1560,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/query-string.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/query-string.json.flattened.jsonld index 19c97f51b6..a679ae2aa6 100644 --- a/amf-cli/shared/src/test/resources/upanddown/query-string.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/query-string.json.flattened.jsonld @@ -271,6 +271,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/lexical/element_1" @@ -278,11 +283,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -358,6 +358,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/source-map/lexical/element_2" @@ -368,11 +373,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/source-map/declared-element/element_0" - } ] }, { @@ -422,14 +422,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/source-map/type-expression/element_0" } ] }, @@ -438,6 +438,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString", @@ -448,11 +453,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(14,11)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start", "@type": [ @@ -537,6 +537,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging", "http://a.ml/vocabularies/document-source-maps#value": "[(41,6)-(41,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -552,11 +557,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging", "http://a.ml/vocabularies/document-source-maps#value": "[(40,4)-(50,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/default-node/source-map", "@type": [ @@ -590,25 +590,20 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "lat-long | loc" + "http://a.ml/vocabularies/document-source-maps#value": "[(13,12)-(13,28)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,12)-(13,28)]" + "http://a.ml/vocabularies/document-source-maps#value": "lat-long | loc" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1" @@ -616,6 +611,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -633,11 +633,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1" @@ -645,6 +640,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -677,11 +677,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/web-api/endpoint/%2Flocations/supportedOperation/get/expects/request/shape/x-amf-queryString/inherits/union/default-union/anyOf/shape/default-node_1", "http://a.ml/vocabularies/document-source-maps#value": "[(13,23)-(13,26)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start", - "http://a.ml/vocabularies/document-source-maps#value": "[(44,10)-(44,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start", @@ -693,9 +688,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(44,10)-(44,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size", - "http://a.ml/vocabularies/document-source-maps#value": "[(47,10)-(47,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/start/scalar/start", + "http://a.ml/vocabularies/document-source-maps#value": "[(44,10)-(44,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", @@ -707,6 +702,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(47,10)-(47,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size", + "http://a.ml/vocabularies/document-source-maps#value": "[(47,10)-(47,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json", "http://a.ml/vocabularies/document#declares": [ @@ -844,6 +844,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/source-map/lexical/element_2" @@ -854,11 +859,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/source-map/declared-element/element_0" - } ] }, { @@ -900,6 +900,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/source-map/lexical/element_2" @@ -910,11 +915,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/source-map/declared-element/element_0" - } ] }, { @@ -1001,6 +1001,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long", "http://a.ml/vocabularies/document-source-maps#value": "[(22,6)-(22,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -1016,11 +1021,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long", "http://a.ml/vocabularies/document-source-maps#value": "[(21,4)-(31,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location", "@type": [ @@ -1068,6 +1068,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc", "http://a.ml/vocabularies/document-source-maps#value": "[(33,6)-(33,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -1083,21 +1088,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc", "http://a.ml/vocabularies/document-source-maps#value": "[(32,4)-(39,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1" @@ -1105,6 +1100,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1122,11 +1122,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1" @@ -1134,6 +1129,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1151,11 +1151,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1" @@ -1163,6 +1158,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1175,11 +1175,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location", "http://a.ml/vocabularies/document-source-maps#value": "[(35,8)-(37,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat", - "http://a.ml/vocabularies/document-source-maps#value": "[(25,10)-(25,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat", @@ -1191,9 +1186,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(25,10)-(25,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat", + "http://a.ml/vocabularies/document-source-maps#value": "[(25,10)-(25,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", @@ -1206,9 +1201,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location", - "http://a.ml/vocabularies/document-source-maps#value": "[(36,10)-(36,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/lat-long/property/property/long/scalar/long", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(28,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1", @@ -1219,6 +1214,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(36,10)-(36,26)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/query-string.json#/declares/shape/loc/property/property/location/scalar/location", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,10)-(36,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.expanded.jsonld index a06f346651..1cdf14b472 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.expanded.jsonld @@ -108,9 +108,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A" @@ -118,29 +118,27 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(4,2)-(6,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,4)-(5,8)]" + "@value": "[(5,10)-(5,17)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A" @@ -148,20 +146,22 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,2)-(6,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,10)-(5,17)]" + "@value": "[(5,4)-(5,8)]" } ] } @@ -194,9 +194,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B" @@ -204,14 +204,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(7,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B" @@ -219,7 +219,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(7,0)]" + "@value": "" } ] } @@ -290,9 +290,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File" @@ -300,14 +300,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(17,17)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File" @@ -315,7 +315,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(7,2)-(17,17)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.flattened.jsonld index 8eb401a00b..079ef97b7b 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.flattened.jsonld @@ -140,6 +140,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/lexical/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/lexical/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#declared-element": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/declared-element/element_0" @@ -149,14 +157,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/type-property-lexical-info/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/lexical/element_1" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/lexical/element_0" - } ] }, { @@ -164,14 +164,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B/source-map/declared-element/element_0" } ] }, @@ -188,27 +188,17 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File/source-map/lexical/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A", @@ -220,15 +210,25 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(5,10)-(5,17)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A", "http://a.ml/vocabularies/document-source-maps#value": "" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/A", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,4)-(5,8)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(7,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/scalar/B", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#mediaType", @@ -240,14 +240,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(17,17)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml08/schemas-lexical-info.raml#/declares/schema/File", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(17,17)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/annotations/api.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/annotations/api.jsonld index 1fb95c41b2..c6b92f9463 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/annotations/api.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/annotations/api.jsonld @@ -772,21 +772,6 @@ "@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/raml10/annotations/api.raml#/declares/User/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/annotations/api.raml#/declares/User" - } - ], - "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/raml10/annotations/api.raml#/declares/User/source-map/lexical/element_2", @@ -827,6 +812,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/annotations/api.raml#/declares/User/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/annotations/api.raml#/declares/User" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/array-override/api.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/array-override/api.jsonld index 8b73eacea5..e0fcf2d3c5 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/array-override/api.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/array-override/api.jsonld @@ -145,12 +145,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(8,23)-(8,29)]", "#2": "[(8,6)-(10,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } } @@ -164,18 +164,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#4" }, "lexical": { "shacl:name": "[(6,2)-(6,13)]", "#1": "[(6,2)-(10,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -250,12 +250,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#6": "amf://id#5" + }, "lexical": { "raml-shapes:range": "[(13,18)-(13,24)]", "#6": "[(13,6)-(15,0)]" - }, - "inheritance-provenance": { - "#6": "amf://id#5" } } }, @@ -315,12 +315,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(8,23)-(8,29)]", "#2": "[(8,6)-(10,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } } @@ -334,6 +334,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#5": "[(11,4)-(11,8)]" + }, + "resolved-link": { + "#5": "amf://id#8" + }, + "inherited-shapes": { + "#5": "amf://id#1" + }, "resolved-link-target": { "#5": "amf://id#5" }, @@ -343,15 +352,6 @@ "lexical": { "shacl:name": "[(10,2)-(10,8)]", "#5": "[(10,2)-(15,0)]" - }, - "type-property-lexical-info": { - "#5": "[(11,4)-(11,8)]" - }, - "resolved-link": { - "#5": "amf://id#8" - }, - "inherited-shapes": { - "#5": "amf://id#1" } } }, @@ -442,18 +442,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#9": "" + }, + "resolved-link-target": { + "#9": "amf://id#9" + }, "resolved-link": { "#9": "amf://id#12" }, "lexical": { "shacl:name": "[(15,2)-(15,9)]", "#9": "[(15,2)-(19,0)]" - }, - "declared-element": { - "#9": "" - }, - "resolved-link-target": { - "#9": "amf://id#9" } } }, @@ -600,12 +600,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#6": "amf://id#5" + }, "lexical": { "raml-shapes:range": "[(13,18)-(13,24)]", "#6": "[(13,6)-(15,0)]" - }, - "inheritance-provenance": { - "#6": "amf://id#5" } } }, @@ -665,12 +665,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(8,23)-(8,29)]", "#2": "[(8,6)-(10,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } } @@ -684,21 +684,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#14": "amf://id#9" - }, "declared-element": { "#14": "" }, - "lexical": { - "shacl:name": "[(15,2)-(15,9)]", - "#14": "[(15,2)-(19,0)]" + "resolved-link-target": { + "#14": "amf://id#9" + }, + "inherited-shapes": { + "#14": "amf://id#5" }, "resolved-link": { "#14": "amf://id#12" }, - "inherited-shapes": { - "#14": "amf://id#5" + "lexical": { + "shacl:name": "[(15,2)-(15,9)]", + "#14": "[(15,2)-(19,0)]" } } } @@ -709,18 +709,18 @@ } ], "smaps": { - "inherited-shapes": { - "#13": "amf://id#15" - }, - "type-property-lexical-info": { - "#13": "[(20,4)-(20,8)]" - }, "lexical": { "shacl:name": "[(19,2)-(19,9)]", "#13": "[(19,2)-(22,0)]" }, "declared-element": { "#13": "" + }, + "inherited-shapes": { + "#13": "amf://id#15" + }, + "type-property-lexical-info": { + "#13": "[(20,4)-(20,8)]" } } } diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.expanded.jsonld index df7c8e0ac9..fc75846018 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.expanded.jsonld @@ -272,21 +272,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(11,8)-(11,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema/source-map/lexical/element_2", @@ -327,6 +312,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(11,8)-(11,12)]" + } + ] + } ] } ] @@ -597,21 +597,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(15,8)-(15,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema/source-map/lexical/element_2", @@ -652,6 +637,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(15,8)-(15,12)]" + } + ] + } ] } ] @@ -851,9 +851,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" @@ -861,14 +861,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,10)-(21,24)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" @@ -876,7 +876,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(20,10)-(21,24)]" } ] } @@ -1226,9 +1226,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#default-node": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/source-map/default-node/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema" @@ -1236,35 +1236,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,4)-(7,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#in" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(7,0)]" + "@value": "[(5,4)-(7,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/source-map/default-node/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#in" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,6)-(7,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.flattened.jsonld index ac77999ddc..0f11ca5f5b 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.flattened.jsonld @@ -382,6 +382,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#default-node": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/source-map/default-node/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/source-map/lexical/element_1" @@ -389,11 +394,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#default-node": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/source-map/default-node/element_0" - } ] }, { @@ -595,6 +595,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/source-map/default-node/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema", @@ -605,11 +610,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#in", "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(7,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/source-map/default-node/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema/list", "@type": "http://www.w3.org/2000/01/rdf-schema#Seq", @@ -625,11 +625,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema/source-map/lexical/element_2" @@ -640,6 +635,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -672,11 +672,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema/source-map/lexical/element_2" @@ -687,6 +682,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -719,14 +719,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } ] }, @@ -813,11 +813,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -833,6 +828,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(13,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/parameter/parameter/query/type/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema/in/scalar_1", "@type": [ @@ -873,11 +873,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(15,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -893,6 +888,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(14,6)-(17,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/expects/request/header/parameter/header/type/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,8)-(15,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", @@ -904,14 +904,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(21,12)-(21,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(21,24)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(21,24)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/duplicate-id-in-param-types/api.raml#/web-api/endpoint/%2Ftests%2F%7Btype%7D/parameter/parameter/path/type/scalar/schema/in/scalar_1/source-map/synthesized-field/element_1", diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-resource-types/api.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-resource-types/api.expanded.jsonld index f0255445e1..403ba288e4 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-resource-types/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-resource-types/api.expanded.jsonld @@ -151,11 +151,11 @@ } ], "smaps": { - "auto-generated-name": { - "#27": "" - }, "lexical": { "#27": "[(16,14)-(16,41)]" + }, + "auto-generated-name": { + "#27": "" } } } @@ -393,14 +393,14 @@ } ], "smaps": { - "declared-element": { - "#10": "" - }, "lexical": { "doc:variable": "[(10,16)-(18,0)]", "core:name": "[(10,2)-(10,15)]", "#10": "[(10,2)-(18,0)]", "doc:dataNode": "[(11,4)-(18,0)]" + }, + "declared-element": { + "#10": "" } } } @@ -527,18 +527,18 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#3" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(5,2)-(5,11)]", "#1": "[(5,2)-(6,0)]" }, "resolved-link": { + "#1": "amf://id#3" + }, + "resolved-link-target": { "#1": "amf://id#2" + }, + "declared-element": { + "#1": "" } } }, @@ -562,19 +562,19 @@ } ], "smaps": { - "resolved-link-target": { - "#4": "amf://id#6" - }, - "declared-element": { - "#4": "" - }, "lexical": { "shacl:name": "[(6,2)-(6,11)]", "#4": "[(6,2)-(7,0)]", "shacl:datatype": "[(6,13)-(6,20)]" }, "resolved-link": { + "#4": "amf://id#6" + }, + "resolved-link-target": { "#4": "amf://id#5" + }, + "declared-element": { + "#4": "" } } }, @@ -598,19 +598,19 @@ } ], "smaps": { - "resolved-link-target": { - "#7": "amf://id#9" - }, - "declared-element": { - "#7": "" - }, "lexical": { "shacl:name": "[(7,2)-(7,11)]", "#7": "[(7,2)-(9,0)]", "shacl:datatype": "[(7,13)-(7,19)]" }, "resolved-link": { + "#7": "amf://id#9" + }, + "resolved-link-target": { "#7": "amf://id#8" + }, + "declared-element": { + "#7": "" } } }, @@ -810,14 +810,14 @@ } ], "smaps": { - "declared-element": { - "#10": "" - }, "lexical": { "doc:variable": "[(10,16)-(18,0)]", "core:name": "[(10,2)-(10,15)]", "#10": "[(10,2)-(18,0)]", "doc:dataNode": "[(11,4)-(18,0)]" + }, + "declared-element": { + "#10": "" } } } diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-resource-types/api.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-resource-types/api.flattened.jsonld index 0ece6c4558..f4dbea5a0d 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-resource-types/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-resource-types/api.flattened.jsonld @@ -134,14 +134,14 @@ "type-response-get" ], "smaps": { - "declared-element": { - "#10": "" - }, "lexical": { "doc:variable": "[(10,16)-(18,0)]", "core:name": "[(10,2)-(10,15)]", "#10": "[(10,2)-(18,0)]", "doc:dataNode": "[(11,4)-(18,0)]" + }, + "declared-element": { + "#10": "" } } }, @@ -245,11 +245,11 @@ } ], "smaps": { - "auto-generated-name": { - "#27": "" - }, "lexical": { "#27": "[(16,14)-(16,41)]" + }, + "auto-generated-name": { + "#27": "" } } }, @@ -285,18 +285,18 @@ ], "shacl:name": "TestType1", "smaps": { - "resolved-link-target": { - "#1": "amf://id#3" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(5,2)-(5,11)]", "#1": "[(5,2)-(6,0)]" }, "resolved-link": { + "#1": "amf://id#3" + }, + "resolved-link-target": { "#1": "amf://id#2" + }, + "declared-element": { + "#1": "" } } }, @@ -316,19 +316,19 @@ ], "shacl:name": "TestType2", "smaps": { - "resolved-link-target": { - "#4": "amf://id#6" - }, - "declared-element": { - "#4": "" - }, "lexical": { "shacl:name": "[(6,2)-(6,11)]", "#4": "[(6,2)-(7,0)]", "shacl:datatype": "[(6,13)-(6,20)]" }, "resolved-link": { + "#4": "amf://id#6" + }, + "resolved-link-target": { "#4": "amf://id#5" + }, + "declared-element": { + "#4": "" } } }, @@ -348,19 +348,19 @@ ], "shacl:name": "TestType3", "smaps": { - "resolved-link-target": { - "#7": "amf://id#9" - }, - "declared-element": { - "#7": "" - }, "lexical": { "shacl:name": "[(7,2)-(7,11)]", "#7": "[(7,2)-(9,0)]", "shacl:datatype": "[(7,13)-(7,19)]" }, "resolved-link": { + "#7": "amf://id#9" + }, + "resolved-link-target": { "#7": "amf://id#8" + }, + "declared-element": { + "#7": "" } } }, diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-traits/api.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-traits/api.expanded.jsonld index 70c7ab860b..816a9b7c98 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-traits/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-traits/api.expanded.jsonld @@ -151,11 +151,11 @@ } ], "smaps": { - "auto-generated-name": { - "#26": "" - }, "lexical": { "#26": "[(15,12)-(15,39)]" + }, + "auto-generated-name": { + "#26": "" } } } @@ -361,14 +361,14 @@ } ], "smaps": { - "declared-element": { - "#10": "" - }, "lexical": { "doc:variable": "[(10,10)-(17,0)]", "core:name": "[(10,2)-(10,9)]", "#10": "[(10,2)-(17,0)]", "doc:dataNode": "[(11,4)-(17,0)]" + }, + "declared-element": { + "#10": "" } } } @@ -503,18 +503,18 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#3" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(5,2)-(5,11)]", "#1": "[(5,2)-(6,0)]" }, "resolved-link": { + "#1": "amf://id#3" + }, + "resolved-link-target": { "#1": "amf://id#2" + }, + "declared-element": { + "#1": "" } } }, @@ -538,19 +538,19 @@ } ], "smaps": { - "resolved-link-target": { - "#4": "amf://id#6" - }, - "declared-element": { - "#4": "" - }, "lexical": { "shacl:name": "[(6,2)-(6,11)]", "#4": "[(6,2)-(7,0)]", "shacl:datatype": "[(6,13)-(6,20)]" }, "resolved-link": { + "#4": "amf://id#6" + }, + "resolved-link-target": { "#4": "amf://id#5" + }, + "declared-element": { + "#4": "" } } }, @@ -574,19 +574,19 @@ } ], "smaps": { - "resolved-link-target": { - "#7": "amf://id#9" - }, - "declared-element": { - "#7": "" - }, "lexical": { "shacl:name": "[(7,2)-(7,11)]", "#7": "[(7,2)-(9,0)]", "shacl:datatype": "[(7,13)-(7,19)]" }, "resolved-link": { + "#7": "amf://id#9" + }, + "resolved-link-target": { "#7": "amf://id#8" + }, + "declared-element": { + "#7": "" } } }, @@ -762,14 +762,14 @@ } ], "smaps": { - "declared-element": { - "#10": "" - }, "lexical": { "doc:variable": "[(10,10)-(17,0)]", "core:name": "[(10,2)-(10,9)]", "#10": "[(10,2)-(17,0)]", "doc:dataNode": "[(11,4)-(17,0)]" + }, + "declared-element": { + "#10": "" } } } diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-traits/api.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-traits/api.flattened.jsonld index 4c9ef010ce..aa77d9a5f5 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-traits/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/multiple-non-nested-unions-in-traits/api.flattened.jsonld @@ -151,14 +151,14 @@ "type-response-get" ], "smaps": { - "declared-element": { - "#10": "" - }, "lexical": { "doc:variable": "[(10,10)-(17,0)]", "core:name": "[(10,2)-(10,9)]", "#10": "[(10,2)-(17,0)]", "doc:dataNode": "[(11,4)-(17,0)]" + }, + "declared-element": { + "#10": "" } } }, @@ -200,11 +200,11 @@ } ], "smaps": { - "auto-generated-name": { - "#26": "" - }, "lexical": { "#26": "[(15,12)-(15,39)]" + }, + "auto-generated-name": { + "#26": "" } } }, @@ -264,18 +264,18 @@ ], "shacl:name": "TestType1", "smaps": { - "resolved-link-target": { - "#1": "amf://id#3" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(5,2)-(5,11)]", "#1": "[(5,2)-(6,0)]" }, "resolved-link": { + "#1": "amf://id#3" + }, + "resolved-link-target": { "#1": "amf://id#2" + }, + "declared-element": { + "#1": "" } } }, @@ -295,19 +295,19 @@ ], "shacl:name": "TestType2", "smaps": { - "resolved-link-target": { - "#4": "amf://id#6" - }, - "declared-element": { - "#4": "" - }, "lexical": { "shacl:name": "[(6,2)-(6,11)]", "#4": "[(6,2)-(7,0)]", "shacl:datatype": "[(6,13)-(6,20)]" }, "resolved-link": { + "#4": "amf://id#6" + }, + "resolved-link-target": { "#4": "amf://id#5" + }, + "declared-element": { + "#4": "" } } }, @@ -327,19 +327,19 @@ ], "shacl:name": "TestType3", "smaps": { - "resolved-link-target": { - "#7": "amf://id#9" - }, - "declared-element": { - "#7": "" - }, "lexical": { "shacl:name": "[(7,2)-(7,11)]", "#7": "[(7,2)-(9,0)]", "shacl:datatype": "[(7,13)-(7,19)]" }, "resolved-link": { + "#7": "amf://id#9" + }, + "resolved-link-target": { "#7": "amf://id#8" + }, + "declared-element": { + "#7": "" } } }, diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.expanded.jsonld index 1e61fdbec6..945d7dc84f 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.expanded.jsonld @@ -104,9 +104,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default" @@ -114,35 +114,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(11,8)-(13,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(13,0)]" + "@value": "[(12,10)-(13,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,10)-(13,0)]" + "@value": "" } ] } @@ -638,9 +638,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema" @@ -648,14 +648,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "string | nil" + "@value": "[(6,4)-(7,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema" @@ -663,7 +663,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,4)-(7,0)]" + "@value": "string | nil" } ] } @@ -1158,9 +1158,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema" @@ -1168,14 +1168,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "string | nil" + "@value": "[(18,6)-(19,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema" @@ -1183,7 +1183,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,6)-(19,0)]" + "@value": "string | nil" } ] } @@ -1338,9 +1338,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default" @@ -1348,35 +1348,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(21,8)-(24,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,8)-(24,0)]" + "@value": "[(22,10)-(24,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,10)-(24,0)]" + "@value": "" } ] } @@ -1947,9 +1947,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema" @@ -1957,14 +1957,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "string | nil" + "@value": "[(29,6)-(30,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema" @@ -1972,7 +1972,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,6)-(30,0)]" + "@value": "string | nil" } ] } @@ -2127,9 +2127,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default" @@ -2137,35 +2137,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(32,8)-(33,22)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,8)-(33,22)]" + "@value": "[(33,10)-(33,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,10)-(33,22)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.flattened.jsonld index 73a25396b8..92f8a85d30 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.flattened.jsonld @@ -704,14 +704,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema/source-map/type-expression/element_0" } ] }, @@ -1035,14 +1035,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema", - "http://a.ml/vocabularies/document-source-maps#value": "string | nil" + "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(7,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/parameter/parameter/path/str2/union/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,4)-(7,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "string | nil" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str1/union/schema", @@ -1331,11 +1331,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1" @@ -1344,6 +1339,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0" @@ -1490,14 +1490,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema/source-map/type-expression/element_0" } ] }, @@ -1521,11 +1521,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1" @@ -1534,6 +1529,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0" @@ -1655,14 +1655,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema/source-map/type-expression/element_0" } ] }, @@ -1686,11 +1686,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1" @@ -1699,6 +1694,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0" @@ -1715,11 +1715,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(32,13)-(33,22)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default", @@ -1730,6 +1725,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(13,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests%2F%7Bstr1%7D%2F%7Bstr2%7D/supportedOperation/get/returns/resp/200/payload/default/scalar/default", @@ -1792,20 +1792,15 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema/source-map/type-expression/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema", - "http://a.ml/vocabularies/document-source-maps#value": "string | nil" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(18,6)-(19,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema/source-map/type-expression/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/expects/request/parameter/parameter/query/str2/union/schema", + "http://a.ml/vocabularies/document-source-maps#value": "string | nil" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1", @@ -1817,6 +1812,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(22,10)-(24,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests/supportedOperation/get/returns/resp/200/payload/default/scalar/default", @@ -1879,20 +1879,15 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema/source-map/type-expression/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema", - "http://a.ml/vocabularies/document-source-maps#value": "string | nil" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(29,6)-(30,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema/source-map/type-expression/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/expects/request/header/parameter/header/str2/union/schema", + "http://a.ml/vocabularies/document-source-maps#value": "string | nil" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/lexical/element_1", @@ -1904,6 +1899,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(33,10)-(33,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/nillable-type-in-parameter/api.raml#/web-api/endpoint/%2Ftests2/supportedOperation/get/returns/resp/200/payload/default/scalar/default", diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.expanded.jsonld index 9cbd312f2d..bee390cdce 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.expanded.jsonld @@ -415,9 +415,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name" @@ -425,35 +425,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,6)-(5,12)]" + "@value": "[(4,4)-(6,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,4)-(6,5)]" + "@value": "[(5,6)-(5,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,6)-(5,22)]" + "@value": "[(5,6)-(5,12)]" } ] } @@ -579,9 +579,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName" @@ -589,35 +589,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,6)-(5,12)]" + "@value": "[(4,4)-(6,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(4,4)-(6,5)]" + "@value": "[(5,6)-(5,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,6)-(5,22)]" + "@value": "[(5,6)-(5,12)]" } ] } @@ -702,9 +702,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema" @@ -712,35 +712,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(1,0)-(11,1)]" + "@value": "[(2,2)-(2,8)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,2)-(7,3)]" + "@value": "[(1,0)-(11,1)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(2,2)-(2,8)]" + "@value": "[(3,2)-(7,3)]" } ] } @@ -845,6 +845,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType" + } + ], + "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/raml10/raml-default-schema-version.raml#/declares/shape/MyType/source-map/lexical/element_2", @@ -886,21 +901,6 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/source-map/parsed-json-schema/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.flattened.jsonld index 49f716973b..3aeca45337 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.flattened.jsonld @@ -245,6 +245,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/source-map/lexical/element_2" @@ -256,11 +261,6 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/source-map/lexical/element_1" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/source-map/parsed-json-schema/element_0" @@ -405,6 +405,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType", "http://a.ml/vocabularies/document-source-maps#value": "[(2,2)-(2,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -420,11 +425,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(14,1)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/source-map/parsed-json-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType", @@ -462,11 +462,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/lexical/element_1" @@ -474,6 +469,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -520,6 +520,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/source-map/lexical/element_1" @@ -527,11 +532,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -554,11 +554,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/references/0/references/1/external", "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(20,1)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name", @@ -569,6 +564,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName", "@type": [ @@ -611,6 +611,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(2,2)-(2,8)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema", @@ -621,21 +626,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(7,3)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(2,2)-(2,8)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map/lexical/element_1" @@ -643,6 +638,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -655,11 +655,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName", "http://a.ml/vocabularies/document-source-maps#value": "[(4,4)-(6,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName", @@ -669,6 +664,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,22)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-default-schema-version.raml#/declares/shape/MyType/property/property/age/shape/schema/property/property/anotherName/scalar/anotherName", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,12)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.expanded.jsonld index 26b37ccc72..683a5f3c6c 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.expanded.jsonld @@ -277,9 +277,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name" @@ -287,35 +287,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(6,12)]" + "@value": "[(5,4)-(7,5)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,4)-(7,5)]" + "@value": "[(6,6)-(6,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,6)-(6,22)]" + "@value": "[(6,6)-(6,12)]" } ] } @@ -434,9 +434,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName" @@ -444,35 +444,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,10)-(8,16)]" + "@value": "[(7,8)-(9,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(9,9)]" + "@value": "[(8,10)-(8,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,10)-(8,26)]" + "@value": "[(8,10)-(8,16)]" } ] } @@ -828,6 +828,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(5,6)-(5,12)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/source-map/lexical/element_2", @@ -868,21 +883,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(5,6)-(5,12)]" - } - ] - } ] } ] @@ -929,6 +929,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType" + } + ], + "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/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/source-map/lexical/element_3", @@ -983,21 +998,6 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/source-map/parsed-json-schema/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.flattened.jsonld index e1b2c43117..aff4104674 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.flattened.jsonld @@ -223,6 +223,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/source-map/lexical/element_3" @@ -237,11 +242,6 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/source-map/lexical/element_2" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/source-map/parsed-json-schema/element_0" @@ -373,6 +373,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/source-map/lexical/element_2" @@ -383,11 +388,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -400,6 +400,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType", "http://a.ml/vocabularies/document-source-maps#value": "[(3,2)-(3,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -420,11 +425,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(12,1)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/source-map/parsed-json-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType", @@ -451,11 +451,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/lexical/element_1" @@ -463,6 +458,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -560,6 +560,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -575,21 +580,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain", "http://a.ml/vocabularies/document-source-maps#value": "[(4,4)-(18,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/references/0/references/0/external/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/references/0/references/0/external", "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(20,1)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(6,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name", @@ -600,16 +595,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(6,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,6)-(6,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/lexical/element_1" @@ -617,6 +612,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -678,11 +678,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(16,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName", @@ -693,6 +688,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/property/property/anotherName/scalar/anotherName", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/raml-reference-draft-7.raml#/declares/shape/MyType/shape/anotherMain/shape/if/property/property/anotherCountry/any/anotherCountry/list", "@type": "http://www.w3.org/2000/01/rdf-schema#Seq", diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.expanded.jsonld index 79a2d55964..b5fdf89d43 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.expanded.jsonld @@ -157,9 +157,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input" @@ -167,35 +167,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,15)-(15,21)]" + "@value": "[(13,13)-(16,14)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,13)-(16,14)]" + "@value": "[(15,15)-(15,31)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,15)-(15,31)]" + "@value": "[(15,15)-(15,21)]" } ] } @@ -285,6 +285,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(20,11)-(20,17)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/source-map/lexical/element_2", @@ -326,21 +341,6 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(20,11)-(20,17)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/source-map/parsed-json-schema/element_0", @@ -583,21 +583,6 @@ "@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/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A" - } - ], - "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/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/source-map/lexical/element_4", @@ -664,6 +649,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.flattened.jsonld index 5b1955971e..95474ac1ef 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.flattened.jsonld @@ -141,11 +141,6 @@ "@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/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/source-map/lexical/element_4" @@ -162,6 +157,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/source-map/declared-element/element_0" + } ] }, { @@ -198,6 +198,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/source-map/lexical/element_2" @@ -209,11 +214,6 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/source-map/lexical/element_1" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#parsed-json-schema": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/source-map/parsed-json-schema/element_0" @@ -256,11 +256,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", @@ -286,6 +281,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(4,3)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input", "@type": [ @@ -328,6 +328,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,11)-(20,17)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -343,11 +348,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(4,2)-(21,10)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,11)-(20,17)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/source-map/parsed-json-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema", @@ -412,11 +412,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input/source-map/lexical/element_1" @@ -424,6 +419,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -470,11 +470,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#input", "http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(9,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,15)-(15,21)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input", @@ -485,6 +480,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(15,15)-(15,31)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/inherits/shape/schema/property/property/input/scalar/input", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,15)-(15,21)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/raml10/type-with-json-schema-in-type-facet.raml#/declares/shape/A/examples/example/test/object_1/input/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/union-combinatorial/api.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/union-combinatorial/api.expanded.jsonld index ae561cf1e7..7f2a13f872 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/union-combinatorial/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/union-combinatorial/api.expanded.jsonld @@ -145,12 +145,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(27,13)-(27,20)]", "#2": "[(27,6)-(28,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -204,12 +204,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(28,13)-(28,21)]", "#4": "[(28,6)-(29,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#1" } } } @@ -223,21 +223,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#6" - }, "type-property-lexical-info": { "#1": "[(25,4)-(25,8)]" }, - "lexical": { - "shacl:name": "[(24,2)-(24,8)]", - "#1": "[(24,2)-(29,0)]" + "resolved-link": { + "#1": "amf://id#6" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#1" + "lexical": { + "shacl:name": "[(24,2)-(24,8)]", + "#1": "[(24,2)-(29,0)]" } } }, @@ -328,21 +328,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#7": "amf://id#10" - }, "type-property-lexical-info": { "#7": "[(11,4)-(11,8)]" }, - "lexical": { - "shacl:name": "[(10,2)-(10,9)]", - "#7": "[(10,2)-(14,0)]" + "resolved-link": { + "#7": "amf://id#10" + }, + "resolved-link-target": { + "#7": "amf://id#7" }, "declared-element": { "#7": "" }, - "resolved-link-target": { - "#7": "amf://id#7" + "lexical": { + "shacl:name": "[(10,2)-(10,9)]", + "#7": "[(10,2)-(14,0)]" } } }, @@ -417,12 +417,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#12": "amf://id#11" + }, "lexical": { "raml-shapes:range": "[(17,12)-(17,18)]", "#12": "[(17,6)-(18,0)]" - }, - "inheritance-provenance": { - "#12": "amf://id#11" } } }, @@ -482,12 +482,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#14": "amf://id#11" + }, "lexical": { "raml-shapes:range": "[(18,13)-(18,19)]", "#14": "[(18,6)-(19,0)]" - }, - "inheritance-provenance": { - "#14": "amf://id#11" } } } @@ -501,21 +501,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#11": "amf://id#16" - }, "type-property-lexical-info": { "#11": "[(15,4)-(15,8)]" }, - "lexical": { - "shacl:name": "[(14,2)-(14,5)]", - "#11": "[(14,2)-(19,0)]" + "resolved-link": { + "#11": "amf://id#16" + }, + "resolved-link-target": { + "#11": "amf://id#11" }, "declared-element": { "#11": "" }, - "resolved-link-target": { - "#11": "amf://id#11" + "lexical": { + "shacl:name": "[(14,2)-(14,5)]", + "#11": "[(14,2)-(19,0)]" } } }, @@ -606,21 +606,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#17": "amf://id#20" - }, "type-property-lexical-info": { "#17": "[(7,4)-(7,8)]" }, - "lexical": { - "shacl:name": "[(6,2)-(6,10)]", - "#17": "[(6,2)-(10,0)]" + "resolved-link": { + "#17": "amf://id#20" + }, + "resolved-link-target": { + "#17": "amf://id#17" }, "declared-element": { "#17": "" }, - "resolved-link-target": { - "#17": "amf://id#17" + "lexical": { + "shacl:name": "[(6,2)-(6,10)]", + "#17": "[(6,2)-(10,0)]" } } }, @@ -705,12 +705,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#23": "amf://id#25" + }, "lexical": { "raml-shapes:range": "[(22,12)-(22,18)]", "#23": "[(22,6)-(23,0)]" - }, - "inheritance-provenance": { - "#23": "amf://id#25" } } }, @@ -832,12 +832,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#26": "amf://id#25" + }, "lexical": { "raml-shapes:range": "[(23,13)-(23,19)]", "#26": "[(23,6)-(24,0)]" - }, - "inheritance-provenance": { - "#26": "amf://id#25" } } } @@ -851,6 +851,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#22": "[(11,4)-(11,8)]" + }, + "resolved-link": { + "#22": "amf://id#10" + }, + "inherited-shapes": { + "#22": "amf://id#25" + }, "resolved-link-target": { "#22": "amf://id#7" }, @@ -860,15 +869,6 @@ "lexical": { "shacl:name": "[(10,2)-(10,9)]", "#22": "[(10,2)-(14,0)]" - }, - "type-property-lexical-info": { - "#22": "[(11,4)-(11,8)]" - }, - "resolved-link": { - "#22": "amf://id#10" - }, - "inherited-shapes": { - "#22": "amf://id#25" } } }, @@ -943,12 +943,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#14": "amf://id#11" + }, "lexical": { "raml-shapes:range": "[(18,13)-(18,19)]", "#14": "[(18,6)-(19,0)]" - }, - "inheritance-provenance": { - "#14": "amf://id#11" } } }, @@ -1008,12 +1008,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#12": "amf://id#11" + }, "lexical": { "raml-shapes:range": "[(17,12)-(17,18)]", "#12": "[(17,6)-(18,0)]" - }, - "inheritance-provenance": { - "#12": "amf://id#11" } } }, @@ -1089,6 +1089,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#28": "[(11,4)-(11,8)]" + }, + "resolved-link": { + "#28": "amf://id#10" + }, + "inherited-shapes": { + "#28": "amf://id#11" + }, "resolved-link-target": { "#28": "amf://id#7" }, @@ -1098,15 +1107,6 @@ "lexical": { "shacl:name": "[(10,2)-(10,9)]", "#28": "[(10,2)-(14,0)]" - }, - "type-property-lexical-info": { - "#28": "[(11,4)-(11,8)]" - }, - "resolved-link": { - "#28": "amf://id#10" - }, - "inherited-shapes": { - "#28": "amf://id#11" } } }, @@ -1175,12 +1175,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(28,13)-(28,21)]", "#4": "[(28,6)-(29,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#1" } } }, @@ -1302,12 +1302,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(27,13)-(27,20)]", "#2": "[(27,6)-(28,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } } @@ -1321,6 +1321,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#29": "[(11,4)-(11,8)]" + }, + "resolved-link": { + "#29": "amf://id#10" + }, + "inherited-shapes": { + "#29": "amf://id#1" + }, "resolved-link-target": { "#29": "amf://id#7" }, @@ -1330,15 +1339,6 @@ "lexical": { "shacl:name": "[(10,2)-(10,9)]", "#29": "[(10,2)-(14,0)]" - }, - "type-property-lexical-info": { - "#29": "[(11,4)-(11,8)]" - }, - "resolved-link": { - "#29": "amf://id#10" - }, - "inherited-shapes": { - "#29": "amf://id#1" } } }, @@ -1413,12 +1413,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#23": "amf://id#25" + }, "lexical": { "raml-shapes:range": "[(22,12)-(22,18)]", "#23": "[(22,6)-(23,0)]" - }, - "inheritance-provenance": { - "#23": "amf://id#25" } } }, @@ -1540,12 +1540,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#26": "amf://id#25" + }, "lexical": { "raml-shapes:range": "[(23,13)-(23,19)]", "#26": "[(23,6)-(24,0)]" - }, - "inheritance-provenance": { - "#26": "amf://id#25" } } } @@ -1559,6 +1559,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#30": "[(7,4)-(7,8)]" + }, + "resolved-link": { + "#30": "amf://id#20" + }, + "inherited-shapes": { + "#30": "amf://id#25" + }, "resolved-link-target": { "#30": "amf://id#17" }, @@ -1568,15 +1577,6 @@ "lexical": { "shacl:name": "[(6,2)-(6,10)]", "#30": "[(6,2)-(10,0)]" - }, - "type-property-lexical-info": { - "#30": "[(7,4)-(7,8)]" - }, - "resolved-link": { - "#30": "amf://id#20" - }, - "inherited-shapes": { - "#30": "amf://id#25" } } }, @@ -1651,12 +1651,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#14": "amf://id#11" + }, "lexical": { "raml-shapes:range": "[(18,13)-(18,19)]", "#14": "[(18,6)-(19,0)]" - }, - "inheritance-provenance": { - "#14": "amf://id#11" } } }, @@ -1716,12 +1716,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#12": "amf://id#11" + }, "lexical": { "raml-shapes:range": "[(17,12)-(17,18)]", "#12": "[(17,6)-(18,0)]" - }, - "inheritance-provenance": { - "#12": "amf://id#11" } } }, @@ -1797,6 +1797,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#31": "[(7,4)-(7,8)]" + }, + "resolved-link": { + "#31": "amf://id#20" + }, + "inherited-shapes": { + "#31": "amf://id#11" + }, "resolved-link-target": { "#31": "amf://id#17" }, @@ -1806,15 +1815,6 @@ "lexical": { "shacl:name": "[(6,2)-(6,10)]", "#31": "[(6,2)-(10,0)]" - }, - "type-property-lexical-info": { - "#31": "[(7,4)-(7,8)]" - }, - "resolved-link": { - "#31": "amf://id#20" - }, - "inherited-shapes": { - "#31": "amf://id#11" } } }, @@ -1883,12 +1883,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(28,13)-(28,21)]", "#4": "[(28,6)-(29,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#1" } } }, @@ -2010,12 +2010,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(27,13)-(27,20)]", "#2": "[(27,6)-(28,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } } @@ -2029,6 +2029,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#32": "[(7,4)-(7,8)]" + }, + "resolved-link": { + "#32": "amf://id#20" + }, + "inherited-shapes": { + "#32": "amf://id#1" + }, "resolved-link-target": { "#32": "amf://id#17" }, @@ -2038,15 +2047,6 @@ "lexical": { "shacl:name": "[(6,2)-(6,10)]", "#32": "[(6,2)-(10,0)]" - }, - "type-property-lexical-info": { - "#32": "[(7,4)-(7,8)]" - }, - "resolved-link": { - "#32": "amf://id#20" - }, - "inherited-shapes": { - "#32": "amf://id#1" } } } @@ -2057,13 +2057,13 @@ } ], "smaps": { - "inherited-shapes": { - "#21": "amf://id#33" - }, "lexical": { "shacl:name": "[(29,2)-(29,12)]", "#21": "[(29,2)-(30,0)]" }, + "inherited-shapes": { + "#21": "amf://id#33" + }, "declared-element": { "#21": "" } @@ -2140,12 +2140,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#23": "amf://id#25" + }, "lexical": { "raml-shapes:range": "[(22,12)-(22,18)]", "#23": "[(22,6)-(23,0)]" - }, - "inheritance-provenance": { - "#23": "amf://id#25" } } }, @@ -2205,12 +2205,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#26": "amf://id#25" + }, "lexical": { "raml-shapes:range": "[(23,13)-(23,19)]", "#26": "[(23,6)-(24,0)]" - }, - "inheritance-provenance": { - "#26": "amf://id#25" } } } @@ -2224,21 +2224,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#25": "amf://id#34" - }, "type-property-lexical-info": { "#25": "[(20,4)-(20,8)]" }, - "lexical": { - "shacl:name": "[(19,2)-(19,5)]", - "#25": "[(19,2)-(24,0)]" + "resolved-link": { + "#25": "amf://id#34" + }, + "resolved-link-target": { + "#25": "amf://id#25" }, "declared-element": { "#25": "" }, - "resolved-link-target": { - "#25": "amf://id#25" + "lexical": { + "shacl:name": "[(19,2)-(19,5)]", + "#25": "[(19,2)-(24,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/union-combinatorial/api.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/union-combinatorial/api.flattened.jsonld index 60efa934ad..4bf5ff0af2 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/union-combinatorial/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/union-combinatorial/api.flattened.jsonld @@ -96,21 +96,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#6" - }, "type-property-lexical-info": { "#1": "[(25,4)-(25,8)]" }, - "lexical": { - "shacl:name": "[(24,2)-(24,8)]", - "#1": "[(24,2)-(29,0)]" + "resolved-link": { + "#1": "amf://id#6" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#1" + "lexical": { + "shacl:name": "[(24,2)-(24,8)]", + "#1": "[(24,2)-(29,0)]" } } }, @@ -134,21 +134,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#7": "amf://id#10" - }, "type-property-lexical-info": { "#7": "[(11,4)-(11,8)]" }, - "lexical": { - "shacl:name": "[(10,2)-(10,9)]", - "#7": "[(10,2)-(14,0)]" + "resolved-link": { + "#7": "amf://id#10" + }, + "resolved-link-target": { + "#7": "amf://id#7" }, "declared-element": { "#7": "" }, - "resolved-link-target": { - "#7": "amf://id#7" + "lexical": { + "shacl:name": "[(10,2)-(10,9)]", + "#7": "[(10,2)-(14,0)]" } } }, @@ -175,21 +175,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#11": "amf://id#16" - }, "type-property-lexical-info": { "#11": "[(15,4)-(15,8)]" }, - "lexical": { - "shacl:name": "[(14,2)-(14,5)]", - "#11": "[(14,2)-(19,0)]" + "resolved-link": { + "#11": "amf://id#16" + }, + "resolved-link-target": { + "#11": "amf://id#11" }, "declared-element": { "#11": "" }, - "resolved-link-target": { - "#11": "amf://id#11" + "lexical": { + "shacl:name": "[(14,2)-(14,5)]", + "#11": "[(14,2)-(19,0)]" } } }, @@ -213,21 +213,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#17": "amf://id#20" - }, "type-property-lexical-info": { "#17": "[(7,4)-(7,8)]" }, - "lexical": { - "shacl:name": "[(6,2)-(6,10)]", - "#17": "[(6,2)-(10,0)]" + "resolved-link": { + "#17": "amf://id#20" + }, + "resolved-link-target": { + "#17": "amf://id#17" }, "declared-element": { "#17": "" }, - "resolved-link-target": { - "#17": "amf://id#17" + "lexical": { + "shacl:name": "[(6,2)-(6,10)]", + "#17": "[(6,2)-(10,0)]" } } }, @@ -262,13 +262,13 @@ ], "shacl:name": "HomeAnimal", "smaps": { - "inherited-shapes": { - "#21": "amf://id#33" - }, "lexical": { "shacl:name": "[(29,2)-(29,12)]", "#21": "[(29,2)-(30,0)]" }, + "inherited-shapes": { + "#21": "amf://id#33" + }, "declared-element": { "#21": "" } @@ -297,21 +297,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#25": "amf://id#34" - }, "type-property-lexical-info": { "#25": "[(20,4)-(20,8)]" }, - "lexical": { - "shacl:name": "[(19,2)-(19,5)]", - "#25": "[(19,2)-(24,0)]" + "resolved-link": { + "#25": "amf://id#34" + }, + "resolved-link-target": { + "#25": "amf://id#25" }, "declared-element": { "#25": "" }, - "resolved-link-target": { - "#25": "amf://id#25" + "lexical": { + "shacl:name": "[(19,2)-(19,5)]", + "#25": "[(19,2)-(24,0)]" } } }, @@ -338,12 +338,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(27,13)-(27,20)]", "#2": "[(27,6)-(28,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -370,12 +370,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(28,13)-(28,21)]", "#4": "[(28,6)-(29,0)]" - }, - "inheritance-provenance": { - "#4": "amf://id#1" } } }, @@ -431,12 +431,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#12": "amf://id#11" + }, "lexical": { "raml-shapes:range": "[(17,12)-(17,18)]", "#12": "[(17,6)-(18,0)]" - }, - "inheritance-provenance": { - "#12": "amf://id#11" } } }, @@ -463,12 +463,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#14": "amf://id#11" + }, "lexical": { "raml-shapes:range": "[(18,13)-(18,19)]", "#14": "[(18,6)-(19,0)]" - }, - "inheritance-provenance": { - "#14": "amf://id#11" } } }, @@ -527,6 +527,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#22": "[(11,4)-(11,8)]" + }, + "resolved-link": { + "#22": "amf://id#10" + }, + "inherited-shapes": { + "#22": "amf://id#25" + }, "resolved-link-target": { "#22": "amf://id#7" }, @@ -536,15 +545,6 @@ "lexical": { "shacl:name": "[(10,2)-(10,9)]", "#22": "[(10,2)-(14,0)]" - }, - "type-property-lexical-info": { - "#22": "[(11,4)-(11,8)]" - }, - "resolved-link": { - "#22": "amf://id#10" - }, - "inherited-shapes": { - "#22": "amf://id#25" } } }, @@ -574,6 +574,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#28": "[(11,4)-(11,8)]" + }, + "resolved-link": { + "#28": "amf://id#10" + }, + "inherited-shapes": { + "#28": "amf://id#11" + }, "resolved-link-target": { "#28": "amf://id#7" }, @@ -583,15 +592,6 @@ "lexical": { "shacl:name": "[(10,2)-(10,9)]", "#28": "[(10,2)-(14,0)]" - }, - "type-property-lexical-info": { - "#28": "[(11,4)-(11,8)]" - }, - "resolved-link": { - "#28": "amf://id#10" - }, - "inherited-shapes": { - "#28": "amf://id#11" } } }, @@ -621,6 +621,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#29": "[(11,4)-(11,8)]" + }, + "resolved-link": { + "#29": "amf://id#10" + }, + "inherited-shapes": { + "#29": "amf://id#1" + }, "resolved-link-target": { "#29": "amf://id#7" }, @@ -630,15 +639,6 @@ "lexical": { "shacl:name": "[(10,2)-(10,9)]", "#29": "[(10,2)-(14,0)]" - }, - "type-property-lexical-info": { - "#29": "[(11,4)-(11,8)]" - }, - "resolved-link": { - "#29": "amf://id#10" - }, - "inherited-shapes": { - "#29": "amf://id#1" } } }, @@ -668,6 +668,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#30": "[(7,4)-(7,8)]" + }, + "resolved-link": { + "#30": "amf://id#20" + }, + "inherited-shapes": { + "#30": "amf://id#25" + }, "resolved-link-target": { "#30": "amf://id#17" }, @@ -677,15 +686,6 @@ "lexical": { "shacl:name": "[(6,2)-(6,10)]", "#30": "[(6,2)-(10,0)]" - }, - "type-property-lexical-info": { - "#30": "[(7,4)-(7,8)]" - }, - "resolved-link": { - "#30": "amf://id#20" - }, - "inherited-shapes": { - "#30": "amf://id#25" } } }, @@ -715,6 +715,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#31": "[(7,4)-(7,8)]" + }, + "resolved-link": { + "#31": "amf://id#20" + }, + "inherited-shapes": { + "#31": "amf://id#11" + }, "resolved-link-target": { "#31": "amf://id#17" }, @@ -724,15 +733,6 @@ "lexical": { "shacl:name": "[(6,2)-(6,10)]", "#31": "[(6,2)-(10,0)]" - }, - "type-property-lexical-info": { - "#31": "[(7,4)-(7,8)]" - }, - "resolved-link": { - "#31": "amf://id#20" - }, - "inherited-shapes": { - "#31": "amf://id#11" } } }, @@ -762,6 +762,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#32": "[(7,4)-(7,8)]" + }, + "resolved-link": { + "#32": "amf://id#20" + }, + "inherited-shapes": { + "#32": "amf://id#1" + }, "resolved-link-target": { "#32": "amf://id#17" }, @@ -771,15 +780,6 @@ "lexical": { "shacl:name": "[(6,2)-(6,10)]", "#32": "[(6,2)-(10,0)]" - }, - "type-property-lexical-info": { - "#32": "[(7,4)-(7,8)]" - }, - "resolved-link": { - "#32": "amf://id#20" - }, - "inherited-shapes": { - "#32": "amf://id#1" } } }, @@ -806,12 +806,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#23": "amf://id#25" + }, "lexical": { "raml-shapes:range": "[(22,12)-(22,18)]", "#23": "[(22,6)-(23,0)]" - }, - "inheritance-provenance": { - "#23": "amf://id#25" } } }, @@ -838,12 +838,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#26": "amf://id#25" + }, "lexical": { "raml-shapes:range": "[(23,13)-(23,19)]", "#26": "[(23,6)-(24,0)]" - }, - "inheritance-provenance": { - "#26": "amf://id#25" } } }, diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/unions/triple-unions.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/unions/triple-unions.resolved.expanded.jsonld index 7dc8c12b03..0ed8e7f51e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/unions/triple-unions.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/unions/triple-unions.resolved.expanded.jsonld @@ -72,18 +72,18 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(5,2)-(5,7)]", "#1": "[(5,2)-(7,0)]" }, "resolved-link": { "#1": "amf://id#4" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, + "declared-element": { + "#1": "" } } }, @@ -161,18 +161,18 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(5,2)-(5,7)]", "#1": "[(5,2)-(7,0)]" }, "resolved-link": { "#1": "amf://id#4" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, + "declared-element": { + "#1": "" } } } @@ -195,13 +195,13 @@ } ], "smaps": { - "declared-element": { - "#5": "" - }, "lexical": { "shacl:name": "[(7,2)-(7,14)]", "#5": "[(7,2)-(11,0)]" }, + "declared-element": { + "#5": "" + }, "type-property-lexical-info": { "#5": "[(8,4)-(8,8)]" } @@ -280,18 +280,18 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(5,2)-(5,7)]", "#1": "[(5,2)-(7,0)]" }, "resolved-link": { "#1": "amf://id#4" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, + "declared-element": { + "#1": "" } } }, @@ -354,12 +354,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#9": "" + }, "lexical": { "shacl:name": "[(11,2)-(11,17)]", "#9": "[(11,2)-(18,0)]" - }, - "declared-element": { - "#9": "" } } }, @@ -426,18 +426,18 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(5,2)-(5,7)]", "#1": "[(5,2)-(7,0)]" }, "resolved-link": { "#1": "amf://id#4" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, + "declared-element": { + "#1": "" } } }, @@ -500,11 +500,11 @@ } ], "smaps": { - "type-property-lexical-info": { - "#16": "[(21,8)-(21,12)]" - }, "lexical": { "#16": "[(20,6)-(24,0)]" + }, + "type-property-lexical-info": { + "#16": "[(21,8)-(21,12)]" } } } @@ -540,12 +540,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#14": "" + }, "lexical": { "shacl:name": "[(18,2)-(18,22)]", "#14": "[(18,2)-(24,0)]" - }, - "declared-element": { - "#14": "" } } } diff --git a/amf-cli/shared/src/test/resources/upanddown/raml10/unions/triple-unions.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/raml10/unions/triple-unions.resolved.flattened.jsonld index 41b2eeb812..df94a26833 100644 --- a/amf-cli/shared/src/test/resources/upanddown/raml10/unions/triple-unions.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/raml10/unions/triple-unions.resolved.flattened.jsonld @@ -65,18 +65,18 @@ ], "shacl:name": "Shape", "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(5,2)-(5,7)]", "#1": "[(5,2)-(7,0)]" }, "resolved-link": { "#1": "amf://id#4" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, + "declared-element": { + "#1": "" } } }, @@ -94,13 +94,13 @@ }, "shacl:name": "UnionInArray", "smaps": { - "declared-element": { - "#5": "" - }, "lexical": { "shacl:name": "[(7,2)-(7,14)]", "#5": "[(7,2)-(11,0)]" }, + "declared-element": { + "#5": "" + }, "type-property-lexical-info": { "#5": "[(8,4)-(8,8)]" } @@ -126,12 +126,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#9": "" + }, "lexical": { "shacl:name": "[(11,2)-(11,17)]", "#9": "[(11,2)-(18,0)]" - }, - "declared-element": { - "#9": "" } } }, @@ -155,12 +155,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#14": "" + }, "lexical": { "shacl:name": "[(18,2)-(18,22)]", "#14": "[(18,2)-(24,0)]" - }, - "declared-element": { - "#14": "" } } }, @@ -329,11 +329,11 @@ }, "shacl:name": "complexArray", "smaps": { - "type-property-lexical-info": { - "#16": "[(21,8)-(21,12)]" - }, "lexical": { "#16": "[(20,6)-(24,0)]" + }, + "type-property-lexical-info": { + "#16": "[(21,8)-(21,12)]" } } }, diff --git a/amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json.expanded.jsonld index 38cde7ce07..fb80c37e07 100644 --- a/amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json.expanded.jsonld @@ -169,9 +169,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat" @@ -179,35 +179,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,10)-(13,16)]" + "@value": "[(12,8)-(14,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,8)-(14,9)]" + "@value": "[(13,10)-(13,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,10)-(13,26)]" + "@value": "[(13,10)-(13,16)]" } ] } @@ -304,9 +304,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long" @@ -314,35 +314,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(16,16)]" + "@value": "[(15,8)-(17,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,8)-(17,9)]" + "@value": "[(16,10)-(16,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(16,26)]" + "@value": "[(16,10)-(16,16)]" } ] } @@ -442,6 +442,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long" + } + ], + "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/security-with-query-string.json#/declares/shape/lat-long/source-map/lexical/element_2", @@ -482,21 +497,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -555,9 +555,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location" @@ -565,35 +565,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,10)-(24,16)]" + "@value": "[(23,8)-(25,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,8)-(25,9)]" + "@value": "[(24,10)-(24,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,10)-(24,26)]" + "@value": "[(24,10)-(24,16)]" } ] } @@ -693,6 +693,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc" + } + ], + "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/security-with-query-string.json#/declares/shape/loc/source-map/lexical/element_2", @@ -733,21 +748,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -806,9 +806,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start" @@ -816,35 +816,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,10)-(32,16)]" + "@value": "[(31,8)-(33,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(31,8)-(33,9)]" + "@value": "[(32,10)-(32,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,10)-(32,26)]" + "@value": "[(32,10)-(32,16)]" } ] } @@ -941,9 +941,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size" @@ -951,35 +951,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,10)-(35,16)]" + "@value": "[(34,8)-(36,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(34,8)-(36,9)]" + "@value": "[(35,10)-(35,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,10)-(35,26)]" + "@value": "[(35,10)-(35,16)]" } ] } @@ -1079,6 +1079,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging" + } + ], + "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/security-with-query-string.json#/declares/shape/paging/source-map/lexical/element_2", @@ -1119,21 +1134,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1208,21 +1208,6 @@ "@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/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/scheme/oauth_2_0" - } - ], - "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/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/lexical/element_3", @@ -1276,6 +1261,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json.flattened.jsonld index cb152fc71f..35fd77e55a 100644 --- a/amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json.flattened.jsonld @@ -247,6 +247,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/source-map/lexical/element_2" @@ -257,11 +262,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/source-map/declared-element/element_0" - } ] }, { @@ -303,6 +303,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/source-map/lexical/element_2" @@ -313,11 +318,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/source-map/declared-element/element_0" - } ] }, { @@ -383,6 +383,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/source-map/lexical/element_2" @@ -393,11 +398,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/source-map/declared-element/element_0" - } ] }, { @@ -418,11 +418,6 @@ "@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/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/lexical/element_3" @@ -436,6 +431,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" + } ] }, { @@ -522,6 +522,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long", "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -537,11 +542,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long", "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(19,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location", "@type": [ @@ -589,6 +589,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc", "http://a.ml/vocabularies/document-source-maps#value": "[(21,6)-(21,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -604,11 +609,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc", "http://a.ml/vocabularies/document-source-maps#value": "[(20,4)-(27,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start", "@type": [ @@ -693,6 +693,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging", "http://a.ml/vocabularies/document-source-maps#value": "[(29,6)-(29,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -708,11 +713,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging", "http://a.ml/vocabularies/document-source-maps#value": "[(28,4)-(38,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/scheme/oauth_2_0/settings/oauth2/source-map", "@type": [ @@ -729,11 +729,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/scheme/oauth_2_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -754,16 +749,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/scheme/oauth_2_0", "http://a.ml/vocabularies/document-source-maps#value": "[(41,4)-(43,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/scheme/oauth_2_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1" @@ -771,6 +766,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -788,11 +788,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1" @@ -800,6 +795,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -817,11 +817,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1" @@ -829,6 +824,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -846,11 +846,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1" @@ -858,6 +853,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -875,11 +875,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1" @@ -887,6 +882,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -909,11 +909,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/scheme/oauth_2_0/settings/oauth2", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat", @@ -925,9 +920,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/lat/scalar/lat", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(13,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/lexical/element_1", @@ -940,9 +935,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,10)-(24,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/lat-long/property/property/long/scalar/long", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(16,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/lexical/element_1", @@ -955,9 +950,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(24,10)-(24,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start", - "http://a.ml/vocabularies/document-source-maps#value": "[(32,10)-(32,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/loc/property/property/location/scalar/location", + "http://a.ml/vocabularies/document-source-maps#value": "[(24,10)-(24,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/lexical/element_1", @@ -970,9 +965,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(32,10)-(32,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size", - "http://a.ml/vocabularies/document-source-maps#value": "[(35,10)-(35,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/start/scalar/start", + "http://a.ml/vocabularies/document-source-maps#value": "[(32,10)-(32,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_1", @@ -983,6 +978,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(35,10)-(35,26)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security-with-query-string.json#/declares/shape/paging/property/property/page-size/scalar/page-size", + "http://a.ml/vocabularies/document-source-maps#value": "[(35,10)-(35,16)]" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/security.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/security.json.expanded.jsonld index e0abbd3ea9..bea12e521a 100644 --- a/amf-cli/shared/src/test/resources/upanddown/security.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/security.json.expanded.jsonld @@ -326,21 +326,6 @@ "@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/security.json#/declares/scheme/custom_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/custom_auth" - } - ], - "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/security.json#/declares/scheme/custom_auth/source-map/lexical/element_3", @@ -394,6 +379,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/custom_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/custom_auth" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -420,21 +420,6 @@ "@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/security.json#/declares/scheme/basic_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/basic_auth" - } - ], - "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/security.json#/declares/scheme/basic_auth/source-map/lexical/element_2", @@ -475,6 +460,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/basic_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/basic_auth" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -559,21 +559,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(28,12)-(28,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -614,6 +599,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,12)-(28,18)]" + } + ] + } ] } ] @@ -1165,21 +1165,6 @@ "@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/security.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0" - } - ], - "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/security.json#/declares/scheme/oauth_2_0/source-map/lexical/element_6", @@ -1272,6 +1257,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1382,21 +1382,6 @@ "@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/security.json#/declares/scheme/api_key/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/api_key" - } - ], - "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/security.json#/declares/scheme/api_key/source-map/lexical/element_3", @@ -1450,6 +1435,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/api_key/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/api_key" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1476,21 +1476,6 @@ "@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/security.json#/declares/scheme/digest_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/digest_auth" - } - ], - "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/security.json#/declares/scheme/digest_auth/source-map/lexical/element_2", @@ -1531,6 +1516,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/digest_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/digest_auth" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/security.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/security.json.flattened.jsonld index 95a4250581..e55bd8ed14 100644 --- a/amf-cli/shared/src/test/resources/upanddown/security.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/security.json.flattened.jsonld @@ -212,11 +212,6 @@ "@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/security.json#/declares/scheme/custom_auth/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/custom_auth/source-map/lexical/element_3" @@ -230,6 +225,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/custom_auth/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/custom_auth/source-map/declared-element/element_0" + } ] }, { @@ -237,11 +237,6 @@ "@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/security.json#/declares/scheme/basic_auth/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/basic_auth/source-map/lexical/element_2" @@ -252,6 +247,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/basic_auth/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/basic_auth/source-map/declared-element/element_0" + } ] }, { @@ -341,11 +341,6 @@ "@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/security.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/source-map/lexical/element_6" @@ -368,6 +363,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/source-map/lexical/element_5" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0" + } ] }, { @@ -390,11 +390,6 @@ "@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/security.json#/declares/scheme/api_key/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/api_key/source-map/lexical/element_3" @@ -408,6 +403,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/api_key/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/api_key/source-map/declared-element/element_0" + } ] }, { @@ -415,11 +415,6 @@ "@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/security.json#/declares/scheme/digest_auth/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/digest_auth/source-map/lexical/element_2" @@ -430,6 +425,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/digest_auth/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/digest_auth/source-map/declared-element/element_0" + } ] }, { @@ -465,11 +465,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/custom_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/custom_auth", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/custom_auth/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -491,8 +486,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(56,4)-(61,5)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/basic_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/basic_auth", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/custom_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/custom_auth", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -510,6 +505,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/basic_auth", "http://a.ml/vocabularies/document-source-maps#value": "[(43,4)-(45,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/basic_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/basic_auth", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", "@type": [ @@ -653,11 +653,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#response", @@ -693,6 +688,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#header", "http://a.ml/vocabularies/document-source-maps#value": "[(25,8)-(30,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/api_key/settings/api-key/source-map", "@type": [ @@ -715,11 +715,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/api_key/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/api_key", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/api_key/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -741,8 +736,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(46,4)-(50,5)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/digest_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/digest_auth", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/api_key/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/api_key", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -760,6 +755,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/digest_auth", "http://a.ml/vocabularies/document-source-maps#value": "[(53,4)-(55,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/digest_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/digest_auth", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/custom_auth/settings/default/object_1/custom", "@type": [ @@ -814,11 +814,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2" @@ -829,6 +824,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1017,11 +1017,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#custom", "http://a.ml/vocabularies/document-source-maps#value": "[(59,8)-(59,27)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,12)-(28,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1037,6 +1032,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(26,10)-(29,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/header/parameter/header/Authorization/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,12)-(28,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/security.json#/declares/scheme/oauth_2_0/parameter/parameter/query/access_token/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", diff --git a/amf-cli/shared/src/test/resources/upanddown/shapes-with-items.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/shapes-with-items.expanded.jsonld index 5610908041..ef374f118a 100644 --- a/amf-cli/shared/src/test/resources/upanddown/shapes-with-items.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/shapes-with-items.expanded.jsonld @@ -44,9 +44,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/server/my.api.com%2Fv1/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/server/my.api.com%2Fv1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -54,14 +54,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,2)-(17,22)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/server/my.api.com%2Fv1/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/server/my.api.com%2Fv1/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -69,7 +69,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(17,2)-(17,22)]" } ] } @@ -336,9 +336,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items" @@ -346,35 +346,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(41,14)-(41,20)]" + "@value": "[(40,12)-(42,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,12)-(42,13)]" + "@value": "[(41,14)-(41,30)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(41,14)-(41,30)]" + "@value": "[(41,14)-(41,20)]" } ] } @@ -394,21 +394,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(35,10)-(35,22)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/source-map/lexical/element_2", @@ -450,6 +435,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,10)-(35,22)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/source-map/type-property-lexical-info/element_0", @@ -480,21 +480,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user" - } - ], - "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/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/source-map/lexical/element_3", @@ -549,6 +534,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#required-param-payload": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/source-map/required-param-payload/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/shapes-with-items.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/shapes-with-items.flattened.jsonld index 68384abe72..96ef4723a6 100644 --- a/amf-cli/shared/src/test/resources/upanddown/shapes-with-items.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/shapes-with-items.flattened.jsonld @@ -166,14 +166,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/server/my.api.com%2Fv1/source-map/host-lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/server/my.api.com%2Fv1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/server/my.api.com%2Fv1/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/server/my.api.com%2Fv1/source-map/host-lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -309,14 +309,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(7,48)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/server/my.api.com%2Fv1/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/server/my.api.com%2Fv1/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,2)-(17,22)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/server/my.api.com%2Fv1/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/server/my.api.com%2Fv1/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(17,2)-(17,22)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/server/my.api.com%2Fv1/source-map/virtual-element/element_0", @@ -382,11 +382,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/source-map/body-parameter/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/source-map/lexical/element_3" @@ -401,6 +396,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/source-map/body-parameter/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#required-param-payload": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/source-map/required-param-payload/element_0" @@ -443,11 +443,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/source-map/parameter-binding-in-body-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/source-map/lexical/element_2" @@ -459,17 +454,17 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/source-map/parameter-binding-in-body-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/source-map/type-property-lexical-info/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", @@ -490,6 +485,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user", "http://a.ml/vocabularies/document-source-maps#value": "[(33,8)-(44,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/source-map/required-param-payload/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user", @@ -500,11 +500,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items/source-map/lexical/element_1" @@ -512,13 +507,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user", - "http://a.ml/vocabularies/document-source-maps#value": "[(35,10)-(35,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", @@ -535,14 +530,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(38,10)-(43,11)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/source-map/parameter-binding-in-body-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,12)-(39,18)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(35,10)-(35,22)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(41,14)-(41,20)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,12)-(39,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items/source-map/lexical/element_1", @@ -554,6 +549,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(41,14)-(41,30)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json#/web-api/endpoint/%2Fuser%2F%7Bid%7D/payload/user/array/user/scalar/items", + "http://a.ml/vocabularies/document-source-maps#value": "[(41,14)-(41,20)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/shapes-with-items.json", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/simple_example_type.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/simple_example_type.resolved.expanded.jsonld index 6c09b42a3f..bbc4db423f 100644 --- a/amf-cli/shared/src/test/resources/upanddown/simple_example_type.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/simple_example_type.resolved.expanded.jsonld @@ -140,12 +140,12 @@ } ], "smaps": { + "virtual-element": { + "#15": "true" + }, "lexical": { "apiContract:payload": "[(14,4)-(16,23)]", "#15": "[(14,9)-(16,23)]" - }, - "virtual-element": { - "#15": "true" } } } @@ -388,12 +388,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#3": "[(2,0)-(2,4)]" + }, "lexical": { "apiContract:examples": "[(5,0)-(6,10)]", "#3": "[(2,0)-(6,10)]" - }, - "type-property-lexical-info": { - "#3": "[(2,0)-(2,4)]" } } } @@ -602,21 +602,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#9": "amf://id#3" - }, "type-property-lexical-info": { "#9": "[(2,0)-(2,4)]" }, - "lexical": { - "apiContract:examples": "[(5,0)-(6,10)]", - "#9": "[(2,0)-(6,10)]" + "resolved-link-target": { + "#9": "amf://id#3" + }, + "declared-element": { + "#9": "" }, "resolved-link": { "#9": "amf://id#10" }, - "declared-element": { - "#9": "" + "lexical": { + "apiContract:examples": "[(5,0)-(6,10)]", + "#9": "[(2,0)-(6,10)]" } } } diff --git a/amf-cli/shared/src/test/resources/upanddown/simple_example_type.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/simple_example_type.resolved.flattened.jsonld index 94c8c77c25..fa2761499a 100644 --- a/amf-cli/shared/src/test/resources/upanddown/simple_example_type.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/simple_example_type.resolved.flattened.jsonld @@ -114,12 +114,12 @@ } ], "smaps": { + "virtual-element": { + "#15": "true" + }, "lexical": { "apiContract:payload": "[(14,4)-(16,23)]", "#15": "[(14,9)-(16,23)]" - }, - "virtual-element": { - "#15": "true" } } }, @@ -165,21 +165,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#9": "amf://id#3" - }, "type-property-lexical-info": { "#9": "[(2,0)-(2,4)]" }, - "lexical": { - "apiContract:examples": "[(5,0)-(6,10)]", - "#9": "[(2,0)-(6,10)]" + "resolved-link-target": { + "#9": "amf://id#3" + }, + "declared-element": { + "#9": "" }, "resolved-link": { "#9": "amf://id#10" }, - "declared-element": { - "#9": "" + "lexical": { + "apiContract:examples": "[(5,0)-(6,10)]", + "#9": "[(2,0)-(6,10)]" } } }, @@ -371,12 +371,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#3": "[(2,0)-(2,4)]" + }, "lexical": { "apiContract:examples": "[(5,0)-(6,10)]", "#3": "[(2,0)-(6,10)]" - }, - "type-property-lexical-info": { - "#3": "[(2,0)-(2,4)]" } } }, diff --git a/amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json.expanded.jsonld index d97c9d38ea..7311e1b03e 100644 --- a/amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json.expanded.jsonld @@ -363,21 +363,6 @@ "@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/traits-resource-types.json#/declares/trait/secured/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured" - } - ], - "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/traits-resource-types.json#/declares/trait/secured/source-map/lexical/element_3", @@ -431,6 +416,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -909,21 +909,6 @@ "@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/traits-resource-types.json#/declares/trait/paged/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged" - } - ], - "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/traits-resource-types.json#/declares/trait/paged/source-map/lexical/element_3", @@ -977,6 +962,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1842,21 +1842,6 @@ "@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/traits-resource-types.json#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection" - } - ], - "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/traits-resource-types.json#/declares/resourceType/searchableCollection/source-map/lexical/element_3", @@ -1910,6 +1895,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -2853,21 +2853,6 @@ "@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/traits-resource-types.json#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection" - } - ], - "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/traits-resource-types.json#/declares/resourceType/searchableCollection/source-map/lexical/element_3", @@ -2921,6 +2906,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3222,21 +3222,6 @@ "@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/traits-resource-types.json#/declares/trait/secured/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured" - } - ], - "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/traits-resource-types.json#/declares/trait/secured/source-map/lexical/element_3", @@ -3290,6 +3275,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3591,21 +3591,6 @@ "@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/traits-resource-types.json#/declares/trait/paged/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged" - } - ], - "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/traits-resource-types.json#/declares/trait/paged/source-map/lexical/element_3", @@ -3659,6 +3644,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3823,21 +3823,6 @@ "@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/traits-resource-types.json#/declares/trait/descr/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/descr" - } - ], - "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/traits-resource-types.json#/declares/trait/descr/source-map/lexical/element_2", @@ -3878,6 +3863,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/descr/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/descr" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json.flattened.jsonld index 7302f479b7..5493c01612 100644 --- a/amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json.flattened.jsonld @@ -509,11 +509,6 @@ "@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/traits-resource-types.json#/declares/resourceType/searchableCollection/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection/source-map/lexical/element_3" @@ -527,6 +522,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection/source-map/declared-element/element_0" + } ] }, { @@ -629,11 +629,6 @@ "@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/traits-resource-types.json#/declares/trait/secured/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured/source-map/lexical/element_3" @@ -647,6 +642,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured/source-map/declared-element/element_0" + } ] }, { @@ -715,11 +715,6 @@ "@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/traits-resource-types.json#/declares/trait/paged/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged/source-map/lexical/element_3" @@ -733,6 +728,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged/source-map/declared-element/element_0" + } ] }, { @@ -825,11 +825,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#dataNode", @@ -850,6 +845,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection", "http://a.ml/vocabularies/document-source-maps#value": "[(36,4)-(47,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/resourceType/searchableCollection", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/web-api/endpoint/%2Fbooks/extends/searchableCollection/variable/queryParamName/scalar_1/source-map", "@type": [ @@ -944,11 +944,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#dataNode", @@ -969,6 +964,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured", "http://a.ml/vocabularies/document-source-maps#value": "[(50,4)-(56,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/secured", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/web-api/endpoint/%2Fbooks/supportedOperation/get/extends/secured/variable/tokenName/scalar_1/source-map", "@type": [ @@ -1034,11 +1034,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#dataNode", @@ -1059,6 +1054,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged", "http://a.ml/vocabularies/document-source-maps#value": "[(57,4)-(63,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/paged", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/web-api/endpoint/%2Fbooks/supportedOperation/get/extends/paged/variable/maxPages/scalar_1/source-map", "@type": [ @@ -1846,11 +1846,6 @@ "@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/traits-resource-types.json#/declares/trait/descr/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/descr/source-map/lexical/element_2" @@ -1861,6 +1856,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/descr/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/descr/source-map/declared-element/element_0" + } ] }, { @@ -1902,11 +1902,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/descr/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/descr", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/descr/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -1922,6 +1917,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/descr", "http://a.ml/vocabularies/document-source-maps#value": "[(64,4)-(66,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/descr/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/descr", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/traits-resource-types.json#/declares/trait/descr/object_1/description/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/type-facets.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/type-facets.json.expanded.jsonld index 7a698c78d1..75ec4f4667 100644 --- a/amf-cli/shared/src/test/resources/upanddown/type-facets.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/type-facets.json.expanded.jsonld @@ -179,9 +179,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates" @@ -189,35 +189,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,10)-(12,16)]" + "@value": "[(11,8)-(13,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,8)-(13,9)]" + "@value": "[(12,10)-(12,27)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,10)-(12,27)]" + "@value": "[(12,10)-(12,16)]" } ] } @@ -314,9 +314,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays" @@ -324,35 +324,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,10)-(15,16)]" + "@value": "[(14,8)-(16,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,8)-(16,9)]" + "@value": "[(15,10)-(15,27)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,10)-(15,27)]" + "@value": "[(15,10)-(15,16)]" } ] } @@ -417,21 +417,6 @@ "@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/type-facets.json#/declares/scalar/CustomDate/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate" - } - ], - "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/type-facets.json#/declares/scalar/CustomDate/source-map/lexical/element_3", @@ -486,6 +471,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/source-map/type-property-lexical-info/element_0", @@ -618,21 +618,6 @@ "@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/type-facets.json#/declares/scalar/PossibleMeetingDate/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate" - } - ], - "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/type-facets.json#/declares/scalar/PossibleMeetingDate/source-map/lexical/element_3", @@ -687,6 +672,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate/source-map/type-property-lexical-info/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/type-facets.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/type-facets.json.flattened.jsonld index 0c7f45edd5..8964d7f24f 100644 --- a/amf-cli/shared/src/test/resources/upanddown/type-facets.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/type-facets.json.flattened.jsonld @@ -202,11 +202,6 @@ "@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/type-facets.json#/declares/scalar/CustomDate/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/source-map/lexical/element_3" @@ -221,6 +216,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/source-map/type-property-lexical-info/element_0" @@ -253,11 +253,6 @@ "@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/type-facets.json#/declares/scalar/PossibleMeetingDate/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate/source-map/lexical/element_3" @@ -272,6 +267,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate/source-map/type-property-lexical-info/element_0" @@ -352,11 +352,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#format", @@ -377,6 +372,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate", "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(20,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate", @@ -401,11 +401,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#format", @@ -426,6 +421,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate", "http://a.ml/vocabularies/document-source-maps#value": "[(21,4)-(25,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate", @@ -436,11 +436,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates/source-map/lexical/element_1" @@ -448,6 +443,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -465,11 +465,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_1" @@ -477,6 +472,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -504,11 +504,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/PossibleMeetingDate/customDomainProperties/amf-facet-noHolidays/scalar_1", "http://a.ml/vocabularies/document-source-maps#value": "[(22,32)-(22,36)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(12,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates", @@ -520,9 +515,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(12,27)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,10)-(15,16)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/onlyFutureDates/scalar/onlyFutureDates", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(12,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_1", @@ -533,6 +528,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(15,10)-(15,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/type-facets.json#/declares/scalar/CustomDate/customShapePropertyDefinitions/property/noHolidays/scalar/noHolidays", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,10)-(15,16)]" } ] } 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 69ff4362ba..b8a14cf2f0 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 @@ -44,9 +44,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -54,14 +54,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,2)-(9,27)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#urlTemplate" @@ -69,7 +69,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(9,2)-(9,27)]" } ] } @@ -253,9 +253,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name" @@ -263,35 +263,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(34,18)-(34,24)]" + "@value": "[(33,16)-(35,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(33,16)-(35,17)]" + "@value": "[(34,18)-(34,34)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(34,18)-(34,34)]" + "@value": "[(34,18)-(34,24)]" } ] } @@ -388,9 +388,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName" @@ -398,35 +398,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,18)-(37,24)]" + "@value": "[(36,16)-(38,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,16)-(38,17)]" + "@value": "[(37,18)-(37,34)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,18)-(37,34)]" + "@value": "[(37,18)-(37,24)]" } ] } @@ -552,9 +552,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city" @@ -562,35 +562,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(43,22)-(43,28)]" + "@value": "[(42,20)-(44,21)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(42,20)-(44,21)]" + "@value": "[(43,22)-(43,38)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(43,22)-(43,38)]" + "@value": "[(43,22)-(43,28)]" } ] } @@ -687,9 +687,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street" @@ -697,35 +697,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(46,22)-(46,28)]" + "@value": "[(45,20)-(47,21)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(45,20)-(47,21)]" + "@value": "[(46,22)-(46,38)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(46,22)-(46,38)]" + "@value": "[(46,22)-(46,28)]" } ] } @@ -822,9 +822,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number" @@ -832,35 +832,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(49,22)-(49,28)]" + "@value": "[(48,20)-(50,21)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(48,20)-(50,21)]" + "@value": "[(49,22)-(49,39)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(49,22)-(49,39)]" + "@value": "[(49,22)-(49,28)]" } ] } @@ -957,9 +957,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal" @@ -967,35 +967,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(52,22)-(52,28)]" + "@value": "[(51,20)-(53,21)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,20)-(53,21)]" + "@value": "[(52,22)-(52,39)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(52,22)-(52,39)]" + "@value": "[(52,22)-(52,28)]" } ] } @@ -1286,9 +1286,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address" @@ -1296,35 +1296,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,16)-(68,17)]" + "@value": "[(40,18)-(40,24)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(41,18)-(54,19)]" + "@value": "[(39,16)-(68,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,18)-(40,24)]" + "@value": "[(41,18)-(54,19)]" } ] } @@ -1424,6 +1424,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(71,12)-(71,24)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/source-map/lexical/element_2", @@ -1464,21 +1479,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(71,12)-(71,24)]" - } - ] - } ] } ] @@ -1490,21 +1490,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName" - } - ], - "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/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/source-map/lexical/element_2", @@ -1545,6 +1530,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } ] } ] @@ -1616,9 +1616,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card" @@ -1626,35 +1626,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(81,18)-(81,24)]" + "@value": "[(80,16)-(82,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(80,16)-(82,17)]" + "@value": "[(81,18)-(81,35)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(81,18)-(81,35)]" + "@value": "[(81,18)-(81,24)]" } ] } @@ -1751,9 +1751,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city" @@ -1761,35 +1761,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(84,18)-(84,24)]" + "@value": "[(83,16)-(85,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(83,16)-(85,17)]" + "@value": "[(84,18)-(84,34)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(84,18)-(84,34)]" + "@value": "[(84,18)-(84,24)]" } ] } @@ -1886,9 +1886,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street" @@ -1896,35 +1896,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,18)-(87,24)]" + "@value": "[(86,16)-(88,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(86,16)-(88,17)]" + "@value": "[(87,18)-(87,34)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,18)-(87,34)]" + "@value": "[(87,18)-(87,24)]" } ] } @@ -2021,9 +2021,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number" @@ -2031,35 +2031,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(90,18)-(90,24)]" + "@value": "[(89,16)-(91,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(89,16)-(91,17)]" + "@value": "[(90,18)-(90,35)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(90,18)-(90,35)]" + "@value": "[(90,18)-(90,24)]" } ] } @@ -2156,9 +2156,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal" @@ -2166,35 +2166,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(93,18)-(93,24)]" + "@value": "[(92,16)-(94,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(92,16)-(94,17)]" + "@value": "[(93,18)-(93,35)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(93,18)-(93,35)]" + "@value": "[(93,18)-(93,24)]" } ] } @@ -2488,9 +2488,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema" @@ -2498,35 +2498,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(77,12)-(110,13)]" + "@value": "[(78,14)-(78,20)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(79,14)-(95,15)]" + "@value": "[(77,12)-(110,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(78,14)-(78,20)]" + "@value": "[(79,14)-(95,15)]" } ] } 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 8e400a9ee2..b2a9515359 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 @@ -119,14 +119,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#host-lexical": [ + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + "http://a.ml/vocabularies/document-source-maps#host-lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0" } ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ @@ -225,14 +225,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(14,3)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,27)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/server/api.example.com%2Fpath/source-map/synthesized-field/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/server/api.example.com%2Fpath/source-map/host-lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#urlTemplate", - "http://a.ml/vocabularies/document-source-maps#value": "true" + "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(9,27)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/server/api.example.com%2Fpath/source-map/virtual-element/element_0", @@ -415,11 +415,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/source-map/body-parameter/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/source-map/lexical/element_2" @@ -430,6 +425,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/source-map/body-parameter/element_0" + } ] }, { @@ -596,6 +596,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/source-map/parameter-binding-in-body-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/source-map/lexical/element_2" @@ -606,18 +611,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/source-map/parameter-binding-in-body-lexical-info/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -633,6 +628,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName", "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(72,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card", "@type": [ @@ -814,6 +814,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/source-map/lexical/element_1" @@ -821,11 +826,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -985,6 +985,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName", "http://a.ml/vocabularies/document-source-maps#value": "[(31,14)-(31,20)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName", + "http://a.ml/vocabularies/document-source-maps#value": "[(71,12)-(71,24)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -1000,11 +1005,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName", "http://a.ml/vocabularies/document-source-maps#value": "[(30,12)-(70,13)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName", - "http://a.ml/vocabularies/document-source-maps#value": "[(71,12)-(71,24)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card", "@type": [ @@ -1246,6 +1246,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(78,14)-(78,20)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema", @@ -1256,21 +1261,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(79,14)-(95,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(78,14)-(78,20)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name/source-map/lexical/element_1" @@ -1278,6 +1273,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1295,11 +1295,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName/source-map/lexical/element_1" @@ -1307,6 +1302,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1475,6 +1475,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/source-map/lexical/element_1" @@ -1482,11 +1487,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -1504,11 +1504,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/lexical/element_1" @@ -1516,6 +1511,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1533,11 +1533,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/lexical/element_1" @@ -1545,6 +1540,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1562,11 +1562,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/lexical/element_1" @@ -1574,6 +1569,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1591,11 +1591,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/lexical/element_1" @@ -1603,6 +1598,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1620,11 +1620,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/lexical/element_1" @@ -1632,6 +1627,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1689,11 +1689,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/dependencies/dependency/number", "http://a.ml/vocabularies/document-source-maps#value": "[(106,16)-(108,17)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(34,18)-(34,24)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name", @@ -1705,9 +1700,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(34,18)-(34,34)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName", - "http://a.ml/vocabularies/document-source-maps#value": "[(37,18)-(37,24)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(34,18)-(34,24)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName/source-map/lexical/element_1", @@ -1719,6 +1714,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(37,18)-(37,34)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/lastName/scalar/lastName", + "http://a.ml/vocabularies/document-source-maps#value": "[(37,18)-(37,24)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city", "@type": [ @@ -1923,6 +1923,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address", + "http://a.ml/vocabularies/document-source-maps#value": "[(40,18)-(40,24)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address", @@ -1933,16 +1938,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(41,18)-(54,19)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address", - "http://a.ml/vocabularies/document-source-maps#value": "[(40,18)-(40,24)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card", - "http://a.ml/vocabularies/document-source-maps#value": "[(81,18)-(81,24)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card", @@ -1954,9 +1949,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(81,18)-(81,35)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city", - "http://a.ml/vocabularies/document-source-maps#value": "[(84,18)-(84,24)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/credit_card/scalar/credit_card", + "http://a.ml/vocabularies/document-source-maps#value": "[(81,18)-(81,24)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/lexical/element_1", @@ -1969,9 +1964,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(84,18)-(84,34)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street", - "http://a.ml/vocabularies/document-source-maps#value": "[(87,18)-(87,24)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/city/scalar/city", + "http://a.ml/vocabularies/document-source-maps#value": "[(84,18)-(84,24)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/lexical/element_1", @@ -1984,9 +1979,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(87,18)-(87,34)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number", - "http://a.ml/vocabularies/document-source-maps#value": "[(90,18)-(90,24)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/street/scalar/street", + "http://a.ml/vocabularies/document-source-maps#value": "[(87,18)-(87,24)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/lexical/element_1", @@ -1999,9 +1994,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(90,18)-(90,35)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal", - "http://a.ml/vocabularies/document-source-maps#value": "[(93,18)-(93,24)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/number/scalar/number", + "http://a.ml/vocabularies/document-source-maps#value": "[(90,18)-(90,24)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/lexical/element_1", @@ -2013,16 +2008,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(93,18)-(93,35)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/application%2Framl/shape/schema/property/property/postal/scalar/postal", + "http://a.ml/vocabularies/document-source-maps#value": "[(93,18)-(93,24)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city/source-map/lexical/element_1" @@ -2030,6 +2025,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2047,11 +2047,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street/source-map/lexical/element_1" @@ -2059,6 +2054,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2076,11 +2076,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number/source-map/lexical/element_1" @@ -2088,6 +2083,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2105,11 +2105,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/lexical/element_1" @@ -2117,6 +2112,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2174,11 +2174,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/dependencies/dependency/number", "http://a.ml/vocabularies/document-source-maps#value": "[(64,20)-(66,21)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city", - "http://a.ml/vocabularies/document-source-maps#value": "[(43,22)-(43,28)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city", @@ -2190,9 +2185,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(43,22)-(43,38)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street", - "http://a.ml/vocabularies/document-source-maps#value": "[(46,22)-(46,28)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/city/scalar/city", + "http://a.ml/vocabularies/document-source-maps#value": "[(43,22)-(43,28)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street/source-map/lexical/element_1", @@ -2205,9 +2200,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(46,22)-(46,38)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number", - "http://a.ml/vocabularies/document-source-maps#value": "[(49,22)-(49,28)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/street/scalar/street", + "http://a.ml/vocabularies/document-source-maps#value": "[(46,22)-(46,28)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number/source-map/lexical/element_1", @@ -2220,9 +2215,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(49,22)-(49,39)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal", - "http://a.ml/vocabularies/document-source-maps#value": "[(52,22)-(52,28)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/number/scalar/number", + "http://a.ml/vocabularies/document-source-maps#value": "[(49,22)-(49,28)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/lexical/element_1", @@ -2234,6 +2229,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(52,22)-(52,39)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/endpoint/%2Flevel-zero/supportedOperation/get/Some%20title/expects/request/payload/someName/shape/someName/property/property/address/shape/address/property/property/postal/scalar/postal", + "http://a.ml/vocabularies/document-source-maps#value": "[(52,22)-(52,28)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json", "@type": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/types-facet.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/types-facet.json.expanded.jsonld index 14fb15a821..e22c447af1 100644 --- a/amf-cli/shared/src/test/resources/upanddown/types-facet.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/types-facet.json.expanded.jsonld @@ -394,21 +394,6 @@ "@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/types-facet.json#/declares/scalar/ScalarTest/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest" - } - ], - "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/types-facet.json#/declares/scalar/ScalarTest/source-map/lexical/element_8", @@ -528,6 +513,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest/source-map/type-property-lexical-info/element_0", @@ -601,21 +601,6 @@ "@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/types-facet.json#/declares/scalar/IntegerTest/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest" - } - ], - "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/types-facet.json#/declares/scalar/IntegerTest/source-map/lexical/element_8", @@ -735,6 +720,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest/source-map/type-property-lexical-info/element_0", @@ -908,21 +908,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(42,10)-(42,16)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/lexical/element_2", @@ -963,6 +948,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(42,10)-(42,16)]" + } + ] + } ] } ] @@ -1376,21 +1376,6 @@ "@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/types-facet.json#/declares/shape/ObjectTest/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest" - } - ], - "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/types-facet.json#/declares/shape/ObjectTest/source-map/lexical/element_14", @@ -1588,6 +1573,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/source-map/type-property-lexical-info/element_0", diff --git a/amf-cli/shared/src/test/resources/upanddown/types-facet.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/types-facet.json.flattened.jsonld index b075ce25e3..e875ac1718 100644 --- a/amf-cli/shared/src/test/resources/upanddown/types-facet.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/types-facet.json.flattened.jsonld @@ -226,11 +226,6 @@ "@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/types-facet.json#/declares/scalar/ScalarTest/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest/source-map/lexical/element_8" @@ -260,6 +255,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest/source-map/lexical/element_7" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest/source-map/type-property-lexical-info/element_0" @@ -271,11 +271,6 @@ "@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/types-facet.json#/declares/scalar/IntegerTest/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest/source-map/lexical/element_8" @@ -305,6 +300,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest/source-map/lexical/element_7" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest/source-map/type-property-lexical-info/element_0" @@ -412,11 +412,6 @@ "@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/types-facet.json#/declares/shape/ObjectTest/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/source-map/lexical/element_14" @@ -464,6 +459,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/source-map/lexical/element_13" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/source-map/type-property-lexical-info/element_0" @@ -529,11 +529,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest/source-map/lexical/element_8", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#in", @@ -580,14 +575,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(9,4)-(9,16)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest", + "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(10,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest/source-map/lexical/element_8", @@ -634,6 +629,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#maxExclusive", "http://a.ml/vocabularies/document-source-maps#value": "[(25,6)-(25,31)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/IntegerTest", @@ -778,11 +778,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/source-map/lexical/element_14", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#documentation", @@ -858,6 +853,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", "http://a.ml/vocabularies/document-source-maps#value": "[(33,6)-(35,7)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest", @@ -936,11 +936,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/lexical/element_2" @@ -951,6 +946,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1072,11 +1072,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/scalar/ScalarTest/in/scalar_2", "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,12)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(42,10)-(42,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1092,6 +1087,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name", "http://a.ml/vocabularies/document-source-maps#value": "[(41,8)-(44,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(42,10)-(42,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-facet.json#/declares/shape/ObjectTest/object_1/name_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", diff --git a/amf-cli/shared/src/test/resources/upanddown/union_arrays.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/union_arrays.resolved.expanded.jsonld index ef2759ac36..da729d298b 100644 --- a/amf-cli/shared/src/test/resources/upanddown/union_arrays.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/union_arrays.resolved.expanded.jsonld @@ -72,18 +72,18 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(4,2)-(4,9)]", "#1": "[(4,2)-(5,0)]" }, "resolved-link": { "#1": "amf://id#3" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, + "declared-element": { + "#1": "" } } }, @@ -190,18 +190,18 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(4,2)-(4,9)]", "#1": "[(4,2)-(5,0)]" }, "resolved-link": { "#1": "amf://id#3" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, + "declared-element": { + "#1": "" } } } @@ -224,11 +224,11 @@ } ], "smaps": { - "type-property-lexical-info": { - "#6": "[(8,8)-(8,12)]" - }, "lexical": { "#6": "[(7,6)-(10,0)]" + }, + "type-property-lexical-info": { + "#6": "[(8,8)-(8,12)]" } } } @@ -264,12 +264,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#4": "" + }, "lexical": { "shacl:name": "[(5,2)-(5,15)]", "#4": "[(5,2)-(10,0)]" - }, - "declared-element": { - "#4": "" } } }, @@ -366,18 +366,18 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(4,2)-(4,9)]", "#1": "[(4,2)-(5,0)]" }, "resolved-link": { "#1": "amf://id#3" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, + "declared-element": { + "#1": "" } } } @@ -420,12 +420,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#10": "" + }, "lexical": { "shacl:name": "[(10,2)-(10,17)]", "#10": "[(10,2)-(13,39)]" - }, - "declared-element": { - "#10": "" } } } diff --git a/amf-cli/shared/src/test/resources/upanddown/union_arrays.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/union_arrays.resolved.flattened.jsonld index 6e56adc2c8..58c6e012d8 100644 --- a/amf-cli/shared/src/test/resources/upanddown/union_arrays.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/union_arrays.resolved.flattened.jsonld @@ -62,18 +62,18 @@ ], "shacl:name": "Product", "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(4,2)-(4,9)]", "#1": "[(4,2)-(5,0)]" }, "resolved-link": { "#1": "amf://id#3" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, + "declared-element": { + "#1": "" } } }, @@ -97,12 +97,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#4": "" + }, "lexical": { "shacl:name": "[(5,2)-(5,15)]", "#4": "[(5,2)-(10,0)]" - }, - "declared-element": { - "#4": "" } } }, @@ -126,12 +126,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#10": "" + }, "lexical": { "shacl:name": "[(10,2)-(10,17)]", "#10": "[(10,2)-(13,39)]" - }, - "declared-element": { - "#10": "" } } }, @@ -207,11 +207,11 @@ }, "shacl:name": "complex", "smaps": { - "type-property-lexical-info": { - "#6": "[(8,8)-(8,12)]" - }, "lexical": { "#6": "[(7,6)-(10,0)]" + }, + "type-property-lexical-info": { + "#6": "[(8,8)-(8,12)]" } } }, diff --git a/amf-cli/shared/src/test/resources/upanddown/with_references_resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/with_references_resolved.expanded.jsonld index b3190b2de2..c29587eab5 100644 --- a/amf-cli/shared/src/test/resources/upanddown/with_references_resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/with_references_resolved.expanded.jsonld @@ -320,9 +320,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" @@ -330,14 +330,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(31,10)-(35,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema" @@ -345,7 +345,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(31,10)-(35,0)]" } ] } @@ -517,21 +517,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(16,6)-(16,10)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -572,6 +557,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,6)-(16,10)]" + } + ] + } ] } ] @@ -1049,21 +1049,6 @@ "@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/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20" - } - ], - "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/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/source-map/lexical/element_5", @@ -1143,6 +1128,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1706,21 +1706,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(16,6)-(16,10)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -1761,6 +1746,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,6)-(16,10)]" + } + ] + } ] } ] @@ -2238,21 +2238,6 @@ "@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/with_references.raml#/declares/scheme/oauth20/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/declares/scheme/oauth20" - } - ], - "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/with_references.raml#/declares/scheme/oauth20/source-map/lexical/element_5", @@ -2332,6 +2317,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/declares/scheme/oauth20/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/declares/scheme/oauth20" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -2361,9 +2361,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A" @@ -2371,35 +2371,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(7,2)-(9,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(9,0)]" + "@value": "[(8,4)-(9,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,4)-(9,0)]" + "@value": "" } ] } @@ -2447,9 +2447,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B" @@ -2457,17 +2457,15 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(3,0)-(3,12)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -2475,17 +2473,19 @@ "@value": "[(3,0)-(3,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(3,0)-(3,12)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/upanddown/with_references_resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/with_references_resolved.flattened.jsonld index ee0ccb70f7..3c68454e41 100644 --- a/amf-cli/shared/src/test/resources/upanddown/with_references_resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/with_references_resolved.flattened.jsonld @@ -606,14 +606,14 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } ] }, @@ -708,11 +708,6 @@ "@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/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/source-map/lexical/element_5" @@ -732,6 +727,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/source-map/lexical/element_4" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/source-map/declared-element/element_0" + } ] }, { @@ -831,14 +831,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(31,10)-(35,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(31,10)-(35,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema", @@ -978,11 +978,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#response", @@ -1013,16 +1008,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#header", "http://a.ml/vocabularies/document-source-maps#value": "[(13,2)-(17,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/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/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/lexical/element_1" @@ -1031,6 +1026,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/type-property-lexical-info/element_0" @@ -1062,11 +1062,6 @@ "@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/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/lexical/element_1" @@ -1075,6 +1070,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/type-property-lexical-info/element_0" @@ -1106,11 +1106,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2" @@ -1121,6 +1116,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1238,11 +1238,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#authorizationGrant", "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(9,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A", @@ -1254,14 +1249,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(9,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(8,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B", - "http://a.ml/vocabularies/document-source-maps#value": "" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/a/scalar/A", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(8,8)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/lexical/element_1", @@ -1274,14 +1269,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(3,0)-(3,12)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B", - "http://a.ml/vocabularies/document-source-maps#value": "[(3,0)-(3,4)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(16,10)]" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/property/property/b/scalar/B", + "http://a.ml/vocabularies/document-source-maps#value": "[(3,0)-(3,4)]" }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema/source-map/lexical/element_2", @@ -1298,6 +1293,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(14,4)-(17,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/header/parameter/header/Authorization/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,6)-(16,10)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/security/default-requirement_1/schemes/oauth20/scheme/oauth20/parameter/parameter/query/access_token/scalar/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1391,11 +1391,6 @@ "@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/with_references.raml#/declares/scheme/oauth20/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/declares/scheme/oauth20/source-map/lexical/element_5" @@ -1415,13 +1410,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/declares/scheme/oauth20/source-map/lexical/element_4" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/declares/scheme/oauth20/source-map/declared-element/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/declares/scheme/oauth20/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/declares/scheme/oauth20", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/declares/scheme/oauth20/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#response", @@ -1451,6 +1446,11 @@ "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/declares/scheme/oauth20/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#header", "http://a.ml/vocabularies/document-source-maps#value": "[(13,2)-(17,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/declares/scheme/oauth20/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/with_references.raml#/declares/scheme/oauth20", + "http://a.ml/vocabularies/document-source-maps#value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.expanded.jsonld index 95f5ed4758..b8b5ef059b 100644 --- a/amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.expanded.jsonld @@ -232,9 +232,9 @@ ] } ], - "sourcemaps:lexical": [ + "sourcemaps:declared-element": [ { - "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/lexical/element_0", + "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/declared-element/element_0", "sourcemaps:element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.raml#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml" @@ -242,14 +242,14 @@ ], "sourcemaps:value": [ { - "@value": "[(5,4)-(6,0)]" + "@value": "" } ] } ], - "sourcemaps:declared-element": [ + "sourcemaps:lexical": [ { - "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/declared-element/element_0", + "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/lexical/element_0", "sourcemaps:element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.raml#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml" @@ -257,7 +257,7 @@ ], "sourcemaps:value": [ { - "@value": "" + "@value": "[(5,4)-(6,0)]" } ] } @@ -551,9 +551,9 @@ ] } ], - "sourcemaps:lexical": [ + "sourcemaps:declared-element": [ { - "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/lexical/element_0", + "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/declared-element/element_0", "sourcemaps:element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.raml#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml" @@ -561,14 +561,14 @@ ], "sourcemaps:value": [ { - "@value": "[(5,4)-(6,0)]" + "@value": "" } ] } ], - "sourcemaps:declared-element": [ + "sourcemaps:lexical": [ { - "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/declared-element/element_0", + "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/lexical/element_0", "sourcemaps:element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.raml#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml" @@ -576,7 +576,7 @@ ], "sourcemaps:value": [ { - "@value": "" + "@value": "[(5,4)-(6,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.flattened.jsonld index 59f8c84639..fa1c0536f3 100644 --- a/amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.flattened.jsonld @@ -390,14 +390,14 @@ "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/synthesized-field/element_0" } ], - "sourcemaps:lexical": [ + "sourcemaps:declared-element": [ { - "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/lexical/element_0" + "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/declared-element/element_0" } ], - "sourcemaps:declared-element": [ + "sourcemaps:lexical": [ { - "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/declared-element/element_0" + "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/lexical/element_0" } ] }, @@ -434,14 +434,14 @@ "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/synthesized-field/element_0" } ], - "sourcemaps:lexical": [ + "sourcemaps:declared-element": [ { - "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/lexical/element_0" + "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/declared-element/element_0" } ], - "sourcemaps:declared-element": [ + "sourcemaps:lexical": [ { - "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/declared-element/element_0" + "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/lexical/element_0" } ] }, @@ -485,14 +485,14 @@ "sourcemaps:value": "true" }, { - "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/lexical/element_0", + "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/declared-element/element_0", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.raml#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml", - "sourcemaps:value": "[(5,4)-(6,0)]" + "sourcemaps:value": "" }, { - "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/declared-element/element_0", + "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/lexical/element_0", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.raml#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml", - "sourcemaps:value": "" + "sourcemaps:value": "[(5,4)-(6,0)]" }, { "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/examples/example/default-example/source-map", @@ -529,14 +529,14 @@ "sourcemaps:value": "true" }, { - "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/lexical/element_0", + "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/declared-element/element_0", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.raml#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml", - "sourcemaps:value": "[(5,4)-(6,0)]" + "sourcemaps:value": "" }, { - "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/declared-element/element_0", + "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/source-map/lexical/element_0", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/validations/api-with-xml-examples/api.raml#/web-api/endpoint/%2Fcontacts/supportedOperation/post/returns/resp/201/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml", - "sourcemaps:value": "" + "sourcemaps:value": "[(5,4)-(6,0)]" }, { "@id": "#/web-api/endpoint/%2Fcontacts/supportedOperation/get/returns/resp/200/payload/application%2Fatom%2Bxml/schema/application%2Fatom%2Bxml/examples/example/default-example/source-map/synthesized-field/element_1", diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.expanded.jsonld index a929526261..14fbaa6b9b 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.expanded.jsonld @@ -430,9 +430,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" @@ -440,35 +440,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,14)-(30,18)]" + "@value": "[(29,12)-(31,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,12)-(31,0)]" + "@value": "[(30,14)-(31,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,14)-(31,0)]" + "@value": "[(30,14)-(30,18)]" } ] } @@ -553,9 +553,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" @@ -563,35 +563,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,8)-(31,0)]" + "@value": "[(27,10)-(27,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,10)-(31,0)]" + "@value": "[(26,8)-(31,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,10)-(27,14)]" + "@value": "[(28,10)-(31,0)]" } ] } @@ -1809,9 +1809,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" @@ -1819,35 +1819,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(74,10)-(74,14)]" + "@value": "[(73,8)-(75,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(73,8)-(75,0)]" + "@value": "[(74,10)-(75,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(74,10)-(75,0)]" + "@value": "[(74,10)-(74,14)]" } ] } @@ -2784,9 +2784,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type" @@ -2794,35 +2794,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(98,10)-(98,14)]" + "@value": "[(97,8)-(99,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(97,8)-(99,0)]" + "@value": "[(98,10)-(99,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(98,10)-(99,0)]" + "@value": "[(98,10)-(98,14)]" } ] } @@ -2922,6 +2922,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market" + } + ], + "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/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/source-map/lexical/element_2", @@ -2962,21 +2977,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -3795,6 +3795,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData" + } + ], + "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/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/source-map/lexical/element_4", @@ -3861,21 +3876,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.flattened.jsonld index f19f2595ce..d1413d6476 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.flattened.jsonld @@ -1382,6 +1382,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1" @@ -1389,11 +1394,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -1592,11 +1592,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -1604,6 +1599,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1732,6 +1732,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,10)-(27,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", @@ -1742,11 +1747,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(31,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,10)-(27,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/examples/example/default-example_2/object_1/userId/source-map", "@type": [ @@ -1839,11 +1839,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#exampleHeader", "http://a.ml/vocabularies/document-source-maps#value": "[(36,14)-(37,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(74,10)-(74,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", @@ -1854,6 +1849,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(74,10)-(75,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(74,10)-(74,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/ibmmq-message/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", @@ -1894,11 +1894,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1" @@ -1906,6 +1901,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1963,11 +1963,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/headerExamples/example/default-example_1/object_1/exampleHeader", "http://a.ml/vocabularies/document-source-maps#value": "[(36,29)-(36,41)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,14)-(30,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", @@ -1978,6 +1973,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(30,14)-(31,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,14)-(30,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml", "http://a.ml/vocabularies/document#declares": [ @@ -2094,6 +2094,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/source-map/lexical/element_2" @@ -2104,11 +2109,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/source-map/declared-element/element_0" - } ] }, { @@ -2177,6 +2177,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/source-map/virtual-element/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/source-map/lexical/element_4" @@ -2193,11 +2198,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/source-map/lexical/element_3" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0" - } ] }, { @@ -2247,6 +2247,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market", "http://a.ml/vocabularies/document-source-maps#value": "[(95,6)-(95,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -2262,11 +2267,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market", "http://a.ml/vocabularies/document-source-maps#value": "[(94,4)-(99,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/payload/default/shape/schema", "@type": [ @@ -2406,6 +2406,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#payload", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", @@ -2431,21 +2436,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(77,4)-(77,14)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1" @@ -2453,6 +2448,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2658,11 +2658,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1", "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(98,10)-(98,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type", @@ -2673,6 +2668,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(98,10)-(99,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/shape/market/property/property/type/scalar/type", + "http://a.ml/vocabularies/document-source-maps#value": "[(98,10)-(98,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.expanded.jsonld index 8e99171c70..18eaef9b78 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.expanded.jsonld @@ -430,9 +430,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" @@ -440,35 +440,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,14)-(30,18)]" + "@value": "[(29,12)-(31,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,12)-(31,0)]" + "@value": "[(30,14)-(31,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,14)-(31,0)]" + "@value": "[(30,14)-(30,18)]" } ] } @@ -553,9 +553,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" @@ -563,35 +563,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,8)-(31,0)]" + "@value": "[(27,10)-(27,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,10)-(31,0)]" + "@value": "[(26,8)-(31,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,10)-(27,14)]" + "@value": "[(28,10)-(31,0)]" } ] } @@ -1804,9 +1804,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" @@ -1814,35 +1814,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(73,10)-(73,14)]" + "@value": "[(72,8)-(74,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(72,8)-(74,0)]" + "@value": "[(73,10)-(74,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(73,10)-(74,0)]" + "@value": "[(73,10)-(73,14)]" } ] } @@ -2669,9 +2669,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" @@ -2679,35 +2679,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(94,10)-(94,14)]" + "@value": "[(93,8)-(95,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(93,8)-(95,0)]" + "@value": "[(94,10)-(95,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(94,10)-(95,0)]" + "@value": "[(94,10)-(94,14)]" } ] } @@ -2824,9 +2824,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" @@ -2834,35 +2834,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(91,18)-(91,22)]" + "@value": "[(90,16)-(92,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(90,16)-(92,0)]" + "@value": "[(91,18)-(92,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(91,18)-(92,0)]" + "@value": "[(91,18)-(91,22)]" } ] } @@ -2947,9 +2947,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" @@ -2957,35 +2957,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,20)-(92,0)]" + "@value": "[(88,14)-(88,18)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(89,14)-(92,0)]" + "@value": "[(87,20)-(92,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(88,14)-(88,18)]" + "@value": "[(89,14)-(92,0)]" } ] } @@ -3687,9 +3687,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type" @@ -3697,35 +3697,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(118,10)-(118,14)]" + "@value": "[(117,8)-(119,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(117,8)-(119,0)]" + "@value": "[(118,10)-(119,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(118,10)-(119,0)]" + "@value": "[(118,10)-(118,14)]" } ] } @@ -3825,6 +3825,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market" + } + ], + "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/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/source-map/lexical/element_2", @@ -3865,21 +3880,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -4698,6 +4698,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData" + } + ], + "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/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/source-map/lexical/element_4", @@ -4764,21 +4779,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.flattened.jsonld index b6d236230a..041bf9f659 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.flattened.jsonld @@ -1822,6 +1822,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1" @@ -1829,11 +1834,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -2032,11 +2032,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -2044,6 +2039,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2135,11 +2135,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -2147,6 +2142,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2263,6 +2263,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,10)-(27,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", @@ -2273,11 +2278,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(31,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,10)-(27,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/examples/example/default-example_2/object_1/userId/source-map", "@type": [ @@ -2370,11 +2370,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#exampleHeader", "http://a.ml/vocabularies/document-source-maps#value": "[(36,14)-(37,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(73,10)-(73,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", @@ -2385,6 +2380,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(73,10)-(74,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(73,10)-(73,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/ibmmq-message/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", @@ -2420,11 +2420,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(68,12)-(69,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(94,10)-(94,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", @@ -2435,6 +2430,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(94,10)-(95,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(94,10)-(94,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId", "@type": [ @@ -2469,6 +2469,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1" @@ -2476,11 +2481,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -2508,11 +2508,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1" @@ -2520,6 +2515,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2619,6 +2619,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(88,14)-(88,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", @@ -2629,16 +2634,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(89,14)-(92,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(88,14)-(88,18)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,14)-(30,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", @@ -2649,16 +2644,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(30,14)-(31,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,14)-(30,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1" @@ -2666,6 +2661,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2678,11 +2678,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId", "http://a.ml/vocabularies/document-source-maps#value": "[(90,16)-(92,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", - "http://a.ml/vocabularies/document-source-maps#value": "[(91,18)-(91,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", @@ -2693,6 +2688,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(91,18)-(92,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", + "http://a.ml/vocabularies/document-source-maps#value": "[(91,18)-(91,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml", "http://a.ml/vocabularies/document#declares": [ @@ -2809,6 +2809,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/source-map/lexical/element_2" @@ -2819,11 +2824,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/source-map/declared-element/element_0" - } ] }, { @@ -2892,6 +2892,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/source-map/virtual-element/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/source-map/lexical/element_4" @@ -2908,11 +2913,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/source-map/lexical/element_3" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0" - } ] }, { @@ -2962,6 +2962,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market", "http://a.ml/vocabularies/document-source-maps#value": "[(115,6)-(115,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -2977,11 +2982,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market", "http://a.ml/vocabularies/document-source-maps#value": "[(114,4)-(119,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/payload/default/shape/schema", "@type": [ @@ -3121,6 +3121,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#payload", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", @@ -3146,21 +3151,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(97,4)-(97,14)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1" @@ -3168,6 +3163,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3373,11 +3373,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1", "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(118,10)-(118,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type", @@ -3388,6 +3383,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(118,10)-(119,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/shape/market/property/property/type/scalar/type", + "http://a.ml/vocabularies/document-source-maps#value": "[(118,10)-(118,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.expanded.jsonld index d89135cda2..ec795e1bca 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.expanded.jsonld @@ -430,9 +430,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" @@ -440,35 +440,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,14)-(30,18)]" + "@value": "[(29,12)-(31,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,12)-(31,0)]" + "@value": "[(30,14)-(31,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(30,14)-(31,0)]" + "@value": "[(30,14)-(30,18)]" } ] } @@ -553,9 +553,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" @@ -563,35 +563,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,8)-(31,0)]" + "@value": "[(27,10)-(27,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,10)-(31,0)]" + "@value": "[(26,8)-(31,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,10)-(27,14)]" + "@value": "[(28,10)-(31,0)]" } ] } @@ -1512,9 +1512,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" @@ -1522,35 +1522,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,10)-(63,14)]" + "@value": "[(62,8)-(64,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(62,8)-(64,0)]" + "@value": "[(63,10)-(64,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,10)-(64,0)]" + "@value": "[(63,10)-(63,14)]" } ] } @@ -2390,9 +2390,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" @@ -2400,35 +2400,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(85,10)-(85,14)]" + "@value": "[(84,8)-(86,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(84,8)-(86,0)]" + "@value": "[(85,10)-(86,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(85,10)-(86,0)]" + "@value": "[(85,10)-(85,14)]" } ] } @@ -2545,9 +2545,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" @@ -2555,35 +2555,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(82,18)-(82,22)]" + "@value": "[(81,16)-(83,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(81,16)-(83,0)]" + "@value": "[(82,18)-(83,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(82,18)-(83,0)]" + "@value": "[(82,18)-(82,22)]" } ] } @@ -2668,9 +2668,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" @@ -2678,35 +2678,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(78,20)-(83,0)]" + "@value": "[(79,14)-(79,18)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(80,14)-(83,0)]" + "@value": "[(78,20)-(83,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(79,14)-(79,18)]" + "@value": "[(80,14)-(83,0)]" } ] } @@ -3919,9 +3919,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type" @@ -3929,35 +3929,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(127,10)-(127,14)]" + "@value": "[(126,8)-(128,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(126,8)-(128,0)]" + "@value": "[(127,10)-(128,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(127,10)-(128,0)]" + "@value": "[(127,10)-(127,14)]" } ] } @@ -4057,6 +4057,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market" + } + ], + "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/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/source-map/lexical/element_2", @@ -4097,21 +4112,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -4930,6 +4930,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData" + } + ], + "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/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/source-map/lexical/element_4", @@ -4996,21 +5011,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.flattened.jsonld index b42bba14d6..b529523f2b 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.flattened.jsonld @@ -1842,6 +1842,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1" @@ -1849,11 +1854,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -2032,11 +2032,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -2044,6 +2039,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2135,11 +2135,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -2147,6 +2142,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2359,6 +2359,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,10)-(27,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", @@ -2369,11 +2374,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(28,10)-(31,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,10)-(27,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/examples/example/default-example_2/object_1/userId/source-map", "@type": [ @@ -2466,11 +2466,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#exampleHeader", "http://a.ml/vocabularies/document-source-maps#value": "[(36,14)-(37,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(63,10)-(63,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", @@ -2481,6 +2476,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(63,10)-(64,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(63,10)-(63,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/message-bindings/bindings/ibmmq-message/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", @@ -2516,11 +2516,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(58,12)-(59,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(85,10)-(85,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", @@ -2531,6 +2526,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(85,10)-(86,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(85,10)-(85,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId", "@type": [ @@ -2565,6 +2565,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1" @@ -2572,11 +2577,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -2675,11 +2675,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1" @@ -2687,6 +2682,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2786,6 +2786,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(79,14)-(79,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", @@ -2796,11 +2801,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(80,14)-(83,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(79,14)-(79,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topicSubscriptions", @@ -2826,11 +2826,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topicSubscriptions", "http://a.ml/vocabularies/document-source-maps#value": "[(102,16)-(104,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", - "http://a.ml/vocabularies/document-source-maps#value": "[(30,14)-(30,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", @@ -2841,16 +2836,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(30,14)-(31,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,14)-(30,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1" @@ -2858,6 +2853,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2870,11 +2870,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId", "http://a.ml/vocabularies/document-source-maps#value": "[(81,16)-(83,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", - "http://a.ml/vocabularies/document-source-maps#value": "[(82,18)-(82,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", @@ -2885,6 +2880,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(82,18)-(83,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", + "http://a.ml/vocabularies/document-source-maps#value": "[(82,18)-(82,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml", "http://a.ml/vocabularies/document#declares": [ @@ -3001,6 +3001,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/source-map/lexical/element_2" @@ -3011,11 +3016,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/source-map/declared-element/element_0" - } ] }, { @@ -3084,6 +3084,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/source-map/virtual-element/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/source-map/lexical/element_4" @@ -3100,11 +3105,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/source-map/lexical/element_3" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0" - } ] }, { @@ -3154,6 +3154,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market", "http://a.ml/vocabularies/document-source-maps#value": "[(124,6)-(124,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -3169,11 +3174,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market", "http://a.ml/vocabularies/document-source-maps#value": "[(123,4)-(128,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/payload/default/shape/schema", "@type": [ @@ -3313,6 +3313,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#payload", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", @@ -3338,21 +3343,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(106,4)-(106,14)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1" @@ -3360,6 +3355,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3565,11 +3565,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/headerExamples/example/default-example_1", "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(127,10)-(127,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type", @@ -3580,6 +3575,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(127,10)-(128,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/shape/market/property/property/type/scalar/type", + "http://a.ml/vocabularies/document-source-maps#value": "[(127,10)-(127,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.expanded.jsonld index 3d8dcccb8c..bce4894d9b 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.expanded.jsonld @@ -930,21 +930,6 @@ "@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/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2" - } - ], - "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/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", @@ -1011,6 +996,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1848,9 +1848,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" @@ -1858,35 +1858,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,14)-(55,18)]" + "@value": "[(54,12)-(56,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(54,12)-(56,0)]" + "@value": "[(55,14)-(56,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,14)-(56,0)]" + "@value": "[(55,14)-(55,18)]" } ] } @@ -1971,9 +1971,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" @@ -1981,35 +1981,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,8)-(56,0)]" + "@value": "[(52,10)-(52,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(53,10)-(56,0)]" + "@value": "[(51,8)-(56,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(52,10)-(52,14)]" + "@value": "[(53,10)-(56,0)]" } ] } @@ -3044,21 +3044,6 @@ "@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/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2" - } - ], - "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/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", @@ -3125,6 +3110,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3470,9 +3470,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" @@ -3480,35 +3480,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(88,10)-(88,14)]" + "@value": "[(87,8)-(89,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,8)-(89,0)]" + "@value": "[(88,10)-(89,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(88,10)-(89,0)]" + "@value": "[(88,10)-(88,14)]" } ] } @@ -4348,9 +4348,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" @@ -4358,35 +4358,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,10)-(110,14)]" + "@value": "[(109,8)-(111,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(109,8)-(111,0)]" + "@value": "[(110,10)-(111,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,10)-(111,0)]" + "@value": "[(110,10)-(110,14)]" } ] } @@ -4503,9 +4503,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" @@ -4513,35 +4513,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(107,18)-(107,22)]" + "@value": "[(106,16)-(108,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(106,16)-(108,0)]" + "@value": "[(107,18)-(108,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(107,18)-(108,0)]" + "@value": "[(107,18)-(107,22)]" } ] } @@ -4626,9 +4626,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" @@ -4636,35 +4636,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(103,20)-(108,0)]" + "@value": "[(104,14)-(104,18)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(105,14)-(108,0)]" + "@value": "[(103,20)-(108,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(104,14)-(104,18)]" + "@value": "[(105,14)-(108,0)]" } ] } @@ -5877,9 +5877,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type" @@ -5887,35 +5887,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(153,10)-(153,14)]" + "@value": "[(152,8)-(154,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(152,8)-(154,0)]" + "@value": "[(153,10)-(154,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(153,10)-(154,0)]" + "@value": "[(153,10)-(153,14)]" } ] } @@ -6015,6 +6015,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market" + } + ], + "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/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/source-map/lexical/element_2", @@ -6055,21 +6070,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -6328,21 +6328,6 @@ "@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/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2" - } - ], - "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/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", @@ -6409,6 +6394,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -7232,6 +7232,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData" + } + ], + "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/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/lexical/element_5", @@ -7311,21 +7326,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -7617,9 +7617,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment" @@ -7627,35 +7627,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(155,4)-(158,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(155,4)-(155,15)]" + "@value": "[(155,4)-(158,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(155,4)-(155,15)]" } ] } @@ -7950,9 +7950,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version" @@ -7960,35 +7960,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(158,4)-(161,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(158,4)-(158,11)]" + "@value": "[(158,4)-(161,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(158,4)-(158,11)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.flattened.jsonld index beeaeea68e..ef91ffe713 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.flattened.jsonld @@ -2009,11 +2009,6 @@ "@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/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4" @@ -2030,6 +2025,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0" + } ] }, { @@ -2728,11 +2728,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -2758,6 +2753,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(162,4)-(162,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/server/some.com/security/requirement_1/schemes/oauth2/settings/oauth2/flows/default-flow/scope/write%3Apets", "@type": [ @@ -2839,6 +2839,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1" @@ -2846,11 +2851,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -3062,11 +3062,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -3074,6 +3069,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3165,11 +3165,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -3177,6 +3172,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3482,6 +3482,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(52,10)-(52,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", @@ -3492,11 +3497,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(53,10)-(56,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(52,10)-(52,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/examples/example/default-example_2/object_1/userId/source-map", "@type": [ @@ -3623,11 +3623,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/security/requirement_1/schemes/oauth2/settings/oauth2", "http://a.ml/vocabularies/document-source-maps#value": "[(43,10)-(45,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(88,10)-(88,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", @@ -3638,6 +3633,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(88,10)-(89,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(88,10)-(88,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/message-bindings/bindings/ibmmq-message/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", @@ -3673,11 +3673,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(83,12)-(84,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,10)-(110,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", @@ -3688,6 +3683,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(110,10)-(111,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(110,10)-(110,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId", "@type": [ @@ -3722,6 +3722,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1" @@ -3729,11 +3734,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -3889,11 +3889,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1" @@ -3901,6 +3896,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -4021,6 +4021,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(104,14)-(104,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", @@ -4031,11 +4036,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(105,14)-(108,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(104,14)-(104,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topicSubscriptions", @@ -4071,11 +4071,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/read%3Apets", "http://a.ml/vocabularies/document-source-maps#value": "[(171,12)-(172,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", - "http://a.ml/vocabularies/document-source-maps#value": "[(55,14)-(55,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", @@ -4086,6 +4081,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(55,14)-(56,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", + "http://a.ml/vocabularies/document-source-maps#value": "[(55,14)-(55,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/security/requirement_1/schemes/oauth2/settings/oauth2/flows/default-flow/scope/read%3Apets/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/security/requirement_1/schemes/oauth2/settings/oauth2/flows/default-flow/scope/read%3Apets", @@ -4096,11 +4096,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1" @@ -4108,6 +4103,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -4120,11 +4120,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId", "http://a.ml/vocabularies/document-source-maps#value": "[(106,16)-(108,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", - "http://a.ml/vocabularies/document-source-maps#value": "[(107,18)-(107,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", @@ -4135,6 +4130,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(107,18)-(108,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", + "http://a.ml/vocabularies/document-source-maps#value": "[(107,18)-(107,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml", "http://a.ml/vocabularies/document#declares": [ @@ -4301,6 +4301,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/source-map/lexical/element_2" @@ -4311,11 +4316,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/source-map/declared-element/element_0" - } ] }, { @@ -4384,6 +4384,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/virtual-element/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/lexical/element_5" @@ -4403,11 +4408,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/lexical/element_4" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0" - } ] }, { @@ -4460,6 +4460,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/source-map/declared-element/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_1" @@ -4467,11 +4472,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0" - } ] }, { @@ -4524,6 +4524,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/source-map/declared-element/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/source-map/lexical/element_1" @@ -4531,11 +4536,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0" - } ] }, { @@ -4585,6 +4585,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market", "http://a.ml/vocabularies/document-source-maps#value": "[(150,6)-(150,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -4600,11 +4605,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market", "http://a.ml/vocabularies/document-source-maps#value": "[(149,4)-(154,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/payload/default/shape/schema", "@type": [ @@ -4744,6 +4744,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#payload", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#summary", @@ -4774,11 +4779,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(135,6)-(137,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/scalar/environment/scalar_1", "@type": [ @@ -4849,6 +4849,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment", "http://a.ml/vocabularies/document-source-maps#value": "" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment", @@ -4859,11 +4864,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(155,4)-(155,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/environment", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/scalar/version/scalar_1", "@type": [ @@ -4934,6 +4934,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version", "http://a.ml/vocabularies/document-source-maps#value": "" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version", @@ -4944,21 +4949,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(158,4)-(158,11)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1" @@ -4966,6 +4961,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -5259,11 +5259,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/parameter/path/version/scalar/version", "http://a.ml/vocabularies/document-source-maps#value": "[(159,0)-(161,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(153,10)-(153,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type", @@ -5274,6 +5269,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(153,10)-(154,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/shape/market/property/property/type/scalar/type", + "http://a.ml/vocabularies/document-source-maps#value": "[(153,10)-(153,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/declares/msg/marketData/payload/default/shape/schema/source-map/synthesized-field/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.expanded.jsonld index 4c985de700..7e463846c7 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.expanded.jsonld @@ -930,21 +930,6 @@ "@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/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2" - } - ], - "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/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", @@ -1011,6 +996,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1848,9 +1848,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" @@ -1858,35 +1858,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,14)-(55,18)]" + "@value": "[(54,12)-(56,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(54,12)-(56,0)]" + "@value": "[(55,14)-(56,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,14)-(56,0)]" + "@value": "[(55,14)-(55,18)]" } ] } @@ -1971,9 +1971,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" @@ -1981,35 +1981,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,8)-(56,0)]" + "@value": "[(52,10)-(52,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(53,10)-(56,0)]" + "@value": "[(51,8)-(56,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(52,10)-(52,14)]" + "@value": "[(53,10)-(56,0)]" } ] } @@ -3044,21 +3044,6 @@ "@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/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2" - } - ], - "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/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", @@ -3125,6 +3110,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3470,9 +3470,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" @@ -3480,35 +3480,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(88,10)-(88,14)]" + "@value": "[(87,8)-(89,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,8)-(89,0)]" + "@value": "[(88,10)-(89,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(88,10)-(89,0)]" + "@value": "[(88,10)-(88,14)]" } ] } @@ -4348,9 +4348,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" @@ -4358,35 +4358,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,10)-(110,14)]" + "@value": "[(109,8)-(111,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(109,8)-(111,0)]" + "@value": "[(110,10)-(111,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,10)-(111,0)]" + "@value": "[(110,10)-(110,14)]" } ] } @@ -4503,9 +4503,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" @@ -4513,35 +4513,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(107,18)-(107,22)]" + "@value": "[(106,16)-(108,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(106,16)-(108,0)]" + "@value": "[(107,18)-(108,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(107,18)-(108,0)]" + "@value": "[(107,18)-(107,22)]" } ] } @@ -4626,9 +4626,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" @@ -4636,35 +4636,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(103,20)-(108,0)]" + "@value": "[(104,14)-(104,18)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(105,14)-(108,0)]" + "@value": "[(103,20)-(108,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(104,14)-(104,18)]" + "@value": "[(105,14)-(108,0)]" } ] } @@ -6504,9 +6504,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type" @@ -6514,35 +6514,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(180,10)-(180,14)]" + "@value": "[(179,8)-(181,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(179,8)-(181,0)]" + "@value": "[(180,10)-(181,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(180,10)-(181,0)]" + "@value": "[(180,10)-(180,14)]" } ] } @@ -6642,6 +6642,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market" + } + ], + "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/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/source-map/lexical/element_2", @@ -6682,21 +6697,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -6955,21 +6955,6 @@ "@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/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2" - } - ], - "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/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", @@ -7036,6 +7021,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -7425,21 +7425,6 @@ "@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/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro" - } - ], - "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/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/source-map/lexical/element_2", @@ -7480,6 +7465,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -8303,6 +8303,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData" + } + ], + "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/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/lexical/element_5", @@ -8382,21 +8397,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -8688,9 +8688,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment" @@ -8698,35 +8698,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(182,4)-(185,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(182,4)-(182,15)]" + "@value": "[(182,4)-(185,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(182,4)-(182,15)]" } ] } @@ -9021,9 +9021,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version" @@ -9031,35 +9031,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(185,4)-(188,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(185,4)-(185,11)]" + "@value": "[(185,4)-(188,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(185,4)-(185,11)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.flattened.jsonld index 31576b09d2..ad1f9df3b0 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.flattened.jsonld @@ -2205,11 +2205,6 @@ "@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/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4" @@ -2226,6 +2221,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0" + } ] }, { @@ -3063,11 +3063,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -3093,6 +3088,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(189,4)-(189,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/server/some.com/security/requirement_1/schemes/oauth2/settings/oauth2/flows/default-flow/scope/write%3Apets", "@type": [ @@ -3174,6 +3174,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1" @@ -3181,11 +3186,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -3397,11 +3397,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -3409,6 +3404,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3500,11 +3500,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -3512,6 +3507,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3910,6 +3910,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(52,10)-(52,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", @@ -3920,11 +3925,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(53,10)-(56,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(52,10)-(52,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/examples/example/default-example_2/object_1/userId/source-map", "@type": [ @@ -4051,11 +4051,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/security/requirement_1/schemes/oauth2/settings/oauth2", "http://a.ml/vocabularies/document-source-maps#value": "[(43,10)-(45,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(88,10)-(88,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", @@ -4066,6 +4061,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(88,10)-(89,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(88,10)-(88,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/message-bindings/bindings/ibmmq-message/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", @@ -4101,11 +4101,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(83,12)-(84,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,10)-(110,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", @@ -4116,6 +4111,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(110,10)-(111,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(110,10)-(110,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId", "@type": [ @@ -4150,6 +4150,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1" @@ -4157,11 +4162,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -4347,11 +4347,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1" @@ -4359,6 +4354,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -4479,6 +4479,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(104,14)-(104,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", @@ -4489,11 +4494,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(105,14)-(108,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(104,14)-(104,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topicSubscriptions", @@ -4529,11 +4529,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/read%3Apets", "http://a.ml/vocabularies/document-source-maps#value": "[(198,12)-(199,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", - "http://a.ml/vocabularies/document-source-maps#value": "[(55,14)-(55,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", @@ -4544,6 +4539,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(55,14)-(56,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", + "http://a.ml/vocabularies/document-source-maps#value": "[(55,14)-(55,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/security/requirement_1/schemes/oauth2/settings/oauth2/flows/default-flow/scope/read%3Apets/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/security/requirement_1/schemes/oauth2/settings/oauth2/flows/default-flow/scope/read%3Apets", @@ -4554,11 +4554,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1" @@ -4566,6 +4561,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -4578,11 +4578,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId", "http://a.ml/vocabularies/document-source-maps#value": "[(106,16)-(108,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", - "http://a.ml/vocabularies/document-source-maps#value": "[(107,18)-(107,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", @@ -4593,6 +4588,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(107,18)-(108,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", + "http://a.ml/vocabularies/document-source-maps#value": "[(107,18)-(107,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml", "http://a.ml/vocabularies/document#declares": [ @@ -4778,6 +4778,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/source-map/lexical/element_2" @@ -4788,11 +4793,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/source-map/declared-element/element_0" - } ] }, { @@ -4817,11 +4817,6 @@ "@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/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/source-map/lexical/element_2" @@ -4832,6 +4827,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/source-map/declared-element/element_0" + } ] }, { @@ -4900,6 +4900,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/virtual-element/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/lexical/element_5" @@ -4919,11 +4924,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/lexical/element_4" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0" - } ] }, { @@ -4976,6 +4976,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/source-map/declared-element/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_1" @@ -4983,11 +4988,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0" - } ] }, { @@ -5040,6 +5040,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/source-map/declared-element/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/source-map/lexical/element_1" @@ -5047,11 +5052,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0" - } ] }, { @@ -5101,6 +5101,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market", "http://a.ml/vocabularies/document-source-maps#value": "[(177,6)-(177,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -5116,11 +5121,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market", "http://a.ml/vocabularies/document-source-maps#value": "[(176,4)-(181,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010", "@type": [ @@ -5157,11 +5157,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -5177,6 +5172,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro", "http://a.ml/vocabularies/document-source-maps#value": "[(148,4)-(158,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/payload/default/shape/schema", "@type": [ @@ -5316,6 +5316,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#payload", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#summary", @@ -5346,11 +5351,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(162,6)-(164,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/marketData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/scalar/environment/scalar_1", "@type": [ @@ -5421,6 +5421,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment", "http://a.ml/vocabularies/document-source-maps#value": "" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment", @@ -5431,11 +5436,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(182,4)-(182,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/environment", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/scalar/version/scalar_1", "@type": [ @@ -5506,6 +5506,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version", "http://a.ml/vocabularies/document-source-maps#value": "" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version", @@ -5516,21 +5521,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(185,4)-(185,11)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1" @@ -5538,6 +5533,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -5898,11 +5898,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/parameter/path/version/scalar/version", "http://a.ml/vocabularies/document-source-maps#value": "[(186,0)-(188,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(180,10)-(180,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type", @@ -5913,6 +5908,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(180,10)-(181,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/shape/market/property/property/type/scalar/type", + "http://a.ml/vocabularies/document-source-maps#value": "[(180,10)-(180,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/object_1/exampleAttribute", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.expanded.jsonld index 9da61b489a..dc913d7b2c 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.expanded.jsonld @@ -930,21 +930,6 @@ "@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/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2" - } - ], - "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/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", @@ -1011,6 +996,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -2064,9 +2064,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" @@ -2074,35 +2074,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(62,14)-(62,18)]" + "@value": "[(61,12)-(63,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(61,12)-(63,0)]" + "@value": "[(62,14)-(63,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(62,14)-(63,0)]" + "@value": "[(62,14)-(62,18)]" } ] } @@ -2187,9 +2187,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" @@ -2197,35 +2197,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(58,8)-(63,0)]" + "@value": "[(59,10)-(59,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(60,10)-(63,0)]" + "@value": "[(58,8)-(63,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(59,10)-(59,14)]" + "@value": "[(60,10)-(63,0)]" } ] } @@ -3260,21 +3260,6 @@ "@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/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2" - } - ], - "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/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", @@ -3341,6 +3326,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3686,9 +3686,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" @@ -3696,35 +3696,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(95,10)-(95,14)]" + "@value": "[(94,8)-(96,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(94,8)-(96,0)]" + "@value": "[(95,10)-(96,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(95,10)-(96,0)]" + "@value": "[(95,10)-(95,14)]" } ] } @@ -4564,9 +4564,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" @@ -4574,35 +4574,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(117,10)-(117,14)]" + "@value": "[(116,8)-(118,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(116,8)-(118,0)]" + "@value": "[(117,10)-(118,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(117,10)-(118,0)]" + "@value": "[(117,10)-(117,14)]" } ] } @@ -4719,9 +4719,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" @@ -4729,35 +4729,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(114,18)-(114,22)]" + "@value": "[(113,16)-(115,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(113,16)-(115,0)]" + "@value": "[(114,18)-(115,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(114,18)-(115,0)]" + "@value": "[(114,18)-(114,22)]" } ] } @@ -4842,9 +4842,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" @@ -4852,35 +4852,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(110,20)-(115,0)]" + "@value": "[(111,14)-(111,18)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(112,14)-(115,0)]" + "@value": "[(110,20)-(115,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(111,14)-(111,18)]" + "@value": "[(112,14)-(115,0)]" } ] } @@ -7095,9 +7095,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type" @@ -7105,35 +7105,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(204,10)-(204,14)]" + "@value": "[(203,8)-(205,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(203,8)-(205,0)]" + "@value": "[(204,10)-(205,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(204,10)-(205,0)]" + "@value": "[(204,10)-(204,14)]" } ] } @@ -7233,6 +7233,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market" + } + ], + "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/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/source-map/lexical/element_2", @@ -7273,21 +7288,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -7546,21 +7546,6 @@ "@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/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2" - } - ], - "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/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", @@ -7627,6 +7612,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -8016,21 +8016,6 @@ "@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/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro" - } - ], - "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/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/source-map/lexical/element_2", @@ -8071,6 +8056,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -8894,6 +8894,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData" + } + ], + "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/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/lexical/element_5", @@ -8973,21 +8988,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -9279,9 +9279,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment" @@ -9289,35 +9289,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(206,4)-(209,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(206,4)-(206,15)]" + "@value": "[(206,4)-(209,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(206,4)-(206,15)]" } ] } @@ -9612,9 +9612,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version" @@ -9622,35 +9622,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(209,4)-(212,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(209,4)-(209,11)]" + "@value": "[(209,4)-(212,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(209,4)-(209,11)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.flattened.jsonld index 7399bc85ae..91738c0184 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.flattened.jsonld @@ -2516,11 +2516,6 @@ "@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/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4" @@ -2537,6 +2532,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0" + } ] }, { @@ -3461,11 +3461,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -3491,6 +3486,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(213,4)-(213,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/server/some.com/security/requirement_1/schemes/oauth2/settings/oauth2/flows/default-flow/scope/write%3Apets", "@type": [ @@ -3572,6 +3572,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1" @@ -3579,11 +3584,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -3795,11 +3795,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -3807,6 +3802,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3898,11 +3898,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -3910,6 +3905,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -4323,6 +4323,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(59,10)-(59,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", @@ -4333,11 +4338,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(60,10)-(63,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(59,10)-(59,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/examples/example/default-example_2/object_1/userId/source-map", "@type": [ @@ -4464,11 +4464,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/security/requirement_1/schemes/oauth2/settings/oauth2", "http://a.ml/vocabularies/document-source-maps#value": "[(50,10)-(52,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(95,10)-(95,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", @@ -4479,6 +4474,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(95,10)-(96,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(95,10)-(95,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request/message-bindings/bindings/ibmmq-message/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", @@ -4514,11 +4514,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(90,12)-(91,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(117,10)-(117,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", @@ -4529,6 +4524,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(117,10)-(118,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(117,10)-(117,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId", "@type": [ @@ -4563,6 +4563,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1" @@ -4570,11 +4575,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -4760,11 +4760,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1" @@ -4772,6 +4767,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -4892,6 +4892,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(111,14)-(111,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", @@ -4902,11 +4907,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(112,14)-(115,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(111,14)-(111,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/supportedOperation/publish/operation-bindings/bindings/solace-operation-020/destinations/solace-operation-destination-020/solace-operation-queue-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#topicSubscriptions", @@ -4942,11 +4942,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit/scope/read%3Apets", "http://a.ml/vocabularies/document-source-maps#value": "[(222,12)-(223,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", - "http://a.ml/vocabularies/document-source-maps#value": "[(62,14)-(62,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", @@ -4957,6 +4952,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(62,14)-(63,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/prop1/scalar/prop1", + "http://a.ml/vocabularies/document-source-maps#value": "[(62,14)-(62,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/security/requirement_1/schemes/oauth2/settings/oauth2/flows/default-flow/scope/read%3Apets/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/supportedOperation/subscribe/security/requirement_1/schemes/oauth2/settings/oauth2/flows/default-flow/scope/read%3Apets", @@ -4967,11 +4967,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1" @@ -4979,6 +4974,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -4991,11 +4991,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId", "http://a.ml/vocabularies/document-source-maps#value": "[(113,16)-(115,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", - "http://a.ml/vocabularies/document-source-maps#value": "[(114,18)-(114,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", @@ -5006,6 +5001,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(114,18)-(115,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/supportedOperation/publish/expects/request/message-bindings/bindings/anypointmq-message/shape/schema/property/property/messageId/scalar/messageId", + "http://a.ml/vocabularies/document-source-maps#value": "[(114,18)-(114,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml", "http://a.ml/vocabularies/document#declares": [ @@ -5191,6 +5191,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/source-map/lexical/element_2" @@ -5201,11 +5206,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/source-map/declared-element/element_0" - } ] }, { @@ -5230,11 +5230,6 @@ "@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/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/source-map/lexical/element_2" @@ -5245,6 +5240,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/source-map/declared-element/element_0" + } ] }, { @@ -5313,6 +5313,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/virtual-element/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/lexical/element_5" @@ -5332,11 +5337,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/lexical/element_4" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0" - } ] }, { @@ -5389,6 +5389,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/source-map/declared-element/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_1" @@ -5396,11 +5401,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0" - } ] }, { @@ -5453,6 +5453,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/source-map/declared-element/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/source-map/lexical/element_1" @@ -5460,11 +5465,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-server-variable": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0" - } ] }, { @@ -5514,6 +5514,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market", "http://a.ml/vocabularies/document-source-maps#value": "[(201,6)-(201,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -5529,11 +5534,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market", "http://a.ml/vocabularies/document-source-maps#value": "[(200,4)-(205,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010", "@type": [ @@ -5570,11 +5570,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -5590,6 +5585,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro", "http://a.ml/vocabularies/document-source-maps#value": "[(172,4)-(182,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/payload/default/shape/schema", "@type": [ @@ -5729,6 +5729,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#payload", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#summary", @@ -5759,11 +5764,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(186,6)-(188,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/marketData", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/scalar/environment/scalar_1", "@type": [ @@ -5834,6 +5834,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment", "http://a.ml/vocabularies/document-source-maps#value": "" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment", @@ -5844,11 +5849,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(206,4)-(206,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment/source-map/declared-server-variable/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/environment", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/scalar/version/scalar_1", "@type": [ @@ -5919,6 +5919,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version", "http://a.ml/vocabularies/document-source-maps#value": "" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version", @@ -5929,21 +5934,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(209,4)-(209,11)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/source-map/declared-server-variable/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1" @@ -5951,6 +5946,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -6311,11 +6311,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/parameter/path/version/scalar/version", "http://a.ml/vocabularies/document-source-maps#value": "[(210,0)-(212,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type", - "http://a.ml/vocabularies/document-source-maps#value": "[(204,10)-(204,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type", @@ -6326,6 +6321,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(204,10)-(205,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/shape/market/property/property/type/scalar/type", + "http://a.ml/vocabularies/document-source-maps#value": "[(204,10)-(204,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/declares/msg/messageAvro/message-bindings/bindings/googlepubsub-message-010/object_1/exampleAttribute", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.expanded.jsonld index 841967f36e..e1d2a204eb 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.expanded.jsonld @@ -109,9 +109,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" @@ -119,35 +119,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,10)-(21,14)]" + "@value": "[(20,8)-(22,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,8)-(22,0)]" + "@value": "[(21,10)-(22,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,10)-(22,0)]" + "@value": "[(21,10)-(21,14)]" } ] } @@ -321,9 +321,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema" @@ -331,35 +331,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,10)-(17,14)]" + "@value": "[(16,8)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,8)-(18,0)]" + "@value": "[(17,10)-(18,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,10)-(18,0)]" + "@value": "[(17,10)-(17,14)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.flattened.jsonld index 20bd6961b6..9b56a21c45 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.flattened.jsonld @@ -317,11 +317,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/lexical/element_1" @@ -329,6 +324,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -401,11 +401,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request", "http://a.ml/vocabularies/document-source-maps#value": "[(20,0)-(22,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(17,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema", @@ -416,16 +411,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(18,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/parameter/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(17,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -433,6 +428,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -445,11 +445,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(20,8)-(22,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(21,10)-(21,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", @@ -460,6 +455,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(21,10)-(22,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(21,10)-(21,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/components/async-components.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/components/async-components.expanded.jsonld index f7e4d37e5c..a05ff9f5df 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/components/async-components.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/components/async-components.expanded.jsonld @@ -90,21 +90,6 @@ "@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/validations/async20/components/async-components.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword" - } - ], - "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/validations/async20/components/async-components.yaml#/declares/scheme/userPassword/source-map/lexical/element_3", @@ -158,6 +143,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1429,9 +1429,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj" @@ -1439,35 +1439,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,4)-(15,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,4)-(13,14)]" + "@value": "[(13,4)-(15,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(13,4)-(13,14)]" } ] } @@ -2201,21 +2201,6 @@ "@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/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas" - } - ], - "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/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/source-map/lexical/element_5", @@ -2296,6 +2281,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/source-map/type-property-lexical-info/element_0", @@ -2368,9 +2368,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a" @@ -2378,35 +2378,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,8)-(6,14)]" + "@value": "[(5,6)-(7,7)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,6)-(7,7)]" + "@value": "[(6,8)-(6,24)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,8)-(6,24)]" + "@value": "[(6,8)-(6,14)]" } ] } @@ -2506,6 +2506,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj" + } + ], + "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/validations/async20/components/async-components.yaml#/declares/shape/external-obj/source-map/lexical/element_2", @@ -2546,21 +2561,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -2613,9 +2613,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema" @@ -2623,35 +2623,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,8)-(40,12)]" + "@value": "[(39,6)-(41,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,6)-(41,0)]" + "@value": "[(40,8)-(41,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,8)-(41,0)]" + "@value": "[(40,8)-(40,12)]" } ] } @@ -2666,21 +2666,6 @@ "@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/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId" - } - ], - "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/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/source-map/lexical/element_4", @@ -2747,6 +2732,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -2812,9 +2812,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param" @@ -2822,35 +2822,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(41,4)-(44,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(41,4)-(41,18)]" + "@value": "[(41,4)-(44,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(41,4)-(41,18)]" } ] } @@ -2885,21 +2885,6 @@ "@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/validations/async20/components/async-components.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword" - } - ], - "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/validations/async20/components/async-components.yaml#/declares/scheme/userPassword/source-map/lexical/element_3", @@ -2953,6 +2938,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -2984,22 +2984,7 @@ "@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/validations/async20/components/async-components.yaml#/declares/correlation-id/someId/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/someId" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/someId/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ @@ -3052,6 +3037,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/someId/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/someId" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3098,9 +3098,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example" @@ -3108,35 +3108,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(67,4)-(70,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(67,4)-(67,20)]" + "@value": "[(67,4)-(70,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(67,4)-(67,20)]" } ] } @@ -3256,9 +3256,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema" @@ -3266,35 +3266,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(76,10)-(76,14)]" + "@value": "[(75,12)-(77,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(75,12)-(77,0)]" + "@value": "[(76,10)-(77,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(76,10)-(77,0)]" + "@value": "[(76,10)-(76,14)]" } ] } @@ -3385,9 +3385,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding" @@ -3395,35 +3395,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(71,4)-(77,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding" + "@value": "http://a.ml/vocabularies/apiBinding#bindings" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(71,4)-(77,0)]" + "@value": "[(72,0)-(77,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#bindings" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(72,0)-(77,0)]" + "@value": "" } ] } @@ -3473,9 +3473,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding" @@ -3483,14 +3483,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(77,4)-(80,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding" @@ -3498,7 +3498,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(77,4)-(80,0)]" } ] } @@ -3590,9 +3590,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some" @@ -3600,35 +3600,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(100,14)-(100,18)]" + "@value": "[(99,12)-(101,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(99,12)-(101,0)]" + "@value": "[(100,14)-(101,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(100,14)-(101,0)]" + "@value": "[(100,14)-(100,18)]" } ] } @@ -3713,9 +3713,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema" @@ -3723,35 +3723,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(96,14)-(101,0)]" + "@value": "[(97,10)-(97,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(98,10)-(101,0)]" + "@value": "[(96,14)-(101,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(97,10)-(97,14)]" + "@value": "[(98,10)-(101,0)]" } ] } @@ -3866,9 +3866,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding" @@ -3876,35 +3876,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(91,4)-(101,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding" + "@value": "http://a.ml/vocabularies/apiBinding#bindings" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(91,4)-(101,0)]" + "@value": "[(92,0)-(101,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#bindings" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(92,0)-(101,0)]" + "@value": "" } ] } @@ -3954,9 +3954,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding" @@ -3964,14 +3964,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(101,4)-(104,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding" @@ -3979,7 +3979,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(101,4)-(104,0)]" } ] } @@ -4073,9 +4073,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding" @@ -4083,35 +4083,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(105,4)-(108,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding" + "@value": "http://a.ml/vocabularies/apiBinding#bindings" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(105,4)-(108,0)]" + "@value": "[(106,0)-(108,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#bindings" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(106,0)-(108,0)]" + "@value": "" } ] } @@ -4161,9 +4161,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding" @@ -4171,14 +4171,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(108,4)-(111,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding" @@ -4186,7 +4186,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(108,4)-(111,0)]" } ] } @@ -4334,9 +4334,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding" @@ -4344,35 +4344,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(81,4)-(87,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding" + "@value": "http://a.ml/vocabularies/apiBinding#bindings" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(81,4)-(87,0)]" + "@value": "[(82,0)-(87,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#bindings" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(82,0)-(87,0)]" + "@value": "" } ] } @@ -4422,9 +4422,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding" @@ -4432,14 +4432,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,4)-(90,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding" @@ -4447,7 +4447,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(87,4)-(90,0)]" } ] } @@ -4510,9 +4510,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema" @@ -4520,35 +4520,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(54,8)-(54,12)]" + "@value": "[(53,6)-(55,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(53,6)-(55,0)]" + "@value": "[(54,8)-(55,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(54,8)-(55,0)]" + "@value": "[(54,8)-(54,12)]" } ] } @@ -4691,9 +4691,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a" @@ -4701,35 +4701,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(50,12)-(50,16)]" + "@value": "[(49,10)-(51,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(49,10)-(51,0)]" + "@value": "[(50,12)-(51,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(50,12)-(51,0)]" + "@value": "[(50,12)-(50,16)]" } ] } @@ -4826,9 +4826,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b" @@ -4836,35 +4836,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(52,12)-(52,16)]" + "@value": "[(51,10)-(53,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,10)-(53,0)]" + "@value": "[(52,12)-(53,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(52,12)-(53,0)]" + "@value": "[(52,12)-(52,16)]" } ] } @@ -4949,9 +4949,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema" @@ -4959,35 +4959,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(46,6)-(53,0)]" + "@value": "[(47,8)-(47,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(48,8)-(53,0)]" + "@value": "[(46,6)-(53,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(47,8)-(47,12)]" + "@value": "[(48,8)-(53,0)]" } ] } @@ -5017,6 +5017,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage" + } + ], + "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/validations/async20/components/async-components.yaml#/declares/msg/someMessage/source-map/lexical/element_5", @@ -5096,21 +5111,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -5142,9 +5142,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage" @@ -5152,35 +5152,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(60,4)-(63,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage" + "@value": "http://a.ml/vocabularies/core#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(60,4)-(63,0)]" + "@value": "[(60,4)-(60,19)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(60,4)-(60,19)]" + "@value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/components/async-components.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/components/async-components.flattened.jsonld index 14d1b9c66c..cc09078bb5 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/components/async-components.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/components/async-components.flattened.jsonld @@ -774,11 +774,6 @@ "@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/validations/async20/components/async-components.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword/source-map/lexical/element_3" @@ -792,6 +787,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0" + } ] }, { @@ -904,11 +904,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/supportedOperation/publish/expects/request", "http://a.ml/vocabularies/document-source-maps#value": "[(136,0)-(142,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -929,6 +924,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword", "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(12,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scheme/userPassword", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/correlation-id/default-id/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -1444,6 +1444,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj/source-map/lexical/element_1" @@ -1451,11 +1456,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj/source-map/declared-element/element_0" - } ] }, { @@ -1529,11 +1529,6 @@ "@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/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/source-map/lexical/element_5" @@ -1554,6 +1549,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/source-map/lexical/element_4" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/source-map/type-property-lexical-info/element_0" @@ -1599,6 +1599,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/source-map/lexical/element_2" @@ -1609,11 +1614,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/source-map/declared-element/element_0" - } ] }, { @@ -1642,11 +1642,6 @@ "@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/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/source-map/lexical/element_4" @@ -1663,6 +1658,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/source-map/declared-element/element_0" + } ] }, { @@ -1678,6 +1678,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/lexical/element_1" @@ -1685,11 +1690,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/declared-element/element_0" - } ] }, { @@ -1697,11 +1697,6 @@ "@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/validations/async20/components/async-components.yaml#/declares/correlation-id/someId/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/someId/source-map/lexical/element_3" @@ -1715,6 +1710,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/someId/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/someId/source-map/declared-element/element_0" + } ] }, { @@ -1727,6 +1727,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/lexical/element_1" @@ -1734,11 +1739,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/declared-element/element_0" - } ] }, { @@ -1779,11 +1779,6 @@ "@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/validations/async20/components/async-components.yaml#/declares/someMessageBinding/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/source-map/lexical/element_1" @@ -1791,6 +1786,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/source-map/declared-element/element_0" + } ] }, { @@ -1803,14 +1803,14 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding/source-map/lexical/element_0" } ] }, @@ -1839,11 +1839,6 @@ "@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/validations/async20/components/async-components.yaml#/declares/someOperationBinding/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/source-map/lexical/element_1" @@ -1851,6 +1846,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/source-map/declared-element/element_0" + } ] }, { @@ -1863,14 +1863,14 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding/source-map/lexical/element_0" } ] }, @@ -1894,11 +1894,6 @@ "@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/validations/async20/components/async-components.yaml#/declares/someChannelBinding/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding/source-map/lexical/element_1" @@ -1906,6 +1901,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding/source-map/declared-element/element_0" + } ] }, { @@ -1918,14 +1918,14 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding/source-map/lexical/element_0" } ] }, @@ -1952,11 +1952,6 @@ "@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/validations/async20/components/async-components.yaml#/declares/someServerBinding/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/source-map/lexical/element_1" @@ -1964,6 +1959,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/source-map/declared-element/element_0" + } ] }, { @@ -1976,14 +1976,14 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding/source-map/declared-element/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding/source-map/lexical/element_0" } ] }, @@ -2040,6 +2040,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/source-map/virtual-element/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/source-map/lexical/element_5" @@ -2059,11 +2064,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/source-map/lexical/element_4" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/source-map/declared-element/element_0" - } ] }, { @@ -2071,11 +2071,6 @@ "@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/validations/async20/components/async-components.yaml#/declares/msg/externalMessage/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage/source-map/lexical/element_1" @@ -2083,6 +2078,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage/source-map/declared-element/element_0" + } ] }, { @@ -2106,6 +2106,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj", "http://a.ml/vocabularies/document-source-maps#value": "[(14,6)-(14,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj", @@ -2116,11 +2121,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(13,14)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/simple-obj", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/shape/if/property/property/country", "@type": [ @@ -2250,11 +2250,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#then", @@ -2285,6 +2280,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(15,4)-(15,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas", @@ -2337,6 +2337,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj", "http://a.ml/vocabularies/document-source-maps#value": "[(3,4)-(3,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -2352,21 +2357,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj", "http://a.ml/vocabularies/document-source-maps#value": "[(2,2)-(9,3)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/lexical/element_1" @@ -2374,13 +2369,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", @@ -2406,6 +2401,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(36,4)-(36,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#binding", @@ -2416,6 +2416,11 @@ "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/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param", @@ -2426,16 +2431,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(41,4)-(41,18)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fexternal/external-param", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/someId/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/someId", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/someId/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -2456,26 +2451,31 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/someId", "http://a.ml/vocabularies/document-source-maps#value": "[(64,4)-(67,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/someId/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/someId", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/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/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example", - "http://a.ml/vocabularies/document-source-maps#value": "[(67,4)-(70,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example", + "http://a.ml/vocabularies/document-source-maps#value": "[(67,4)-(70,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(67,4)-(67,20)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/correlation-id/external-example", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010/source-map", "@type": [ @@ -2536,11 +2536,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding", @@ -2551,20 +2546,25 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", "http://a.ml/vocabularies/document-source-maps#value": "[(72,0)-(77,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding/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/validations/async20/components/async-components.yaml#/declares/externalMessageBinding/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding", - "http://a.ml/vocabularies/document-source-maps#value": "[(77,4)-(80,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalMessageBinding", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(77,4)-(80,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema", @@ -2614,11 +2614,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding", @@ -2629,20 +2624,25 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", "http://a.ml/vocabularies/document-source-maps#value": "[(92,0)-(101,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding/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/validations/async20/components/async-components.yaml#/declares/externalOperationBinding/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding", - "http://a.ml/vocabularies/document-source-maps#value": "[(101,4)-(104,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalOperationBinding", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(101,4)-(104,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding/bindings/web-socket-channel/source-map", @@ -2661,11 +2661,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding", @@ -2676,20 +2671,25 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", "http://a.ml/vocabularies/document-source-maps#value": "[(106,0)-(108,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someChannelBinding", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding/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/validations/async20/components/async-components.yaml#/declares/externalChannelBinding/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding", - "http://a.ml/vocabularies/document-source-maps#value": "[(108,4)-(111,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalChannelBinding", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(108,4)-(111,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/bindings/mqtt-server-010/source-map", @@ -2717,11 +2717,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding", @@ -2732,20 +2727,25 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", "http://a.ml/vocabularies/document-source-maps#value": "[(82,0)-(87,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someServerBinding", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding/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/validations/async20/components/async-components.yaml#/declares/externalServerBinding/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding", - "http://a.ml/vocabularies/document-source-maps#value": "[(87,4)-(90,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/externalServerBinding", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(87,4)-(90,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema", @@ -2846,6 +2846,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/source-map/lexical/element_1" @@ -2853,11 +2858,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -2865,6 +2865,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#payload", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#summary", @@ -2895,16 +2900,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#displayName", "http://a.ml/vocabularies/document-source-maps#value": "[(57,6)-(58,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage", @@ -2915,6 +2910,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(60,4)-(60,19)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/externalMessage", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/references/0/external/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/references/0/external", @@ -3080,11 +3080,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a/source-map/lexical/element_1" @@ -3092,6 +3087,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3104,11 +3104,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a", "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(7,7)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(40,8)-(40,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema", @@ -3119,6 +3114,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(40,8)-(41,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/parameter/%24message.payload%23%2Fuser%2Fid/userId/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(40,8)-(40,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/mqtt-message-010/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", @@ -3139,11 +3139,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema/source-map/lexical/element_1" @@ -3151,6 +3146,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3207,6 +3207,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map/lexical/element_1" @@ -3214,11 +3219,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -3301,11 +3301,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1" @@ -3313,6 +3308,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3414,6 +3414,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(47,8)-(47,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema", @@ -3424,11 +3429,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(48,8)-(53,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(47,8)-(47,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/shape/if/property/property/country/any/country/list", "@type": "http://www.w3.org/2000/01/rdf-schema#Seq", @@ -3518,11 +3518,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/shape/else/property/property/postal_code", "http://a.ml/vocabularies/document-source-maps#value": "[(30,10)-(32,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,8)-(6,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a", @@ -3534,9 +3529,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(6,8)-(6,24)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(76,10)-(76,14)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/shape/external-obj/property/property/a/scalar/a", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,8)-(6,14)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema/source-map/lexical/element_1", @@ -3548,6 +3543,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(76,10)-(77,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someMessageBinding/bindings/kafka-message-010/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(76,10)-(76,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some", "@type": [ @@ -3590,6 +3590,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(97,10)-(97,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema", @@ -3600,16 +3605,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(98,10)-(101,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(97,10)-(97,14)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(54,8)-(54,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema", @@ -3620,16 +3615,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(54,8)-(55,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/payload/application%2Fjson/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(54,8)-(54,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1" @@ -3637,6 +3632,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3654,11 +3654,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b/source-map/lexical/element_1" @@ -3666,6 +3661,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3743,11 +3743,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1" @@ -3755,6 +3750,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3767,11 +3767,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some", "http://a.ml/vocabularies/document-source-maps#value": "[(99,12)-(101,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a", - "http://a.ml/vocabularies/document-source-maps#value": "[(50,12)-(50,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a", @@ -3783,9 +3778,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(50,12)-(51,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b", - "http://a.ml/vocabularies/document-source-maps#value": "[(52,12)-(52,16)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/a/scalar/a", + "http://a.ml/vocabularies/document-source-maps#value": "[(50,12)-(50,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b/source-map/lexical/element_1", @@ -3797,6 +3792,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(52,12)-(53,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/msg/someMessage/shape/schema/property/property/b/scalar/b", + "http://a.ml/vocabularies/document-source-maps#value": "[(52,12)-(52,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/shape/if/property/property/country/any/country/in/scalar_1/source-map", "@type": [ @@ -3816,11 +3816,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some", - "http://a.ml/vocabularies/document-source-maps#value": "[(100,14)-(100,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some", @@ -3831,6 +3826,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(100,14)-(101,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/someOperationBinding/bindings/http-operation-010/shape/schema/property/property/some/scalar/some", + "http://a.ml/vocabularies/document-source-maps#value": "[(100,14)-(100,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/declares/scalar/conditional-subschemas/shape/if/property/property/country/any/country/in/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", 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 03f1addf76..5fdd5787c7 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 @@ -94,9 +94,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema/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/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema" @@ -104,35 +104,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,10)-(14,14)]" + "@value": "[(13,8)-(15,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,8)-(15,0)]" + "@value": "[(14,10)-(15,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,10)-(15,0)]" + "@value": "[(14,10)-(14,14)]" } ] } @@ -549,21 +549,6 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait" - } - ], - "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/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait/source-map/lexical/element_2", @@ -605,6 +590,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait/source-map/virtual-element/element_0", 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 4ba79097ab..ecf24537c1 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 @@ -315,11 +315,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -327,6 +322,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -344,11 +344,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/extends/msg/message", "http://a.ml/vocabularies/document-source-maps#value": "[(12,12)-(13,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(14,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema/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/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema", @@ -359,6 +354,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(15,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,10)-(14,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml", "http://a.ml/vocabularies/document#declares": [ @@ -423,11 +423,6 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait/source-map/lexical/element_2" @@ -439,6 +434,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait/source-map/virtual-element/element_0" @@ -461,11 +461,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#isAbstract", "http://a.ml/vocabularies/document-source-maps#value": "true" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", @@ -481,6 +476,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait", "http://a.ml/vocabularies/document-source-maps#value": "[(17,4)-(21,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/declares/msg/myMessageTrait/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#payload", 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 0fa4308ad3..a07c3a8432 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 @@ -344,6 +344,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing" + } + ], + "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/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing/source-map/lexical/element_3", @@ -397,21 +412,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@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 61f0fed256..94376956b6 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 @@ -257,6 +257,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing/source-map/lexical/element_3" @@ -270,11 +275,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing/source-map/declared-element/element_0" - } ] }, { @@ -282,6 +282,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#isAbstract", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#guiSummary", @@ -301,11 +306,6 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing", "http://a.ml/vocabularies/document-source-maps#value": "[(13,4)-(15,29)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/declares/firstTrait/traitThing", - "http://a.ml/vocabularies/document-source-maps#value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.expanded.jsonld index 3fce524914..cc2a54617c 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.expanded.jsonld @@ -176,21 +176,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(11,10)-(11,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema/source-map/lexical/element_2", @@ -231,6 +216,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(11,10)-(11,14)]" + } + ] + } ] } ] @@ -2086,6 +2086,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,10)-(18,14)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_5", @@ -2165,21 +2180,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(18,10)-(18,14)]" - } - ] - } ] } ] @@ -2498,9 +2498,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" @@ -2508,35 +2508,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(49,8)-(54,0)]" + "@value": "[(50,10)-(50,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#propertyNames" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,24)-(54,0)]" + "@value": "[(49,8)-(54,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" + "@value": "http://www.w3.org/ns/shacl#propertyNames" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(50,10)-(50,14)]" + "@value": "[(51,24)-(54,0)]" } ] } @@ -2786,9 +2786,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains" @@ -2796,17 +2796,15 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(60,12)-(60,16)]" + "@value": "[(60,12)-(62,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -2814,17 +2812,19 @@ "@value": "[(60,12)-(62,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(60,12)-(62,0)]" + "@value": "[(60,12)-(60,16)]" } ] } @@ -2844,9 +2844,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema" @@ -2854,35 +2854,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(58,10)-(58,14)]" + "@value": "[(57,8)-(62,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema" + "@value": "http://a.ml/vocabularies/shapes#contains" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(57,8)-(62,0)]" + "@value": "[(59,19)-(62,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#contains" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(59,19)-(62,0)]" + "@value": "[(58,10)-(58,14)]" } ] } @@ -3126,9 +3126,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0" @@ -3136,35 +3136,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(69,14)-(69,20)]" + "@value": "[(68,12)-(70,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(68,12)-(70,13)]" + "@value": "[(69,14)-(69,30)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(69,14)-(69,30)]" + "@value": "[(69,14)-(69,20)]" } ] } @@ -3433,21 +3433,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(72,14)-(72,20)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1/source-map/lexical/element_2", @@ -3488,6 +3473,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(72,14)-(72,20)]" + } + ] + } ] } ] @@ -3521,9 +3521,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems" @@ -3531,35 +3531,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(77,12)-(77,16)]" + "@value": "[(76,10)-(79,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(76,10)-(79,0)]" + "@value": "[(77,12)-(79,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(77,12)-(79,0)]" + "@value": "[(77,12)-(77,16)]" } ] } @@ -3579,9 +3579,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema" @@ -3589,35 +3589,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(66,10)-(66,14)]" + "@value": "[(65,8)-(79,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema" + "@value": "http://a.ml/vocabularies/shapes#additionalItemsSchema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(65,8)-(79,0)]" + "@value": "[(76,10)-(79,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#additionalItemsSchema" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(76,10)-(79,0)]" + "@value": "[(66,10)-(66,14)]" } ] } @@ -3866,9 +3866,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" @@ -3876,35 +3876,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(82,8)-(86,0)]" + "@value": "[(83,10)-(83,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#comment" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(84,10)-(86,0)]" + "@value": "[(82,8)-(86,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" + "@value": "http://a.ml/vocabularies/core#comment" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(83,10)-(83,14)]" + "@value": "[(84,10)-(86,0)]" } ] } @@ -4172,21 +4172,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(95,14)-(95,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/lexical/element_3", @@ -4240,6 +4225,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(95,14)-(95,18)]" + } + ] + } ] } ] @@ -4331,6 +4331,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(90,10)-(90,14)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_3", @@ -4384,21 +4399,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(90,10)-(90,14)]" - } - ] - } ] } ] @@ -4663,21 +4663,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(106,14)-(106,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/lexical/element_3", @@ -4731,6 +4716,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(106,14)-(106,18)]" + } + ] + } ] } ] @@ -4834,21 +4834,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(110,14)-(110,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b/source-map/lexical/element_3", @@ -4902,6 +4887,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(110,14)-(110,18)]" + } + ] + } ] } ] @@ -4983,9 +4983,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" @@ -4993,35 +4993,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(102,8)-(114,0)]" + "@value": "[(103,10)-(103,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(104,10)-(114,0)]" + "@value": "[(102,8)-(114,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(103,10)-(103,14)]" + "@value": "[(104,10)-(114,0)]" } ] } @@ -5293,9 +5293,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a" @@ -5303,35 +5303,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(122,16)-(122,20)]" + "@value": "[(121,14)-(123,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(121,14)-(123,0)]" + "@value": "[(122,16)-(123,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(122,16)-(123,0)]" + "@value": "[(122,16)-(122,20)]" } ] } @@ -5426,9 +5426,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b" @@ -5436,35 +5436,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(124,16)-(124,20)]" + "@value": "[(123,14)-(125,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(123,14)-(125,0)]" + "@value": "[(124,16)-(125,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(124,16)-(125,0)]" + "@value": "[(124,16)-(124,20)]" } ] } @@ -5547,9 +5547,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not" @@ -5557,35 +5557,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(119,12)-(127,0)]" + "@value": "[(119,12)-(119,16)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(120,12)-(125,0)]" + "@value": "[(119,12)-(127,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(119,12)-(119,16)]" + "@value": "[(120,12)-(125,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.flattened.jsonld index 7ff92f47b0..d64e95d2b7 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.flattened.jsonld @@ -1763,11 +1763,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema/source-map/lexical/element_2" @@ -1778,6 +1773,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1926,6 +1926,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_5" @@ -1945,11 +1950,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_4" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -1994,6 +1994,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1" @@ -2001,11 +2006,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -2053,11 +2053,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/lexical/element_1" @@ -2065,6 +2060,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2113,11 +2113,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/lexical/element_1" @@ -2125,6 +2120,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2147,6 +2147,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1" @@ -2154,11 +2159,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -2205,6 +2205,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_3" @@ -2218,11 +2223,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -2293,6 +2293,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1" @@ -2300,11 +2305,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -2407,11 +2407,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -2427,6 +2422,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(14,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/country/any/country", "@type": [ @@ -2683,6 +2683,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,10)-(18,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#else", @@ -2713,11 +2718,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#if", "http://a.ml/vocabularies/document-source-maps#value": "[(22,13)-(26,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,10)-(18,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/scalar/propertyNames/source-map", "@type": [ @@ -2742,6 +2742,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(50,10)-(50,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", @@ -2752,21 +2757,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#propertyNames", "http://a.ml/vocabularies/document-source-maps#value": "[(51,24)-(54,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(50,10)-(50,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains/source-map/lexical/element_1" @@ -2774,13 +2769,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(58,10)-(58,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema", @@ -2791,6 +2786,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#contains", "http://a.ml/vocabularies/document-source-maps#value": "[(59,19)-(62,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(58,10)-(58,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0", "@type": [ @@ -2841,11 +2841,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems/source-map/lexical/element_1" @@ -2853,13 +2848,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(66,10)-(66,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema", @@ -2870,11 +2865,21 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#additionalItemsSchema", "http://a.ml/vocabularies/document-source-maps#value": "[(76,10)-(79,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(66,10)-(66,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(83,10)-(83,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", @@ -2885,11 +2890,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#comment", "http://a.ml/vocabularies/document-source-maps#value": "[(84,10)-(86,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(83,10)-(83,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a", "@type": [ @@ -2934,6 +2934,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(90,10)-(90,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#readOnly", @@ -2954,11 +2959,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(89,8)-(99,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(90,10)-(90,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a", "@type": [ @@ -3042,6 +3042,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(103,10)-(103,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", @@ -3052,11 +3057,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(104,10)-(114,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(103,10)-(103,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a", "@type": [ @@ -3115,6 +3115,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/source-map/lexical/element_1" @@ -3122,11 +3127,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -3581,11 +3581,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#pattern", "http://a.ml/vocabularies/document-source-maps#value": "[(52,12)-(54,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains", - "http://a.ml/vocabularies/document-source-maps#value": "[(60,12)-(60,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains", @@ -3596,16 +3591,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(60,12)-(62,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/contains", + "http://a.ml/vocabularies/document-source-maps#value": "[(60,12)-(60,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0/source-map/lexical/element_1" @@ -3613,6 +3608,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3633,11 +3633,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1/source-map/lexical/element_2" @@ -3648,13 +3643,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1/source-map/type-property-lexical-info/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems", - "http://a.ml/vocabularies/document-source-maps#value": "[(77,12)-(77,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems", @@ -3665,16 +3660,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(77,12)-(79,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/scalar/additionalItems", + "http://a.ml/vocabularies/document-source-maps#value": "[(77,12)-(77,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/lexical/element_3" @@ -3688,6 +3683,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3705,11 +3705,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/lexical/element_3" @@ -3723,6 +3718,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3740,11 +3740,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b/source-map/lexical/element_3" @@ -3758,6 +3753,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -3845,6 +3845,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not", + "http://a.ml/vocabularies/document-source-maps#value": "[(119,12)-(119,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not", @@ -3855,11 +3860,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(120,12)-(125,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not", - "http://a.ml/vocabularies/document-source-maps#value": "[(119,12)-(119,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/examples/example/default-example_1/object_1/other", "@type": [ @@ -4258,11 +4258,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/examples/example/default-example_2/object_1", "http://a.ml/vocabularies/document-source-maps#value": "[(40,12)-(43,13)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0", - "http://a.ml/vocabularies/document-source-maps#value": "[(69,14)-(69,20)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0", @@ -4273,6 +4268,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(69,14)-(69,30)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member0", + "http://a.ml/vocabularies/document-source-maps#value": "[(69,14)-(69,20)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1/in/scalar_1", "@type": [ @@ -4333,11 +4333,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1", - "http://a.ml/vocabularies/document-source-maps#value": "[(72,14)-(72,20)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -4354,9 +4349,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(71,12)-(74,13)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a", - "http://a.ml/vocabularies/document-source-maps#value": "[(95,14)-(95,18)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response/payload/default/array/schema/items/scalar/member1", + "http://a.ml/vocabularies/document-source-maps#value": "[(72,14)-(72,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/lexical/element_3", @@ -4379,9 +4374,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(94,12)-(99,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a", - "http://a.ml/vocabularies/document-source-maps#value": "[(106,14)-(106,18)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a", + "http://a.ml/vocabularies/document-source-maps#value": "[(95,14)-(95,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/lexical/element_3", @@ -4404,9 +4399,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(105,12)-(109,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b", - "http://a.ml/vocabularies/document-source-maps#value": "[(110,14)-(110,18)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/a/scalar/a", + "http://a.ml/vocabularies/document-source-maps#value": "[(106,14)-(106,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b/source-map/lexical/element_3", @@ -4428,16 +4423,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b", "http://a.ml/vocabularies/document-source-maps#value": "[(109,12)-(114,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response/payload/default/shape/schema/property/property/b/scalar/b", + "http://a.ml/vocabularies/document-source-maps#value": "[(110,14)-(110,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a/source-map/lexical/element_1" @@ -4445,6 +4440,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -4462,11 +4462,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b/source-map/lexical/element_1" @@ -4474,6 +4469,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -4807,11 +4807,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a", - "http://a.ml/vocabularies/document-source-maps#value": "[(122,16)-(122,20)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a", @@ -4823,9 +4818,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(122,16)-(123,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b", - "http://a.ml/vocabularies/document-source-maps#value": "[(124,16)-(124,20)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/a/scalar/a", + "http://a.ml/vocabularies/document-source-maps#value": "[(122,16)-(122,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b/source-map/lexical/element_1", @@ -4837,6 +4832,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(124,16)-(125,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/shape/not/property/property/b/scalar/b", + "http://a.ml/vocabularies/document-source-maps#value": "[(124,16)-(124,20)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response/payload/default/any/schema/examples/example/default-example_1/object_1/other/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", diff --git a/amf-cli/shared/src/test/resources/validations/async20/draft-7/references.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/draft-7/references.expanded.jsonld index 84e6872cf2..cecc187ff8 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/draft-7/references.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/draft-7/references.expanded.jsonld @@ -295,9 +295,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name" @@ -305,35 +305,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,10)-(11,14)]" + "@value": "[(10,8)-(12,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(12,0)]" + "@value": "[(11,10)-(12,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,10)-(12,0)]" + "@value": "[(11,10)-(11,14)]" } ] } @@ -459,9 +459,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name" @@ -469,35 +469,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,10)-(8,16)]" + "@value": "[(7,8)-(9,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(9,9)]" + "@value": "[(8,10)-(8,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,10)-(8,26)]" + "@value": "[(8,10)-(8,16)]" } ] } @@ -616,9 +616,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName" @@ -626,35 +626,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,10)-(8,16)]" + "@value": "[(7,8)-(9,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,8)-(9,9)]" + "@value": "[(8,10)-(8,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,10)-(8,26)]" + "@value": "[(8,10)-(8,16)]" } ] } @@ -1010,6 +1010,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(5,6)-(5,12)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/source-map/lexical/element_2", @@ -1050,21 +1065,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(5,6)-(5,12)]" - } - ] - } ] } ] @@ -1091,6 +1091,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(5,6)-(5,12)]" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/source-map/lexical/element_2", @@ -1131,21 +1146,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(5,6)-(5,12)]" - } - ] - } ] } ] @@ -1227,6 +1227,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema" + } + ], + "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/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/source-map/lexical/element_2", @@ -1267,21 +1282,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/async20/draft-7/references.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/draft-7/references.flattened.jsonld index c6c7334692..fa2d6e65b1 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/draft-7/references.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/draft-7/references.flattened.jsonld @@ -221,6 +221,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/source-map/lexical/element_2" @@ -231,11 +236,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/source-map/declared-element/element_0" - } ] }, { @@ -353,6 +353,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -368,11 +373,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema", "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(13,59)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/references/0/external/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/references/0/external", @@ -394,11 +394,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name/source-map/lexical/element_1" @@ -406,6 +401,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -477,6 +477,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/source-map/lexical/element_2" @@ -487,11 +492,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -509,11 +509,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/references/0/references/0/external", "http://a.ml/vocabularies/document-source-maps#value": "[(1,0)-(20,1)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name", @@ -524,6 +519,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(12,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(11,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name", "@type": [ @@ -617,6 +617,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/source-map/lexical/element_2" @@ -627,11 +632,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -639,6 +639,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -654,21 +659,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main", "http://a.ml/vocabularies/document-source-maps#value": "[(4,4)-(14,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name/source-map/lexical/element_1" @@ -676,6 +671,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -773,6 +773,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -788,16 +793,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain", "http://a.ml/vocabularies/document-source-maps#value": "[(4,4)-(18,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain", - "http://a.ml/vocabularies/document-source-maps#value": "[(5,6)-(5,12)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name", @@ -808,16 +803,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/property/property/name/scalar/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/lexical/element_1" @@ -825,6 +820,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -886,11 +886,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(16,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName", @@ -901,6 +896,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/property/property/anotherName/scalar/anotherName", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,10)-(8,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7/references.yaml#/declares/shape/MySchema/property/property/age/shape/main/shape/anotherMain/shape/if/property/property/anotherCountry/any/anotherCountry/list", "@type": "http://www.w3.org/2000/01/rdf-schema#Seq", diff --git a/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.expanded.jsonld index d3f5d4b6e9..d5869d4d3d 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.expanded.jsonld @@ -748,9 +748,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1" @@ -758,14 +758,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,19)-(23,29)]" + "@value": "bindings" } ] } ], - "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1" @@ -773,7 +773,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "bindings" + "@value": "[(23,19)-(23,29)]" } ] } @@ -928,9 +928,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" @@ -938,35 +938,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(69,10)-(69,14)]" + "@value": "[(68,8)-(69,22)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(68,8)-(69,22)]" + "@value": "[(69,10)-(69,22)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(69,10)-(69,22)]" + "@value": "[(69,10)-(69,14)]" } ] } @@ -1553,9 +1553,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1" @@ -1563,14 +1563,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(66,23)-(66,34)]" + "@value": "bindings" } ] } ], - "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1" @@ -1578,7 +1578,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "bindings" + "@value": "[(66,23)-(66,34)]" } ] } @@ -2184,9 +2184,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1" @@ -2194,14 +2194,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(53,21)-(53,34)]" + "@value": "bindings" } ] } ], - "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1" @@ -2209,7 +2209,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "bindings" + "@value": "[(53,21)-(53,34)]" } ] } @@ -2930,9 +2930,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1" @@ -2940,14 +2940,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,19)-(39,30)]" + "@value": "bindings" } ] } ], - "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1" @@ -2955,7 +2955,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "bindings" + "@value": "[(39,19)-(39,30)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.flattened.jsonld index aac131fd22..693b20c677 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.flattened.jsonld @@ -532,14 +532,14 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1/source-map/lexical/element_0" } ] }, @@ -844,14 +844,14 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1/source-map/lexical/element_0" } ] }, @@ -1069,14 +1069,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(23,19)-(23,29)]" + "http://a.ml/vocabularies/document-source-maps#value": "bindings" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/customDomainProperties/extension/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "bindings" + "http://a.ml/vocabularies/document-source-maps#value": "[(23,19)-(23,29)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default", @@ -1319,14 +1319,14 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1/source-map/lexical/element_0" } ] }, @@ -1525,14 +1525,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,19)-(39,30)]" + "http://a.ml/vocabularies/document-source-maps#value": "bindings" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/customDomainProperties/extension/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "bindings" + "http://a.ml/vocabularies/document-source-maps#value": "[(39,19)-(39,30)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/server/some.com/server-bindings/bindings/mqtt5/source-map/lexical/element_1", @@ -1838,14 +1838,14 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#orphan-oas-extension": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1/source-map/lexical/element_0" } ] }, @@ -2011,14 +2011,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(53,21)-(53,34)]" + "http://a.ml/vocabularies/document-source-maps#value": "bindings" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/customDomainProperties/extension/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "bindings" + "http://a.ml/vocabularies/document-source-maps#value": "[(53,21)-(53,34)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/mqtt5/source-map/lexical/element_1", @@ -2140,11 +2140,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -2152,6 +2147,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2311,14 +2311,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(66,23)-(66,34)]" + "http://a.ml/vocabularies/document-source-maps#value": "bindings" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1/source-map/orphan-oas-extension/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/customDomainProperties/extension/scalar_1", - "http://a.ml/vocabularies/document-source-maps#value": "bindings" + "http://a.ml/vocabularies/document-source-maps#value": "[(66,23)-(66,34)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/mqtt5/source-map/lexical/element_1", @@ -2410,11 +2410,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#type", "http://a.ml/vocabularies/document-source-maps#value": "[(52,8)-(52,13)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(69,10)-(69,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", @@ -2425,6 +2420,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(69,10)-(69,22)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(69,10)-(69,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt5/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt5", diff --git a/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.expanded.jsonld index 161e34c80e..c09939d5fc 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.expanded.jsonld @@ -130,9 +130,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some" @@ -140,35 +140,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,18)-(16,22)]" + "@value": "[(15,16)-(16,30)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,16)-(16,30)]" + "@value": "[(16,18)-(16,30)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,18)-(16,30)]" + "@value": "[(16,18)-(16,22)]" } ] } @@ -253,9 +253,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema" @@ -263,35 +263,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,20)-(16,30)]" + "@value": "[(13,14)-(13,18)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,14)-(16,30)]" + "@value": "[(12,20)-(16,30)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,14)-(13,18)]" + "@value": "[(14,14)-(16,30)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.flattened.jsonld index 973fe3c5cb..409f6f37e8 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.flattened.jsonld @@ -332,6 +332,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/source-map/lexical/element_1" @@ -339,11 +344,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -408,6 +408,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,14)-(13,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema", @@ -418,21 +423,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(14,14)-(16,30)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,14)-(13,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1" @@ -440,6 +435,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -452,11 +452,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some", "http://a.ml/vocabularies/document-source-maps#value": "[(15,16)-(16,30)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some", - "http://a.ml/vocabularies/document-source-maps#value": "[(16,18)-(16,22)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some", @@ -467,6 +462,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(16,18)-(16,30)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/http-message-020/shape/schema/property/property/some/scalar/some", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,18)-(16,22)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.expanded.jsonld index 03a2e22591..5b4da80176 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.expanded.jsonld @@ -131,9 +131,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some" @@ -141,35 +141,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,16)-(18,20)]" + "@value": "[(17,14)-(18,28)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,14)-(18,28)]" + "@value": "[(18,16)-(18,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,16)-(18,28)]" + "@value": "[(18,16)-(18,20)]" } ] } @@ -254,9 +254,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema" @@ -264,35 +264,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,16)-(18,28)]" + "@value": "[(15,12)-(15,16)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,12)-(18,28)]" + "@value": "[(14,16)-(18,28)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,12)-(15,16)]" + "@value": "[(16,12)-(18,28)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.flattened.jsonld index dcae2b410d..cf9d273567 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.flattened.jsonld @@ -295,6 +295,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/source-map/lexical/element_1" @@ -302,11 +307,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -381,6 +381,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,12)-(15,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema", @@ -391,21 +396,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(16,12)-(18,28)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,12)-(15,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1" @@ -413,6 +408,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -425,11 +425,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some", "http://a.ml/vocabularies/document-source-maps#value": "[(17,14)-(18,28)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,16)-(18,20)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some", @@ -440,6 +435,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(18,16)-(18,28)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010/shape/schema/property/property/some/scalar/some", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,16)-(18,20)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.expanded.jsonld index 868b2a47aa..a826afff78 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.expanded.jsonld @@ -106,21 +106,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(13,14)-(13,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema/source-map/lexical/element_2", @@ -161,6 +146,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(13,14)-(13,18)]" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.flattened.jsonld index a004864532..38029d6f3c 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.flattened.jsonld @@ -303,11 +303,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema/source-map/lexical/element_2" @@ -318,6 +313,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -340,11 +340,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010", "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(15,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(13,14)-(13,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -360,6 +355,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(12,16)-(15,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings/bindings/kafka-message-010/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,14)-(13,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.expanded.jsonld index c0258bab7a..22a5b12593 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.expanded.jsonld @@ -97,21 +97,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(12,12)-(12,16)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema/source-map/lexical/element_2", @@ -152,6 +137,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(12,12)-(12,16)]" + } + ] + } ] } ] @@ -265,21 +265,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(15,12)-(15,16)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1/source-map/lexical/element_2", @@ -320,6 +305,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(15,12)-(15,16)]" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.flattened.jsonld index c1c9817c30..34b8901c3b 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.flattened.jsonld @@ -290,11 +290,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema/source-map/lexical/element_2" @@ -305,6 +300,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -319,11 +319,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1/source-map/lexical/element_2" @@ -334,6 +329,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -361,11 +361,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation", "http://a.ml/vocabularies/document-source-maps#value": "[(10,8)-(17,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,12)-(12,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -381,6 +376,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(11,18)-(14,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,12)-(12,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1/in/scalar_1", "@type": [ @@ -401,11 +401,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,12)-(15,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -421,6 +416,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1", "http://a.ml/vocabularies/document-source-maps#value": "[(14,19)-(17,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,12)-(15,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation/scalar/schema_1/in/scalar_1/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/message-obj.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/message-obj.expanded.jsonld index 9966f3e2b3..2b1f73100d 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/message-obj.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/message-obj.expanded.jsonld @@ -182,9 +182,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema" @@ -192,35 +192,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,10)-(22,14)]" + "@value": "[(21,8)-(23,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,8)-(23,0)]" + "@value": "[(22,10)-(23,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,10)-(23,0)]" + "@value": "[(22,10)-(22,14)]" } ] } @@ -1519,9 +1519,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a" @@ -1529,35 +1529,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,14)-(18,18)]" + "@value": "[(17,12)-(19,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,12)-(19,0)]" + "@value": "[(18,14)-(19,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,14)-(19,0)]" + "@value": "[(18,14)-(18,18)]" } ] } @@ -1654,9 +1654,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b" @@ -1664,35 +1664,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,14)-(20,18)]" + "@value": "[(19,12)-(21,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,12)-(21,0)]" + "@value": "[(20,14)-(21,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,14)-(21,0)]" + "@value": "[(20,14)-(20,18)]" } ] } @@ -1777,9 +1777,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema" @@ -1787,35 +1787,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,8)-(21,0)]" + "@value": "[(15,10)-(15,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,10)-(21,0)]" + "@value": "[(14,8)-(21,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,10)-(15,14)]" + "@value": "[(16,10)-(21,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/message-obj.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/message-obj.flattened.jsonld index 81d8cf6e9c..36243d067c 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/message-obj.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/message-obj.flattened.jsonld @@ -800,6 +800,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/source-map/lexical/element_1" @@ -807,11 +812,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -869,11 +869,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1" @@ -881,6 +876,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1264,6 +1264,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,10)-(15,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema", @@ -1274,16 +1279,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(16,10)-(21,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,10)-(15,14)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(22,10)-(22,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema", @@ -1294,6 +1289,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(22,10)-(23,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(22,10)-(22,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/examples/example/default-example_2/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1445,11 +1445,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1" @@ -1457,6 +1452,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1474,11 +1474,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b/source-map/lexical/element_1" @@ -1486,6 +1481,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1558,11 +1558,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/headerExamples/example/default-example_4/object_1/b", "http://a.ml/vocabularies/document-source-maps#value": "[(45,17)-(45,18)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,14)-(18,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a", @@ -1574,9 +1569,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(18,14)-(19,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,14)-(20,18)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/a/scalar/a", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,14)-(18,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b/source-map/lexical/element_1", @@ -1588,6 +1583,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(20,14)-(21,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/shape/schema/property/property/b/scalar/b", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,14)-(20,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.expanded.jsonld index 40f168d995..f3ef02e96c 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.expanded.jsonld @@ -371,21 +371,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(21,14)-(21,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema/source-map/lexical/element_2", @@ -426,6 +411,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(21,14)-(21,18)]" + } + ] + } ] } ] @@ -1189,21 +1189,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(45,10)-(45,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID/source-map/lexical/element_2", @@ -1244,6 +1229,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(45,10)-(45,14)]" + } + ] + } ] } ] @@ -1340,6 +1340,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema" + } + ], + "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/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map/lexical/element_2", @@ -1380,21 +1395,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.flattened.jsonld index aa748bd110..8ef148a5ae 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.flattened.jsonld @@ -772,11 +772,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema/source-map/lexical/element_2" @@ -787,6 +782,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -863,6 +863,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map/lexical/element_2" @@ -873,11 +878,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map/declared-element/element_0" - } ] }, { @@ -915,11 +915,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#contentType", "http://a.ml/vocabularies/document-source-maps#value": "[(35,12)-(36,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(21,14)-(21,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -935,6 +930,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(20,28)-(23,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request/message-bindings/bindings/mqtt-message-020/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(21,14)-(21,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID", "@type": [ @@ -983,6 +983,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema", "http://a.ml/vocabularies/document-source-maps#value": "[(42,6)-(42,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", @@ -998,21 +1003,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema", "http://a.ml/vocabularies/document-source-maps#value": "[(41,4)-(46,55)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID/source-map/lexical/element_2" @@ -1023,6 +1018,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1035,11 +1035,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID", "http://a.ml/vocabularies/document-source-maps#value": "[(44,8)-(46,55)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID", - "http://a.ml/vocabularies/document-source-maps#value": "[(45,10)-(45,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1055,6 +1050,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID", "http://a.ml/vocabularies/document-source-maps#value": "[(44,8)-(46,55)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/declares/shape/testSchema/property/property/eventID/scalar/eventID", + "http://a.ml/vocabularies/document-source-maps#value": "[(45,10)-(45,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml", "http://a.ml/vocabularies/document#declares": [ 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 a0501b8e9a..7f4dfec00d 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 @@ -159,9 +159,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema/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/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema" @@ -169,35 +169,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,10)-(23,14)]" + "@value": "[(22,8)-(25,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(22,8)-(25,0)]" + "@value": "[(23,10)-(25,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,10)-(25,0)]" + "@value": "[(23,10)-(23,14)]" } ] } @@ -514,9 +514,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema/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/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema" @@ -524,35 +524,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,10)-(29,14)]" + "@value": "[(28,8)-(30,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,8)-(30,0)]" + "@value": "[(29,10)-(30,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,10)-(30,0)]" + "@value": "[(29,10)-(29,14)]" } ] } 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 a5f1430bc1..b00222d26f 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 @@ -553,11 +553,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema/source-map/lexical/element_1" @@ -565,6 +560,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -582,11 +582,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema/source-map/lexical/element_1" @@ -594,6 +589,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -606,11 +606,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(28,8)-(30,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(23,10)-(23,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema/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/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema", @@ -622,9 +617,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(23,10)-(25,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(29,10)-(29,14)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/expects/request/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(23,10)-(23,14)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema/source-map/lexical/element_1", @@ -636,6 +631,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(29,10)-(30,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/subscribe/subscribe%20operation/returns/resp/default-response/payload/default/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(29,10)-(29,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.expanded.jsonld index a904ce2d4c..3582a69896 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.expanded.jsonld @@ -154,11 +154,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#18": "[(15,8)-(19,0)]" - }, "type-property-lexical-info": { "#18": "[(16,10)-(16,14)]" + }, + "lexical": { + "#18": "[(15,8)-(19,0)]" } } } @@ -362,17 +362,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#8": "amf://id#10" - }, - "lexical": { - "#8": "[(3,0)-(6,0)]" - }, "type-property-lexical-info": { "#8": "[(3,0)-(3,4)]" }, "resolved-link-target": { "#8": "amf://id#8" + }, + "resolved-link": { + "#8": "amf://id#10" + }, + "lexical": { + "#8": "[(3,0)-(6,0)]" } } } @@ -520,14 +520,14 @@ } ], "smaps": { - "declared-element": { - "#11": "" - }, "lexical": { "shacl:name": "[(8,4)-(8,10)]", "#11": "[(8,4)-(10,0)]", "shacl:datatype": "[(9,6)-(10,0)]" }, + "declared-element": { + "#11": "" + }, "type-property-lexical-info": { "#11": "[(9,6)-(9,10)]" } diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.flattened.jsonld index 3b0e3d1f3b..6f748da364 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.flattened.jsonld @@ -137,11 +137,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#18": "[(15,8)-(19,0)]" - }, "type-property-lexical-info": { "#18": "[(16,10)-(16,14)]" + }, + "lexical": { + "#18": "[(15,8)-(19,0)]" } } }, @@ -194,17 +194,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#8": "amf://id#10" - }, - "lexical": { - "#8": "[(3,0)-(6,0)]" - }, "type-property-lexical-info": { "#8": "[(3,0)-(3,4)]" }, "resolved-link-target": { "#8": "amf://id#8" + }, + "resolved-link": { + "#8": "amf://id#10" + }, + "lexical": { + "#8": "[(3,0)-(6,0)]" } } }, @@ -362,14 +362,14 @@ ], "shacl:name": "Person", "smaps": { - "declared-element": { - "#11": "" - }, "lexical": { "shacl:name": "[(8,4)-(8,10)]", "#11": "[(8,4)-(10,0)]", "shacl:datatype": "[(9,6)-(10,0)]" }, + "declared-element": { + "#11": "" + }, "type-property-lexical-info": { "#11": "[(9,6)-(9,10)]" } diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.expanded.jsonld index 7122336cc9..416c00d468 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.expanded.jsonld @@ -284,14 +284,14 @@ } ], "smaps": { - "declared-element": { - "#6": "" - }, "lexical": { "shacl:name": "[(8,4)-(8,10)]", "#6": "[(8,4)-(10,0)]", "shacl:datatype": "[(9,6)-(10,0)]" }, + "declared-element": { + "#6": "" + }, "type-property-lexical-info": { "#6": "[(9,6)-(9,10)]" } diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.flattened.jsonld index 7532cef3ae..fbd09b10cb 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.flattened.jsonld @@ -237,14 +237,14 @@ ], "shacl:name": "Person", "smaps": { - "declared-element": { - "#6": "" - }, "lexical": { "shacl:name": "[(8,4)-(8,10)]", "#6": "[(8,4)-(10,0)]", "shacl:datatype": "[(9,6)-(10,0)]" }, + "declared-element": { + "#6": "" + }, "type-property-lexical-info": { "#6": "[(9,6)-(9,10)]" } diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.expanded.jsonld index ab88cc78b6..396d429053 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.expanded.jsonld @@ -240,14 +240,14 @@ } ], "smaps": { - "declared-element": { - "#4": "" - }, "lexical": { "shacl:name": "[(8,4)-(8,8)]", "#4": "[(8,4)-(11,0)]", "shacl:datatype": "[(9,6)-(11,0)]" }, + "declared-element": { + "#4": "" + }, "type-property-lexical-info": { "#4": "[(9,6)-(9,10)]" } diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.flattened.jsonld index 422119ffb7..e82300d71b 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.flattened.jsonld @@ -193,14 +193,14 @@ ], "shacl:name": "User", "smaps": { - "declared-element": { - "#4": "" - }, "lexical": { "shacl:name": "[(8,4)-(8,8)]", "#4": "[(8,4)-(11,0)]", "shacl:datatype": "[(9,6)-(11,0)]" }, + "declared-element": { + "#4": "" + }, "type-property-lexical-info": { "#4": "[(9,6)-(9,10)]" } diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.expanded.jsonld index cacca22cb7..3d89a7d332 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.expanded.jsonld @@ -241,15 +241,6 @@ } ], "smaps": { - "inherited-shapes": { - "#3": "amf://id#7" - }, - "resolved-link": { - "#3": "amf://id#6" - }, - "type-property-lexical-info": { - "#3": "[(8,4)-(8,8)]" - }, "lexical": { "shacl:name": "[(7,2)-(7,7)]", "#3": "[(7,8)-(9,0)]" @@ -259,6 +250,15 @@ }, "resolved-link-target": { "#3": "amf://id#3" + }, + "inherited-shapes": { + "#3": "amf://id#6" + }, + "resolved-link": { + "#3": "amf://id#7" + }, + "type-property-lexical-info": { + "#3": "[(8,4)-(8,8)]" } } }, @@ -289,15 +289,6 @@ } ], "smaps": { - "inherited-shapes": { - "#2": "amf://id#10" - }, - "resolved-link": { - "#2": "amf://id#9" - }, - "type-property-lexical-info": { - "#2": "[(5,4)-(5,8)]" - }, "lexical": { "shacl:name": "[(4,2)-(4,6)]", "#2": "[(4,7)-(7,0)]" @@ -307,6 +298,15 @@ }, "resolved-link-target": { "#2": "amf://id#2" + }, + "inherited-shapes": { + "#2": "amf://id#9" + }, + "resolved-link": { + "#2": "amf://id#10" + }, + "type-property-lexical-info": { + "#2": "[(5,4)-(5,8)]" } } }, @@ -362,15 +362,6 @@ } ], "smaps": { - "inherited-shapes": { - "#3": "amf://id#7" - }, - "resolved-link": { - "#3": "amf://id#6" - }, - "type-property-lexical-info": { - "#3": "[(8,4)-(8,8)]" - }, "lexical": { "shacl:name": "[(7,2)-(7,7)]", "#3": "[(7,8)-(9,0)]" @@ -380,6 +371,15 @@ }, "resolved-link-target": { "#3": "amf://id#3" + }, + "inherited-shapes": { + "#3": "amf://id#6" + }, + "resolved-link": { + "#3": "amf://id#7" + }, + "type-property-lexical-info": { + "#3": "[(8,4)-(8,8)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.flattened.jsonld index b81ede4a46..1ef89de5da 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.flattened.jsonld @@ -136,15 +136,6 @@ ], "shacl:name": "User", "smaps": { - "inherited-shapes": { - "#2": "amf://id#10" - }, - "resolved-link": { - "#2": "amf://id#9" - }, - "type-property-lexical-info": { - "#2": "[(5,4)-(5,8)]" - }, "lexical": { "shacl:name": "[(4,2)-(4,6)]", "#2": "[(4,7)-(7,0)]" @@ -154,6 +145,15 @@ }, "resolved-link-target": { "#2": "amf://id#2" + }, + "inherited-shapes": { + "#2": "amf://id#9" + }, + "resolved-link": { + "#2": "amf://id#10" + }, + "type-property-lexical-info": { + "#2": "[(5,4)-(5,8)]" } } }, @@ -176,15 +176,6 @@ ], "shacl:name": "Other", "smaps": { - "inherited-shapes": { - "#3": "amf://id#7" - }, - "resolved-link": { - "#3": "amf://id#6" - }, - "type-property-lexical-info": { - "#3": "[(8,4)-(8,8)]" - }, "lexical": { "shacl:name": "[(7,2)-(7,7)]", "#3": "[(7,8)-(9,0)]" @@ -194,6 +185,15 @@ }, "resolved-link-target": { "#3": "amf://id#3" + }, + "inherited-shapes": { + "#3": "amf://id#6" + }, + "resolved-link": { + "#3": "amf://id#7" + }, + "type-property-lexical-info": { + "#3": "[(8,4)-(8,8)]" } } }, 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 c0bab92cc2..0dfba2534c 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 @@ -367,21 +367,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(39,14)-(39,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result/source-map/lexical/element_2", @@ -422,6 +407,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,14)-(39,18)]" + } + ] + } ] } ] @@ -503,9 +503,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema" @@ -513,35 +513,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,8)-(43,0)]" + "@value": "[(36,10)-(36,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,10)-(43,0)]" + "@value": "[(35,8)-(43,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(36,10)-(36,14)]" + "@value": "[(37,10)-(43,0)]" } ] } @@ -943,21 +943,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(20,10)-(20,14)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema/source-map/lexical/element_2", @@ -998,6 +983,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(20,10)-(20,14)]" + } + ] + } ] } ] @@ -1455,9 +1455,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items/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/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items" @@ -1465,35 +1465,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,16)-(63,20)]" + "@value": "[(62,14)-(64,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(62,14)-(64,0)]" + "@value": "[(63,16)-(64,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,16)-(64,0)]" + "@value": "[(63,16)-(63,20)]" } ] } @@ -1777,21 +1777,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(61,14)-(61,18)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/source-map/lexical/element_2", @@ -1832,6 +1817,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(61,14)-(61,18)]" + } + ] + } ] } ] @@ -1913,9 +1913,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema" @@ -1923,35 +1923,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(57,8)-(65,23)]" + "@value": "[(58,10)-(58,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(59,10)-(65,23)]" + "@value": "[(57,8)-(65,23)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(58,10)-(58,14)]" + "@value": "[(59,10)-(65,23)]" } ] } 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 d630f34734..d2c7595531 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 @@ -700,11 +700,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema/source-map/lexical/element_2" @@ -715,6 +710,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1015,11 +1015,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindings", "http://a.ml/vocabularies/document-source-maps#value": "[(30,0)-(32,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1035,6 +1030,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(19,8)-(22,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/parameter/parameter/path/queue/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,10)-(20,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/channel-bindings/bindings/amqp091-channel-020/amqp091-queue-020/source-map", "@type": [ @@ -1257,6 +1257,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_1" @@ -1264,11 +1269,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -1360,6 +1360,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/source-map/lexical/element_1" @@ -1367,11 +1372,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -1488,6 +1488,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,10)-(36,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/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/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema", @@ -1498,11 +1503,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(37,10)-(43,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(36,10)-(36,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers", "@type": [ @@ -1548,6 +1548,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(58,10)-(58,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/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/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema", @@ -1558,11 +1563,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(59,10)-(65,23)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(58,10)-(58,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/message-bindings/bindings/amqp091-message/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#bindingVersion", @@ -1606,11 +1606,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result/source-map/lexical/element_2" @@ -1621,6 +1616,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1677,11 +1677,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/source-map/lexical/element_2" @@ -1692,6 +1687,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1743,11 +1743,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,14)-(39,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1763,16 +1758,16 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result", "http://a.ml/vocabularies/document-source-maps#value": "[(38,12)-(43,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,14)-(39,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items/source-map/lexical/element_1" @@ -1780,6 +1775,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1824,11 +1824,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers", - "http://a.ml/vocabularies/document-source-maps#value": "[(61,14)-(61,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", @@ -1844,6 +1839,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers", "http://a.ml/vocabularies/document-source-maps#value": "[(60,12)-(65,23)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers", + "http://a.ml/vocabularies/document-source-maps#value": "[(61,14)-(61,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result/examples/example/default-example_1/scalar_1/source-map", "@type": [ @@ -1878,11 +1878,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default/shape/schema/property/property/result/scalar/result/examples/example/default-example_1", "http://a.ml/vocabularies/document-source-maps#value": "[(41,18)-(41,19)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items", - "http://a.ml/vocabularies/document-source-maps#value": "[(63,16)-(63,20)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items/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/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items", @@ -1893,6 +1888,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(63,16)-(64,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/scalar/items", + "http://a.ml/vocabularies/document-source-maps#value": "[(63,16)-(63,20)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/supportedOperation/publish/sum/expects/request/payload/default/shape/schema/property/property/numbers/array/numbers/examples/example/default-example_1/array_1/member/scalar_2", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/security-schemes.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/security-schemes.expanded.jsonld index b95fa5cb5f..291d115b5e 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/security-schemes.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/security-schemes.expanded.jsonld @@ -90,21 +90,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/userPassword/source-map/lexical/element_3", @@ -158,6 +143,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -309,21 +309,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/apiKey/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/apiKey/source-map/lexical/element_4", @@ -390,6 +375,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -527,21 +527,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey/source-map/lexical/element_4", @@ -608,6 +593,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -708,21 +708,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/X509/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/X509" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/X509/source-map/lexical/element_3", @@ -776,6 +761,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/X509/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/X509" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -876,21 +876,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption/source-map/lexical/element_3", @@ -944,6 +929,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1113,21 +1113,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/http/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/http/source-map/lexical/element_4", @@ -1194,6 +1179,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -2076,21 +2076,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", @@ -2157,6 +2142,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -2425,21 +2425,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect/source-map/lexical/element_4", @@ -2506,6 +2491,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -2793,21 +2793,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption/source-map/lexical/element_3", @@ -2861,7 +2846,22 @@ } ] } - ] + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] } ] }, @@ -2892,21 +2892,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/scramSha256/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha256" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/scramSha256/source-map/lexical/element_3", @@ -2960,6 +2945,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha256/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha256" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -2991,21 +2991,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/asymmetricEncryption/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/asymmetricEncryption" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/asymmetricEncryption/source-map/lexical/element_3", @@ -3059,6 +3044,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/asymmetricEncryption/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/asymmetricEncryption" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3141,21 +3141,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/apiKey/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/apiKey/source-map/lexical/element_4", @@ -3222,6 +3207,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3253,21 +3253,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/userPassword/source-map/lexical/element_3", @@ -3321,6 +3306,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3421,21 +3421,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey/source-map/lexical/element_4", @@ -3502,6 +3487,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3533,21 +3533,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/plain/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/plain" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/plain/source-map/lexical/element_3", @@ -3601,6 +3586,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/plain/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/plain" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3632,21 +3632,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/gssapi/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/gssapi" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/gssapi/source-map/lexical/element_3", @@ -3700,6 +3685,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/gssapi/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/gssapi" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3731,21 +3731,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512/source-map/lexical/element_3", @@ -3799,6 +3784,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -3899,21 +3899,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/http/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/http/source-map/lexical/element_4", @@ -3980,6 +3965,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -4011,21 +4011,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/X509/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/X509" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/X509/source-map/lexical/element_3", @@ -4079,6 +4064,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/X509/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/X509" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -4161,21 +4161,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect/source-map/lexical/element_4", @@ -4242,6 +4227,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -5055,21 +5055,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2" - } - ], - "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/validations/async20/security-schemes.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", @@ -5136,6 +5121,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/async20/security-schemes.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/security-schemes.flattened.jsonld index b5cf05074e..2f07dbdfa6 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/security-schemes.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/security-schemes.flattened.jsonld @@ -784,11 +784,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword/source-map/lexical/element_3" @@ -802,6 +797,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0" + } ] }, { @@ -828,11 +828,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/apiKey/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey/source-map/lexical/element_4" @@ -849,6 +844,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey/source-map/declared-element/element_0" + } ] }, { @@ -876,11 +876,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey/source-map/lexical/element_4" @@ -897,6 +892,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey/source-map/declared-element/element_0" + } ] }, { @@ -909,11 +909,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/X509/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/X509/source-map/lexical/element_3" @@ -927,6 +922,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/X509/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/X509/source-map/declared-element/element_0" + } ] }, { @@ -939,11 +939,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption/source-map/lexical/element_3" @@ -957,6 +952,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption/source-map/declared-element/element_0" + } ] }, { @@ -984,11 +984,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/http/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http/source-map/lexical/element_4" @@ -1005,6 +1000,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http/source-map/declared-element/element_0" + } ] }, { @@ -1044,11 +1044,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2/source-map/lexical/element_4" @@ -1065,6 +1060,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0" + } ] }, { @@ -1119,11 +1119,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect/source-map/lexical/element_4" @@ -1140,6 +1135,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect/source-map/declared-element/element_0" + } ] }, { @@ -1158,11 +1158,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/async-api/server/https%3A%2F%2Fgoogle.com/security/requirement_7/schemes/openIdConnect", "http://a.ml/vocabularies/document-source-maps#value": "[(91,8)-(91,25)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -1183,6 +1178,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword", "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(11,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/userPassword", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey/settings/api-key/source-map", "@type": [ @@ -1197,11 +1197,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -1227,6 +1222,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(11,4)-(11,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/apiKey", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey/settings/http-api-key/source-map", "@type": [ @@ -1244,11 +1244,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -1275,8 +1270,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(24,4)-(24,14)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/X509/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/X509", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/httpApiKey", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -1300,8 +1295,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(15,4)-(18,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/X509/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/X509", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -1324,6 +1319,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption", "http://a.ml/vocabularies/document-source-maps#value": "[(18,4)-(21,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/symmetricEncryption", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http/settings/http/source-map", "@type": [ @@ -1341,11 +1341,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -1371,6 +1366,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(29,4)-(29,8)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/http", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2/settings/oauth2/flows/implicit", "@type": [ @@ -1478,11 +1478,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -1508,6 +1503,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(34,4)-(34,10)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/oauth2", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/async-api/server/https%3A%2F%2Fgoogle.com/security/requirement_6/schemes/oauth2/settings/oauth2/flows/default-flow/scope/write%3Apets", "@type": [ @@ -1556,11 +1556,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -1586,6 +1581,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(63,4)-(63,17)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/openIdConnect", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/async-api/server/https%3A%2F%2Fgoogle.com/security/requirement_7/schemes/openIdConnect/settings/open-id-connect/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#scope", @@ -2254,11 +2254,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/scramSha256/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha256/source-map/lexical/element_3" @@ -2272,6 +2267,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha256/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha256/source-map/declared-element/element_0" + } ] }, { @@ -2279,11 +2279,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/asymmetricEncryption/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/asymmetricEncryption/source-map/lexical/element_3" @@ -2297,6 +2292,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/asymmetricEncryption/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/asymmetricEncryption/source-map/declared-element/element_0" + } ] }, { @@ -2304,11 +2304,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/plain/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/plain/source-map/lexical/element_3" @@ -2322,6 +2317,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/plain/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/plain/source-map/declared-element/element_0" + } ] }, { @@ -2329,11 +2329,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/gssapi/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/gssapi/source-map/lexical/element_3" @@ -2347,6 +2342,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/gssapi/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/gssapi/source-map/declared-element/element_0" + } ] }, { @@ -2354,11 +2354,6 @@ "@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/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512/source-map/lexical/element_3" @@ -2372,13 +2367,13 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512/source-map/declared-element/element_0" + } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha256/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha256", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha256/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -2400,8 +2395,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(70,4)-(73,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/asymmetricEncryption/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/asymmetricEncryption", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha256/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha256", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -2425,8 +2420,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(21,4)-(24,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/plain/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/plain", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/asymmetricEncryption/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/asymmetricEncryption", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -2450,8 +2445,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(67,4)-(70,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/gssapi/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/gssapi", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/plain/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/plain", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -2475,8 +2470,8 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(76,4)-(79,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/gssapi/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/gssapi", "http://a.ml/vocabularies/document-source-maps#value": "" }, { @@ -2498,6 +2493,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512", "http://a.ml/vocabularies/document-source-maps#value": "[(73,4)-(76,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/security-schemes.yaml#/declares/scheme/scramSha512", + "http://a.ml/vocabularies/document-source-maps#value": "" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.expanded.jsonld index 94ba5b6ae2..3f6c81953a 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.expanded.jsonld @@ -123,13 +123,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#19": "[(15,14)-(15,18)]" - }, "lexical": { "raml-shapes:format": "[(16,14)-(18,0)]", "#19": "[(14,12)-(18,0)]", "shacl:datatype": "[(15,14)-(16,0)]" + }, + "type-property-lexical-info": { + "#19": "[(15,14)-(15,18)]" } } } @@ -163,11 +163,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#17": "[(11,8)-(18,0)]" - }, "type-property-lexical-info": { "#17": "[(12,10)-(12,14)]" + }, + "lexical": { + "#17": "[(11,8)-(18,0)]" } } } @@ -445,13 +445,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#8": "[(19,8)-(19,12)]" - }, "lexical": { "core:description": "[(18,8)-(19,0)]", "#8": "[(17,6)-(20,0)]", "shacl:datatype": "[(19,8)-(20,0)]" + }, + "type-property-lexical-info": { + "#8": "[(19,8)-(19,12)]" } } } @@ -485,11 +485,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#6": "[(14,2)-(20,0)]" - }, "type-property-lexical-info": { "#6": "[(15,4)-(15,8)]" + }, + "lexical": { + "#6": "[(14,2)-(20,0)]" } } } @@ -498,12 +498,6 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, - "declared-element": { - "#4": "" - }, - "resolved-link": { - "#4": "amf://id#4" - }, "lexical": { "apiContract:headerSchema": "[(14,2)-(20,0)]", "core:title": "[(6,2)-(7,0)]", @@ -516,6 +510,12 @@ "resolved-link-target": { "#4": "amf://id#10" }, + "declared-element": { + "#4": "" + }, + "resolved-link": { + "#4": "amf://id#4" + }, "virtual-element": { "apiContract:payload": "true" } diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.flattened.jsonld index d177d5a741..a75033c486 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.flattened.jsonld @@ -135,11 +135,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#17": "[(11,8)-(18,0)]" - }, "type-property-lexical-info": { "#17": "[(12,10)-(12,14)]" + }, + "lexical": { + "#17": "[(11,8)-(18,0)]" } } }, @@ -187,13 +187,13 @@ "raml-shapes:format": "email", "shacl:name": "email", "smaps": { - "type-property-lexical-info": { - "#19": "[(15,14)-(15,18)]" - }, "lexical": { "raml-shapes:format": "[(16,14)-(18,0)]", "#19": "[(14,12)-(18,0)]", "shacl:datatype": "[(15,14)-(16,0)]" + }, + "type-property-lexical-info": { + "#19": "[(15,14)-(15,18)]" } } }, @@ -265,12 +265,6 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, - "declared-element": { - "#4": "" - }, - "resolved-link": { - "#4": "amf://id#4" - }, "lexical": { "apiContract:headerSchema": "[(14,2)-(20,0)]", "core:title": "[(6,2)-(7,0)]", @@ -283,6 +277,12 @@ "resolved-link-target": { "#4": "amf://id#10" }, + "declared-element": { + "#4": "" + }, + "resolved-link": { + "#4": "amf://id#4" + }, "virtual-element": { "apiContract:payload": "true" } @@ -362,11 +362,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#6": "[(14,2)-(20,0)]" - }, "type-property-lexical-info": { "#6": "[(15,4)-(15,8)]" + }, + "lexical": { + "#6": "[(14,2)-(20,0)]" } } }, @@ -414,13 +414,13 @@ "shacl:name": "applicationInstanceId", "core:description": "Unique identifier", "smaps": { - "type-property-lexical-info": { - "#8": "[(19,8)-(19,12)]" - }, "lexical": { "core:description": "[(18,8)-(19,0)]", "#8": "[(17,6)-(20,0)]", "shacl:datatype": "[(19,8)-(20,0)]" + }, + "type-property-lexical-info": { + "#8": "[(19,8)-(19,12)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.expanded.jsonld index 8433d06515..409acc1c40 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.expanded.jsonld @@ -123,13 +123,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#13": "[(15,14)-(15,18)]" - }, "lexical": { "raml-shapes:format": "[(16,14)-(18,0)]", "#13": "[(14,12)-(18,0)]", "shacl:datatype": "[(15,14)-(16,0)]" + }, + "type-property-lexical-info": { + "#13": "[(15,14)-(15,18)]" } } } @@ -163,11 +163,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#11": "[(11,8)-(18,0)]" - }, "type-property-lexical-info": { "#11": "[(12,10)-(12,14)]" + }, + "lexical": { + "#11": "[(11,8)-(18,0)]" } } } @@ -332,13 +332,13 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, + "declared-element": { + "#4": "" + }, "lexical": { "core:description": "[(2,2)-(4,0)]", "#4": "[(1,17)-(4,0)]", "core:name": "[(1,0)-(1,0)]" - }, - "declared-element": { - "#4": "" } } } diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.flattened.jsonld index c6424ed368..df7d14a901 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.flattened.jsonld @@ -135,11 +135,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#11": "[(11,8)-(18,0)]" - }, "type-property-lexical-info": { "#11": "[(12,10)-(12,14)]" + }, + "lexical": { + "#11": "[(11,8)-(18,0)]" } } }, @@ -187,13 +187,13 @@ "raml-shapes:format": "email", "shacl:name": "email", "smaps": { - "type-property-lexical-info": { - "#13": "[(15,14)-(15,18)]" - }, "lexical": { "raml-shapes:format": "[(16,14)-(18,0)]", "#13": "[(14,12)-(18,0)]", "shacl:datatype": "[(15,14)-(16,0)]" + }, + "type-property-lexical-info": { + "#13": "[(15,14)-(15,18)]" } } }, @@ -253,13 +253,13 @@ "synthesized-field": { "apiContract:isAbstract": "true" }, + "declared-element": { + "#4": "" + }, "lexical": { "core:description": "[(2,2)-(4,0)]", "#4": "[(1,17)-(4,0)]", "core:name": "[(1,0)-(1,0)]" - }, - "declared-element": { - "#4": "" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.expanded.jsonld index 29843a18e7..cb5cdd05e6 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.expanded.jsonld @@ -113,9 +113,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some" @@ -123,35 +123,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,14)-(15,18)]" + "@value": "[(14,12)-(16,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,12)-(16,0)]" + "@value": "[(15,14)-(16,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,14)-(16,0)]" + "@value": "[(15,14)-(15,18)]" } ] } @@ -236,9 +236,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema" @@ -246,35 +246,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,14)-(16,0)]" + "@value": "[(12,10)-(12,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(13,10)-(16,0)]" + "@value": "[(11,14)-(16,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,10)-(12,14)]" + "@value": "[(13,10)-(16,0)]" } ] } @@ -338,9 +338,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some" @@ -348,35 +348,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,14)-(20,18)]" + "@value": "[(19,12)-(21,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,12)-(21,0)]" + "@value": "[(20,14)-(21,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,14)-(21,0)]" + "@value": "[(20,14)-(20,18)]" } ] } @@ -461,9 +461,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1" @@ -471,35 +471,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,16)-(21,0)]" + "@value": "[(17,10)-(17,14)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#property" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,10)-(21,0)]" + "@value": "[(16,16)-(21,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1" + "@value": "http://www.w3.org/ns/shacl#property" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,10)-(17,14)]" + "@value": "[(18,10)-(21,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.flattened.jsonld index 4d513675df..55a40b455f 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.flattened.jsonld @@ -276,6 +276,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/source-map/lexical/element_1" @@ -283,11 +288,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -324,6 +324,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/source-map/lexical/element_1" @@ -331,11 +336,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -410,6 +410,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(12,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema", @@ -420,11 +425,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(13,10)-(16,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,10)-(12,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some", "@type": [ @@ -467,6 +467,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(17,14)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1", @@ -477,21 +482,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#property", "http://a.ml/vocabularies/document-source-maps#value": "[(18,10)-(21,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,10)-(17,14)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1" @@ -499,6 +494,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -516,11 +516,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some/source-map/lexical/element_1" @@ -528,6 +523,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -540,11 +540,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some", "http://a.ml/vocabularies/document-source-maps#value": "[(19,12)-(21,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,14)-(15,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some", @@ -556,9 +551,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(15,14)-(16,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some", - "http://a.ml/vocabularies/document-source-maps#value": "[(20,14)-(20,18)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema/property/property/some/scalar/some", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,14)-(15,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some/source-map/lexical/element_1", @@ -570,6 +565,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(20,14)-(21,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/web-socket-channel/shape/schema_1/property/property/some/scalar/some", + "http://a.ml/vocabularies/document-source-maps#value": "[(20,14)-(20,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/ws-channel-binding.yaml", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-oas.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-oas.expanded.jsonld index 3c42f60fc0..58319a7c75 100644 --- a/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-oas.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-oas.expanded.jsonld @@ -133,12 +133,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#23": "[(16,16)-(16,20)]" - }, "lexical": { "shacl:datatype": "[(16,16)-(17,0)]", "#23": "[(15,14)-(17,0)]" + }, + "type-property-lexical-info": { + "#23": "[(16,16)-(16,20)]" } } } @@ -175,22 +175,22 @@ "type-property-lexical-info": { "#21": "[(13,12)-(13,16)]" }, - "lexical": { - "#21": "[(12,10)-(17,0)]" - }, "auto-generated-name": { "#21": "" + }, + "lexical": { + "#21": "[(12,10)-(17,0)]" } } } ], "smaps": { + "virtual-element": { + "#20": "true" + }, "lexical": { "raml-shapes:schema": "[(12,10)-(17,0)]", "#20": "[(12,10)-(17,0)]" - }, - "virtual-element": { - "#20": "true" } } } @@ -252,11 +252,11 @@ } ], "smaps": { - "lexical": { - "#25": "[(1,0)-(8,1)]" - }, "virtual-element": { "#25": "true" + }, + "lexical": { + "#25": "[(1,0)-(8,1)]" } } } @@ -317,11 +317,11 @@ } ], "smaps": { - "lexical": { - "#27": "[(31,2)-(37,0)]" - }, "virtual-element": { "#27": "true" + }, + "lexical": { + "#27": "[(31,2)-(37,0)]" } } } @@ -382,11 +382,11 @@ } ], "smaps": { - "lexical": { - "#29": "[(1,0)-(8,1)]" - }, "virtual-element": { "#29": "true" + }, + "lexical": { + "#29": "[(1,0)-(8,1)]" } } } @@ -510,12 +510,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(5,6)-(5,12)]" - }, "lexical": { "shacl:datatype": "[(5,6)-(5,22)]", "#5": "[(4,4)-(6,5)]" + }, + "type-property-lexical-info": { + "#5": "[(5,6)-(5,12)]" } } } @@ -555,20 +555,20 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#6" - }, "type-property-lexical-info": { "#3": "[(2,2)-(2,8)]" }, - "lexical": { - "#3": "[(1,0)-(8,1)]" + "resolved-link": { + "#3": "amf://id#7" + }, + "resolved-link-target": { + "#3": "amf://id#6" }, "auto-generated-name": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#7" + "lexical": { + "#3": "[(1,0)-(8,1)]" } } } @@ -643,12 +643,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#10": "[(35,8)-(35,12)]" - }, "lexical": { "shacl:datatype": "[(35,8)-(37,0)]", "#10": "[(34,6)-(37,0)]" + }, + "type-property-lexical-info": { + "#10": "[(35,8)-(35,12)]" } } } @@ -688,21 +688,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#8": "amf://id#11" - }, "type-property-lexical-info": { "#8": "[(32,4)-(32,8)]" }, - "lexical": { - "shacl:name": "[(31,2)-(31,6)]", - "#8": "[(31,2)-(37,0)]" + "resolved-link": { + "#8": "amf://id#12" + }, + "resolved-link-target": { + "#8": "amf://id#11" }, "declared-element": { "#8": "" }, - "resolved-link-target": { - "#8": "amf://id#12" + "lexical": { + "shacl:name": "[(31,2)-(31,6)]", + "#8": "[(31,2)-(37,0)]" } } }, @@ -755,12 +755,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(5,6)-(5,12)]" - }, "lexical": { "shacl:datatype": "[(5,6)-(5,22)]", "#5": "[(4,4)-(6,5)]" + }, + "type-property-lexical-info": { + "#5": "[(5,6)-(5,12)]" } } } @@ -800,20 +800,20 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link-target": { - "#13": "amf://id#7" - }, "type-property-lexical-info": { "#13": "[(2,2)-(2,8)]" }, - "lexical": { - "#13": "[(1,0)-(8,1)]" + "resolved-link-target": { + "#13": "amf://id#6" + }, + "declared-element": { + "#13": "" }, "resolved-link": { "#13": "amf://id#14" }, - "declared-element": { - "#13": "" + "lexical": { + "#13": "[(1,0)-(8,1)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-oas.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-oas.flattened.jsonld index defbb773c9..6af17d8587 100644 --- a/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-oas.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-oas.flattened.jsonld @@ -181,12 +181,12 @@ "@id": "#21" }, "smaps": { + "virtual-element": { + "#20": "true" + }, "lexical": { "raml-shapes:schema": "[(12,10)-(17,0)]", "#20": "[(12,10)-(17,0)]" - }, - "virtual-element": { - "#20": "true" } } }, @@ -201,12 +201,12 @@ "@id": "#3" }, "smaps": { + "virtual-element": { + "#25": "true" + }, "lexical": { "raml-shapes:schema": "[(18,10)-(21,0)]", "#25": "[(1,0)-(8,1)]" - }, - "virtual-element": { - "#25": "true" } } }, @@ -221,12 +221,12 @@ "@id": "#8" }, "smaps": { + "virtual-element": { + "#27": "true" + }, "lexical": { "raml-shapes:schema": "[(22,10)-(25,0)]", "#27": "[(31,2)-(37,0)]" - }, - "virtual-element": { - "#27": "true" } } }, @@ -241,12 +241,12 @@ "@id": "#13" }, "smaps": { + "virtual-element": { + "#29": "true" + }, "lexical": { "raml-shapes:schema": "[(26,10)-(30,0)]", "#29": "[(1,0)-(8,1)]" - }, - "virtual-element": { - "#29": "true" } } }, @@ -273,11 +273,11 @@ "type-property-lexical-info": { "#21": "[(13,12)-(13,16)]" }, - "lexical": { - "#21": "[(12,10)-(17,0)]" - }, "auto-generated-name": { "#21": "" + }, + "lexical": { + "#21": "[(12,10)-(17,0)]" } } }, @@ -303,20 +303,20 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#6" - }, "type-property-lexical-info": { "#3": "[(2,2)-(2,8)]" }, - "lexical": { - "#3": "[(1,0)-(8,1)]" + "resolved-link": { + "#3": "amf://id#7" + }, + "resolved-link-target": { + "#3": "amf://id#6" }, "auto-generated-name": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#7" + "lexical": { + "#3": "[(1,0)-(8,1)]" } } }, @@ -342,21 +342,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#8": "amf://id#11" - }, "type-property-lexical-info": { "#8": "[(32,4)-(32,8)]" }, - "lexical": { - "shacl:name": "[(31,2)-(31,6)]", - "#8": "[(31,2)-(37,0)]" + "resolved-link": { + "#8": "amf://id#12" + }, + "resolved-link-target": { + "#8": "amf://id#11" }, "declared-element": { "#8": "" }, - "resolved-link-target": { - "#8": "amf://id#12" + "lexical": { + "shacl:name": "[(31,2)-(31,6)]", + "#8": "[(31,2)-(37,0)]" } } }, @@ -382,20 +382,20 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link-target": { - "#13": "amf://id#7" - }, "type-property-lexical-info": { "#13": "[(2,2)-(2,8)]" }, - "lexical": { - "#13": "[(1,0)-(8,1)]" + "resolved-link-target": { + "#13": "amf://id#6" + }, + "declared-element": { + "#13": "" }, "resolved-link": { "#13": "amf://id#14" }, - "declared-element": { - "#13": "" + "lexical": { + "#13": "[(1,0)-(8,1)]" } } }, @@ -496,12 +496,12 @@ ], "shacl:name": "msg", "smaps": { - "type-property-lexical-info": { - "#23": "[(16,16)-(16,20)]" - }, "lexical": { "shacl:datatype": "[(16,16)-(17,0)]", "#23": "[(15,14)-(17,0)]" + }, + "type-property-lexical-info": { + "#23": "[(16,16)-(16,20)]" } } }, @@ -521,12 +521,12 @@ ], "shacl:name": "name", "smaps": { - "type-property-lexical-info": { - "#5": "[(5,6)-(5,12)]" - }, "lexical": { "shacl:datatype": "[(5,6)-(5,22)]", "#5": "[(4,4)-(6,5)]" + }, + "type-property-lexical-info": { + "#5": "[(5,6)-(5,12)]" } } }, @@ -546,12 +546,12 @@ ], "shacl:name": "id", "smaps": { - "type-property-lexical-info": { - "#10": "[(35,8)-(35,12)]" - }, "lexical": { "shacl:datatype": "[(35,8)-(37,0)]", "#10": "[(34,6)-(37,0)]" + }, + "type-property-lexical-info": { + "#10": "[(35,8)-(35,12)]" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-with-default.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-with-default.expanded.jsonld index 535e825ff1..e1fcf2af5a 100644 --- a/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-with-default.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-with-default.expanded.jsonld @@ -228,11 +228,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#15": "[(14,4)-(18,0)]" - }, "auto-generated-name": { "#15": "" + }, + "lexical": { + "#15": "[(14,4)-(18,0)]" } } } @@ -245,11 +245,11 @@ } ], "smaps": { - "lexical": { - "#13": "[(14,9)-(18,0)]" - }, "virtual-element": { "#13": "true" + }, + "lexical": { + "#13": "[(14,9)-(18,0)]" } } } @@ -596,18 +596,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#6" + }, "resolved-link": { "#1": "amf://id#8" }, "lexical": { "shacl:name": "[(7,2)-(7,9)]", "#1": "[(7,2)-(12,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#7" } } } diff --git a/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-with-default.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-with-default.flattened.jsonld index 08f92fcf26..f02f1b5866 100644 --- a/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-with-default.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name-with-default.flattened.jsonld @@ -103,11 +103,11 @@ } ], "smaps": { - "lexical": { - "#13": "[(14,9)-(18,0)]" - }, "virtual-element": { "#13": "true" + }, + "lexical": { + "#13": "[(14,9)-(18,0)]" } } }, @@ -227,11 +227,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#15": "[(14,4)-(18,0)]" - }, "auto-generated-name": { "#15": "" + }, + "lexical": { + "#15": "[(14,4)-(18,0)]" } } }, @@ -258,18 +258,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#6" + }, "resolved-link": { "#1": "amf://id#8" }, "lexical": { "shacl:name": "[(7,2)-(7,9)]", "#1": "[(7,2)-(12,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#7" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name.expanded.jsonld index ec366a6d6f..0824fdd8a4 100644 --- a/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name.expanded.jsonld @@ -159,11 +159,11 @@ "type-property-lexical-info": { "#48": "[(28,15)-(28,19)]" }, - "lexical": { - "#48": "[(27,11)-(31,0)]" - }, "auto-generated-name": { "#48": "" + }, + "lexical": { + "#48": "[(27,11)-(31,0)]" } } } @@ -176,12 +176,12 @@ } ], "smaps": { + "virtual-element": { + "#46": "true" + }, "lexical": { "apiContract:payload": "[(26,7)-(31,0)]", "#46": "[(26,12)-(31,0)]" - }, - "virtual-element": { - "#46": "true" } } } @@ -304,11 +304,11 @@ "type-property-lexical-info": { "#53": "[(34,17)-(34,21)]" }, - "lexical": { - "#53": "[(33,15)-(38,0)]" - }, "auto-generated-name": { "#53": "" + }, + "lexical": { + "#53": "[(33,15)-(38,0)]" } } } @@ -420,12 +420,12 @@ } ], "smaps": { + "virtual-element": { + "#58": "true" + }, "lexical": { "apiContract:payload": "[(40,7)-(43,0)]", "#58": "[(40,12)-(43,0)]" - }, - "virtual-element": { - "#58": "true" } } } @@ -585,12 +585,12 @@ } ], "smaps": { + "virtual-element": { + "#64": "true" + }, "lexical": { "apiContract:payload": "[(51,7)-(54,0)]", "#64": "[(51,12)-(54,0)]" - }, - "virtual-element": { - "#64": "true" } } } @@ -685,12 +685,12 @@ } ], "smaps": { + "virtual-element": { + "#68": "true" + }, "lexical": { "apiContract:payload": "[(56,7)-(59,0)]", "#68": "[(56,12)-(59,0)]" - }, - "virtual-element": { - "#68": "true" } } } @@ -850,12 +850,12 @@ } ], "smaps": { + "virtual-element": { + "#74": "true" + }, "lexical": { "apiContract:payload": "[(65,7)-(68,0)]", "#74": "[(65,12)-(68,0)]" - }, - "virtual-element": { - "#74": "true" } } } @@ -950,12 +950,12 @@ } ], "smaps": { + "virtual-element": { + "#78": "true" + }, "lexical": { "apiContract:payload": "[(70,7)-(72,0)]", "#78": "[(70,12)-(72,0)]" - }, - "virtual-element": { - "#78": "true" } } } @@ -1115,12 +1115,12 @@ } ], "smaps": { + "virtual-element": { + "#84": "true" + }, "lexical": { "apiContract:payload": "[(78,7)-(80,0)]", "#84": "[(78,12)-(80,0)]" - }, - "virtual-element": { - "#84": "true" } } } @@ -1338,11 +1338,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#92": "[(88,15)-(92,0)]" - }, "auto-generated-name": { "#92": "" + }, + "lexical": { + "#92": "[(88,15)-(92,0)]" } } } @@ -1355,12 +1355,12 @@ } ], "smaps": { + "virtual-element": { + "#90": "true" + }, "lexical": { "apiContract:payload": "[(86,7)-(92,0)]", "#90": "[(86,12)-(92,0)]" - }, - "virtual-element": { - "#90": "true" } } } @@ -1496,12 +1496,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(5,26)-(5,32)]", "#4": "[(5,2)-(5,32)]" - }, - "inheritance-provenance": { - "#4": "amf://id#3" } } } @@ -1520,21 +1520,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "auto-generated-name": { - "#3": "" + "type-property-lexical-info": { + "#3": "[(3,0)-(3,4)]" + }, + "resolved-link-target": { + "#3": "amf://id#6" }, "resolved-link": { "#3": "amf://id#8" }, - "type-property-lexical-info": { - "#3": "[(3,0)-(3,4)]" + "auto-generated-name": { + "#3": "" }, "lexical": { "core:name": "[(2,0)-(3,0)]", "#3": "[(2,0)-(5,32)]" - }, - "resolved-link-target": { - "#3": "amf://id#7" } } } @@ -1668,21 +1668,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "auto-generated-name": { - "#11": "" + "type-property-lexical-info": { + "#11": "[(3,0)-(3,4)]" + }, + "resolved-link-target": { + "#11": "amf://id#14" }, "resolved-link": { - "#11": "amf://id#15" + "#11": "amf://id#11" }, - "type-property-lexical-info": { - "#11": "[(3,0)-(3,4)]" + "auto-generated-name": { + "#11": "" }, "lexical": { "core:name": "[(2,0)-(3,0)]", "#11": "[(2,0)-(5,30)]" - }, - "resolved-link-target": { - "#11": "amf://id#14" } } } @@ -1816,21 +1816,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#18": "amf://id#21" - }, "type-property-lexical-info": { "#18": "[(3,0)-(3,4)]" }, - "lexical": { - "core:name": "[(2,0)-(3,0)]", - "#18": "[(2,0)-(5,29)]" + "resolved-link": { + "#18": "amf://id#22" + }, + "resolved-link-target": { + "#18": "amf://id#21" }, "auto-generated-name": { "#18": "" }, - "resolved-link-target": { - "#18": "amf://id#22" + "lexical": { + "core:name": "[(2,0)-(3,0)]", + "#18": "[(2,0)-(5,29)]" } } } @@ -1937,12 +1937,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(5,26)-(5,32)]", "#4": "[(5,2)-(5,32)]" - }, - "inheritance-provenance": { - "#4": "amf://id#3" } } } @@ -1961,15 +1961,6 @@ "inheritance-provenance": { "core:name": "amf://id#3" }, - "inherited-shapes": { - "#23": "amf://id#3" - }, - "resolved-link": { - "#23": "amf://id#24" - }, - "type-property-lexical-info": { - "#23": "[(19,7)-(19,11)]" - }, "lexical": { "core:name": "[(2,0)-(3,0)]", "#23": "[(18,3)-(21,0)]", @@ -1979,8 +1970,17 @@ "#23": "" }, "resolved-link-target": { + "#23": "amf://id#24" + }, + "inherited-shapes": { + "#23": "amf://id#3" + }, + "resolved-link": { "#23": "amf://id#25" }, + "type-property-lexical-info": { + "#23": "[(19,7)-(19,11)]" + }, "synthesized-field": { "shacl:closed": "true" } @@ -2073,21 +2073,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#26": "amf://id#31" - }, "type-property-lexical-info": { "#26": "[(6,7)-(6,11)]" }, - "lexical": { - "shacl:name": "[(5,3)-(5,14)]", - "#26": "[(5,3)-(10,0)]" + "resolved-link": { + "#26": "amf://id#31" + }, + "resolved-link-target": { + "#26": "amf://id#29" }, "declared-element": { "#26": "" }, - "resolved-link-target": { - "#26": "amf://id#30" + "lexical": { + "shacl:name": "[(5,3)-(5,14)]", + "#26": "[(5,3)-(10,0)]" } } }, @@ -2111,22 +2111,22 @@ } ], "smaps": { - "resolved-link-target": { - "#32": "amf://id#34" - }, - "declared-element": { - "#32": "" - }, "lexical": { "shacl:name": "[(10,3)-(10,13)]", "#32": "[(10,3)-(13,0)]", "shacl:datatype": "[(11,7)-(13,0)]" }, - "type-property-lexical-info": { - "#32": "[(11,7)-(11,11)]" + "declared-element": { + "#32": "" }, - "resolved-link": { + "resolved-link-target": { "#32": "amf://id#33" + }, + "resolved-link": { + "#32": "amf://id#34" + }, + "type-property-lexical-info": { + "#32": "[(11,7)-(11,11)]" } } }, @@ -2201,12 +2201,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(5,26)-(5,32)]", "#4": "[(5,2)-(5,32)]" - }, - "inheritance-provenance": { - "#4": "amf://id#3" } } } @@ -2225,15 +2225,6 @@ "inheritance-provenance": { "core:name": "amf://id#3" }, - "inherited-shapes": { - "#35": "amf://id#3" - }, - "resolved-link": { - "#35": "amf://id#36" - }, - "type-property-lexical-info": { - "#35": "[(14,7)-(14,11)]" - }, "lexical": { "core:name": "[(2,0)-(3,0)]", "#35": "[(13,3)-(16,0)]", @@ -2243,8 +2234,17 @@ "#35": "" }, "resolved-link-target": { + "#35": "amf://id#36" + }, + "inherited-shapes": { + "#35": "amf://id#3" + }, + "resolved-link": { "#35": "amf://id#37" }, + "type-property-lexical-info": { + "#35": "[(14,7)-(14,11)]" + }, "synthesized-field": { "shacl:closed": "true" } @@ -2321,12 +2321,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(5,26)-(5,32)]", "#4": "[(5,2)-(5,32)]" - }, - "inheritance-provenance": { - "#4": "amf://id#3" } } } @@ -2345,21 +2345,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#38": "amf://id#7" - }, "type-property-lexical-info": { "#38": "[(3,0)-(3,4)]" }, - "lexical": { - "core:name": "[(2,0)-(3,0)]", - "#38": "[(2,0)-(5,32)]" - }, - "resolved-link": { - "#38": "amf://id#39" + "resolved-link-target": { + "#38": "amf://id#6" }, "declared-element": { "#38": "" + }, + "resolved-link": { + "#38": "amf://id#8" + }, + "lexical": { + "core:name": "[(2,0)-(3,0)]", + "#38": "[(2,0)-(5,32)]" } } }, @@ -2434,12 +2434,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(5,26)-(5,32)]", "#4": "[(5,2)-(5,32)]" - }, - "inheritance-provenance": { - "#4": "amf://id#3" } } } @@ -2458,21 +2458,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#40": "amf://id#7" - }, "type-property-lexical-info": { "#40": "[(3,0)-(3,4)]" }, - "lexical": { - "core:name": "[(2,0)-(3,0)]", - "#40": "[(2,0)-(5,32)]" - }, - "resolved-link": { - "#40": "amf://id#41" + "resolved-link-target": { + "#40": "amf://id#6" }, "declared-element": { "#40": "" + }, + "resolved-link": { + "#40": "amf://id#8" + }, + "lexical": { + "core:name": "[(2,0)-(3,0)]", + "#40": "[(2,0)-(5,32)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name.flattened.jsonld index cafca09987..adedb1c8dc 100644 --- a/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/auto-generated-schema-name/auto-generated-schema-name.flattened.jsonld @@ -399,12 +399,12 @@ } ], "smaps": { + "virtual-element": { + "#46": "true" + }, "lexical": { "apiContract:payload": "[(26,7)-(31,0)]", "#46": "[(26,12)-(31,0)]" - }, - "virtual-element": { - "#46": "true" } } }, @@ -444,12 +444,12 @@ } ], "smaps": { + "virtual-element": { + "#58": "true" + }, "lexical": { "apiContract:payload": "[(40,7)-(43,0)]", "#58": "[(40,12)-(43,0)]" - }, - "virtual-element": { - "#58": "true" } } }, @@ -489,12 +489,12 @@ } ], "smaps": { + "virtual-element": { + "#64": "true" + }, "lexical": { "apiContract:payload": "[(51,7)-(54,0)]", "#64": "[(51,12)-(54,0)]" - }, - "virtual-element": { - "#64": "true" } } }, @@ -512,12 +512,12 @@ } ], "smaps": { + "virtual-element": { + "#68": "true" + }, "lexical": { "apiContract:payload": "[(56,7)-(59,0)]", "#68": "[(56,12)-(59,0)]" - }, - "virtual-element": { - "#68": "true" } } }, @@ -557,12 +557,12 @@ } ], "smaps": { + "virtual-element": { + "#74": "true" + }, "lexical": { "apiContract:payload": "[(65,7)-(68,0)]", "#74": "[(65,12)-(68,0)]" - }, - "virtual-element": { - "#74": "true" } } }, @@ -580,12 +580,12 @@ } ], "smaps": { + "virtual-element": { + "#78": "true" + }, "lexical": { "apiContract:payload": "[(70,7)-(72,0)]", "#78": "[(70,12)-(72,0)]" - }, - "virtual-element": { - "#78": "true" } } }, @@ -625,12 +625,12 @@ } ], "smaps": { + "virtual-element": { + "#84": "true" + }, "lexical": { "apiContract:payload": "[(78,7)-(80,0)]", "#84": "[(78,12)-(80,0)]" - }, - "virtual-element": { - "#84": "true" } } }, @@ -670,12 +670,12 @@ } ], "smaps": { + "virtual-element": { + "#90": "true" + }, "lexical": { "apiContract:payload": "[(86,7)-(92,0)]", "#90": "[(86,12)-(92,0)]" - }, - "virtual-element": { - "#90": "true" } } }, @@ -923,11 +923,11 @@ "type-property-lexical-info": { "#48": "[(28,15)-(28,19)]" }, - "lexical": { - "#48": "[(27,11)-(31,0)]" - }, "auto-generated-name": { "#48": "" + }, + "lexical": { + "#48": "[(27,11)-(31,0)]" } } }, @@ -954,11 +954,11 @@ "type-property-lexical-info": { "#53": "[(34,17)-(34,21)]" }, - "lexical": { - "#53": "[(33,15)-(38,0)]" - }, "auto-generated-name": { "#53": "" + }, + "lexical": { + "#53": "[(33,15)-(38,0)]" } } }, @@ -983,21 +983,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "auto-generated-name": { - "#11": "" + "type-property-lexical-info": { + "#11": "[(3,0)-(3,4)]" + }, + "resolved-link-target": { + "#11": "amf://id#14" }, "resolved-link": { - "#11": "amf://id#15" + "#11": "amf://id#11" }, - "type-property-lexical-info": { - "#11": "[(3,0)-(3,4)]" + "auto-generated-name": { + "#11": "" }, "lexical": { "core:name": "[(2,0)-(3,0)]", "#11": "[(2,0)-(5,30)]" - }, - "resolved-link-target": { - "#11": "amf://id#14" } } }, @@ -1022,21 +1022,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#18": "amf://id#21" - }, "type-property-lexical-info": { "#18": "[(3,0)-(3,4)]" }, - "lexical": { - "core:name": "[(2,0)-(3,0)]", - "#18": "[(2,0)-(5,29)]" + "resolved-link": { + "#18": "amf://id#22" + }, + "resolved-link-target": { + "#18": "amf://id#21" }, "auto-generated-name": { "#18": "" }, - "resolved-link-target": { - "#18": "amf://id#22" + "lexical": { + "core:name": "[(2,0)-(3,0)]", + "#18": "[(2,0)-(5,29)]" } } }, @@ -1060,21 +1060,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#26": "amf://id#31" - }, "type-property-lexical-info": { "#26": "[(6,7)-(6,11)]" }, - "lexical": { - "shacl:name": "[(5,3)-(5,14)]", - "#26": "[(5,3)-(10,0)]" + "resolved-link": { + "#26": "amf://id#31" + }, + "resolved-link-target": { + "#26": "amf://id#29" }, "declared-element": { "#26": "" }, - "resolved-link-target": { - "#26": "amf://id#30" + "lexical": { + "shacl:name": "[(5,3)-(5,14)]", + "#26": "[(5,3)-(10,0)]" } } }, @@ -1094,22 +1094,22 @@ ], "shacl:name": "other-type", "smaps": { - "resolved-link-target": { - "#32": "amf://id#34" - }, - "declared-element": { - "#32": "" - }, "lexical": { "shacl:name": "[(10,3)-(10,13)]", "#32": "[(10,3)-(13,0)]", "shacl:datatype": "[(11,7)-(13,0)]" }, - "type-property-lexical-info": { - "#32": "[(11,7)-(11,11)]" + "declared-element": { + "#32": "" }, - "resolved-link": { + "resolved-link-target": { "#32": "amf://id#33" + }, + "resolved-link": { + "#32": "amf://id#34" + }, + "type-property-lexical-info": { + "#32": "[(11,7)-(11,11)]" } } }, @@ -1134,15 +1134,6 @@ "inheritance-provenance": { "core:name": "amf://id#3" }, - "inherited-shapes": { - "#35": "amf://id#3" - }, - "resolved-link": { - "#35": "amf://id#36" - }, - "type-property-lexical-info": { - "#35": "[(14,7)-(14,11)]" - }, "lexical": { "core:name": "[(2,0)-(3,0)]", "#35": "[(13,3)-(16,0)]", @@ -1152,8 +1143,17 @@ "#35": "" }, "resolved-link-target": { + "#35": "amf://id#36" + }, + "inherited-shapes": { + "#35": "amf://id#3" + }, + "resolved-link": { "#35": "amf://id#37" }, + "type-property-lexical-info": { + "#35": "[(14,7)-(14,11)]" + }, "synthesized-field": { "shacl:closed": "true" } @@ -1180,15 +1180,6 @@ "inheritance-provenance": { "core:name": "amf://id#3" }, - "inherited-shapes": { - "#23": "amf://id#3" - }, - "resolved-link": { - "#23": "amf://id#24" - }, - "type-property-lexical-info": { - "#23": "[(19,7)-(19,11)]" - }, "lexical": { "core:name": "[(2,0)-(3,0)]", "#23": "[(18,3)-(21,0)]", @@ -1198,8 +1189,17 @@ "#23": "" }, "resolved-link-target": { + "#23": "amf://id#24" + }, + "inherited-shapes": { + "#23": "amf://id#3" + }, + "resolved-link": { "#23": "amf://id#25" }, + "type-property-lexical-info": { + "#23": "[(19,7)-(19,11)]" + }, "synthesized-field": { "shacl:closed": "true" } @@ -1226,21 +1226,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#40": "amf://id#7" - }, "type-property-lexical-info": { "#40": "[(3,0)-(3,4)]" }, - "lexical": { - "core:name": "[(2,0)-(3,0)]", - "#40": "[(2,0)-(5,32)]" - }, - "resolved-link": { - "#40": "amf://id#41" + "resolved-link-target": { + "#40": "amf://id#6" }, "declared-element": { "#40": "" + }, + "resolved-link": { + "#40": "amf://id#8" + }, + "lexical": { + "core:name": "[(2,0)-(3,0)]", + "#40": "[(2,0)-(5,32)]" } } }, @@ -1265,21 +1265,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#38": "amf://id#7" - }, "type-property-lexical-info": { "#38": "[(3,0)-(3,4)]" }, - "lexical": { - "core:name": "[(2,0)-(3,0)]", - "#38": "[(2,0)-(5,32)]" - }, - "resolved-link": { - "#38": "amf://id#39" + "resolved-link-target": { + "#38": "amf://id#6" }, "declared-element": { "#38": "" + }, + "resolved-link": { + "#38": "amf://id#8" + }, + "lexical": { + "core:name": "[(2,0)-(3,0)]", + "#38": "[(2,0)-(5,32)]" } } }, @@ -1303,11 +1303,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#92": "[(88,15)-(92,0)]" - }, "auto-generated-name": { "#92": "" + }, + "lexical": { + "#92": "[(88,15)-(92,0)]" } } }, @@ -1479,12 +1479,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#4": "amf://id#3" + }, "lexical": { "raml-shapes:range": "[(5,26)-(5,32)]", "#4": "[(5,2)-(5,32)]" - }, - "inheritance-provenance": { - "#4": "amf://id#3" } } }, @@ -1799,21 +1799,21 @@ "synthesized-field": { "shacl:closed": "true" }, - "auto-generated-name": { - "#3": "" + "type-property-lexical-info": { + "#3": "[(3,0)-(3,4)]" + }, + "resolved-link-target": { + "#3": "amf://id#6" }, "resolved-link": { "#3": "amf://id#8" }, - "type-property-lexical-info": { - "#3": "[(3,0)-(3,4)]" + "auto-generated-name": { + "#3": "" }, "lexical": { "core:name": "[(2,0)-(3,0)]", "#3": "[(2,0)-(5,32)]" - }, - "resolved-link-target": { - "#3": "amf://id#7" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/body-link-name/body-link-name.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/body-link-name/body-link-name.expanded.jsonld index 05936ac77d..42f1147e96 100644 --- a/amf-cli/shared/src/test/resources/validations/body-link-name/body-link-name.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/body-link-name/body-link-name.expanded.jsonld @@ -108,11 +108,11 @@ } ], "smaps": { - "lexical": { - "#13": "[(14,10)-(14,16)]" - }, "virtual-element": { "#13": "true" + }, + "lexical": { + "#13": "[(14,10)-(14,16)]" } } } @@ -207,11 +207,11 @@ } ], "smaps": { - "lexical": { - "#17": "[(18,9)-(19,30)]" - }, "virtual-element": { "#17": "true" + }, + "lexical": { + "#17": "[(18,9)-(19,30)]" } } } @@ -423,17 +423,17 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#6" + }, "resolved-link": { "#1": "amf://id#8" }, "lexical": { "#1": "[(7,2)-(12,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#7" } } } diff --git a/amf-cli/shared/src/test/resources/validations/body-link-name/body-link-name.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/body-link-name/body-link-name.flattened.jsonld index 35b0e41cf6..6e20141257 100644 --- a/amf-cli/shared/src/test/resources/validations/body-link-name/body-link-name.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/body-link-name/body-link-name.flattened.jsonld @@ -135,11 +135,11 @@ } ], "smaps": { - "lexical": { - "#13": "[(14,10)-(14,16)]" - }, "virtual-element": { "#13": "true" + }, + "lexical": { + "#13": "[(14,10)-(14,16)]" } } }, @@ -157,11 +157,11 @@ } ], "smaps": { - "lexical": { - "#17": "[(18,9)-(19,30)]" - }, "virtual-element": { "#17": "true" + }, + "lexical": { + "#17": "[(18,9)-(19,30)]" } } }, @@ -222,17 +222,17 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#6" + }, "resolved-link": { "#1": "amf://id#8" }, "lexical": { "#1": "[(7,2)-(12,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#7" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/dup-name-example-tracking/dup-name-example-tracking.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/dup-name-example-tracking/dup-name-example-tracking.expanded.jsonld index 98e0c000cd..ae2289e26d 100644 --- a/amf-cli/shared/src/test/resources/validations/dup-name-example-tracking/dup-name-example-tracking.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/dup-name-example-tracking/dup-name-example-tracking.expanded.jsonld @@ -108,11 +108,11 @@ } ], "smaps": { - "lexical": { - "#24": "[(13,9)-(22,0)]" - }, "virtual-element": { "#24": "true" + }, + "lexical": { + "#24": "[(13,9)-(22,0)]" } } } @@ -207,11 +207,11 @@ } ], "smaps": { - "lexical": { - "#27": "[(24,9)-(31,13)]" - }, "virtual-element": { "#27": "true" + }, + "lexical": { + "#27": "[(24,9)-(31,13)]" } } } @@ -477,12 +477,12 @@ "synthesized-field": { "core:name": "true" }, + "parsed-json-example": { + "#8": "{\n \"ok\" : true\n}" + }, "lexical": { "data:ok": "[(2,2)-(2,13)]", "#8": "[(1,0)-(3,1)]" - }, - "parsed-json-example": { - "#8": "{\n \"ok\" : true\n}" } } } @@ -576,12 +576,12 @@ "synthesized-field": { "core:name": "true" }, + "parsed-json-example": { + "#13": "{\n \"ok\" : true\n}\n" + }, "lexical": { "data:ok": "[(20,25)-(20,36)]", "#13": "[(19,23)-(21,24)]" - }, - "parsed-json-example": { - "#13": "{\n \"ok\" : true\n}\n" } } } @@ -671,12 +671,12 @@ "synthesized-field": { "core:name": "true" }, + "parsed-json-example": { + "#16": "{\n \"ok\" : true\n}" + }, "lexical": { "data:ok": "[(30,25)-(30,36)]", "#16": "[(29,23)-(31,24)]" - }, - "parsed-json-example": { - "#16": "{\n \"ok\" : true\n}" } } } @@ -704,18 +704,18 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#4": "amf://id#4" - }, - "lexical": { - "shacl:name": "[(7,2)-(7,10)]", - "#4": "[(7,2)-(11,0)]" - }, "declared-element": { "#4": "" }, "resolved-link-target": { + "#4": "amf://id#18" + }, + "resolved-link": { "#4": "amf://id#19" + }, + "lexical": { + "shacl:name": "[(7,2)-(7,10)]", + "#4": "[(7,2)-(11,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/dup-name-example-tracking/dup-name-example-tracking.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/dup-name-example-tracking/dup-name-example-tracking.flattened.jsonld index 1e30515180..b61935a31b 100644 --- a/amf-cli/shared/src/test/resources/validations/dup-name-example-tracking/dup-name-example-tracking.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/dup-name-example-tracking/dup-name-example-tracking.flattened.jsonld @@ -135,11 +135,11 @@ } ], "smaps": { - "lexical": { - "#24": "[(13,9)-(22,0)]" - }, "virtual-element": { "#24": "true" + }, + "lexical": { + "#24": "[(13,9)-(22,0)]" } } }, @@ -157,11 +157,11 @@ } ], "smaps": { - "lexical": { - "#27": "[(24,9)-(31,13)]" - }, "virtual-element": { "#27": "true" + }, + "lexical": { + "#27": "[(24,9)-(31,13)]" } } }, @@ -230,18 +230,18 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#4": "amf://id#4" - }, - "lexical": { - "shacl:name": "[(7,2)-(7,10)]", - "#4": "[(7,2)-(11,0)]" - }, "declared-element": { "#4": "" }, "resolved-link-target": { + "#4": "amf://id#18" + }, + "resolved-link": { "#4": "amf://id#19" + }, + "lexical": { + "shacl:name": "[(7,2)-(7,10)]", + "#4": "[(7,2)-(11,0)]" } } }, @@ -390,12 +390,12 @@ "synthesized-field": { "core:name": "true" }, + "parsed-json-example": { + "#8": "{\n \"ok\" : true\n}" + }, "lexical": { "data:ok": "[(2,2)-(2,13)]", "#8": "[(1,0)-(3,1)]" - }, - "parsed-json-example": { - "#8": "{\n \"ok\" : true\n}" } } }, @@ -414,12 +414,12 @@ "synthesized-field": { "core:name": "true" }, + "parsed-json-example": { + "#13": "{\n \"ok\" : true\n}\n" + }, "lexical": { "data:ok": "[(20,25)-(20,36)]", "#13": "[(19,23)-(21,24)]" - }, - "parsed-json-example": { - "#13": "{\n \"ok\" : true\n}\n" } } }, @@ -438,12 +438,12 @@ "synthesized-field": { "core:name": "true" }, + "parsed-json-example": { + "#16": "{\n \"ok\" : true\n}" + }, "lexical": { "data:ok": "[(30,25)-(30,36)]", "#16": "[(29,23)-(31,24)]" - }, - "parsed-json-example": { - "#16": "{\n \"ok\" : true\n}" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.expanded.jsonld index dc6a358170..dd5ac5ceba 100644 --- a/amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.expanded.jsonld @@ -1608,21 +1608,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema" - } - ], - "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/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/lexical/element_2", @@ -1663,6 +1648,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.flattened.jsonld index b887f0708b..858f2a9cf1 100644 --- a/amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.flattened.jsonld @@ -273,11 +273,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/lexical/element_2" @@ -288,6 +283,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/auto-generated-name/element_0" + } ] }, { @@ -348,11 +348,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -368,6 +363,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(13,42)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/examples/dialect-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/examples/example/default-example/object_1/dialect", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/examples/inline-named-examples/api.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/examples/inline-named-examples/api.resolved.expanded.jsonld index f4bba1449e..50da57ec90 100644 --- a/amf-cli/shared/src/test/resources/validations/examples/inline-named-examples/api.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/examples/inline-named-examples/api.resolved.expanded.jsonld @@ -465,13 +465,13 @@ } ], "smaps": { - "auto-generated-name": { - "#39": "" - }, "lexical": { "apiContract:examples": "[(14,8)-(15,0)]", "#39": "[(12,6)-(15,0)]" }, + "auto-generated-name": { + "#39": "" + }, "type-property-lexical-info": { "#39": "[(13,8)-(13,12)]" } @@ -486,12 +486,12 @@ } ], "smaps": { + "virtual-element": { + "#37": "true" + }, "lexical": { "apiContract:payload": "[(11,4)-(15,0)]", "#37": "[(11,9)-(15,0)]" - }, - "virtual-element": { - "#37": "true" } } } @@ -948,13 +948,13 @@ } ], "smaps": { - "auto-generated-name": { - "#55": "" - }, "lexical": { "apiContract:examples": "[(22,12)-(24,0)]", "#55": "[(20,10)-(24,0)]" }, + "auto-generated-name": { + "#55": "" + }, "type-property-lexical-info": { "#55": "[(21,12)-(21,16)]" } @@ -1089,13 +1089,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#73": "[(27,8)-(27,12)]" - }, "lexical": { "core:description": "[(28,8)-(29,0)]", "#73": "[(26,6)-(29,0)]", "shacl:datatype": "[(27,8)-(28,0)]" + }, + "type-property-lexical-info": { + "#73": "[(27,8)-(27,12)]" } } } @@ -1193,12 +1193,12 @@ } ], "smaps": { - "parent-end-point": { - "#68": "amf://id#35" - }, "lexical": { "apiContract:path": "[(24,2)-(24,20)]", "#68": "[(24,2)-(37,3)]" + }, + "parent-end-point": { + "#68": "amf://id#35" } } } @@ -1333,13 +1333,13 @@ } ], "smaps": { - "inherited-shapes": { - "#5": "amf://id#8" - }, "lexical": { "core:description": "[(6,4)-(7,0)]", "#5": "[(4,16)-(7,0)]" }, + "inherited-shapes": { + "#5": "amf://id#8" + }, "type-property-lexical-info": { "#5": "[(5,4)-(5,8)]" } @@ -1435,13 +1435,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#12": "[(12,8)-(12,12)]" - }, "lexical": { "core:description": "[(13,8)-(14,0)]", "#12": "[(11,6)-(14,0)]", "shacl:datatype": "[(12,8)-(13,0)]" + }, + "type-property-lexical-info": { + "#12": "[(12,8)-(12,12)]" } } } @@ -1506,13 +1506,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#14": "[(15,8)-(15,12)]" - }, "lexical": { "core:description": "[(16,8)-(17,0)]", "#14": "[(14,6)-(17,0)]", "shacl:datatype": "[(15,8)-(16,0)]" + }, + "type-property-lexical-info": { + "#14": "[(15,8)-(15,12)]" } } } @@ -1553,12 +1553,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#10": "[(9,4)-(9,8)]" + }, "lexical": { "core:description": "[(8,4)-(9,0)]", "#10": "[(7,2)-(17,0)]" - }, - "type-property-lexical-info": { - "#10": "[(9,4)-(9,8)]" } } } @@ -1623,13 +1623,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#16": "[(18,4)-(18,8)]" - }, "lexical": { "core:description": "[(19,4)-(20,0)]", "#16": "[(17,2)-(20,0)]", "shacl:datatype": "[(18,4)-(19,0)]" + }, + "type-property-lexical-info": { + "#16": "[(18,4)-(18,8)]" } } } @@ -1665,11 +1665,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#3": "[(2,0)-(20,0)]" - }, "type-property-lexical-info": { "#3": "[(2,0)-(2,4)]" + }, + "lexical": { + "#3": "[(2,0)-(20,0)]" } } } @@ -1900,13 +1900,13 @@ } ], "smaps": { - "inherited-shapes": { - "#5": "amf://id#8" - }, "lexical": { "core:description": "[(6,4)-(7,0)]", "#5": "[(4,16)-(7,0)]" }, + "inherited-shapes": { + "#5": "amf://id#8" + }, "type-property-lexical-info": { "#5": "[(5,4)-(5,8)]" } @@ -2002,13 +2002,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#12": "[(12,8)-(12,12)]" - }, "lexical": { "core:description": "[(13,8)-(14,0)]", "#12": "[(11,6)-(14,0)]", "shacl:datatype": "[(12,8)-(13,0)]" + }, + "type-property-lexical-info": { + "#12": "[(12,8)-(12,12)]" } } } @@ -2073,13 +2073,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#14": "[(15,8)-(15,12)]" - }, "lexical": { "core:description": "[(16,8)-(17,0)]", "#14": "[(14,6)-(17,0)]", "shacl:datatype": "[(15,8)-(16,0)]" + }, + "type-property-lexical-info": { + "#14": "[(15,8)-(15,12)]" } } } @@ -2120,12 +2120,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#10": "[(9,4)-(9,8)]" + }, "lexical": { "core:description": "[(8,4)-(9,0)]", "#10": "[(7,2)-(17,0)]" - }, - "type-property-lexical-info": { - "#10": "[(9,4)-(9,8)]" } } } @@ -2190,13 +2190,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#16": "[(18,4)-(18,8)]" - }, "lexical": { "core:description": "[(19,4)-(20,0)]", "#16": "[(17,2)-(20,0)]", "shacl:datatype": "[(18,4)-(19,0)]" + }, + "type-property-lexical-info": { + "#16": "[(18,4)-(18,8)]" } } } @@ -2455,20 +2455,20 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#23": "amf://id#3" - }, "type-property-lexical-info": { "#23": "[(2,0)-(2,4)]" }, - "lexical": { - "#23": "[(2,0)-(20,0)]" + "resolved-link-target": { + "#23": "amf://id#3" + }, + "declared-element": { + "#23": "" }, "resolved-link": { "#23": "amf://id#32" }, - "declared-element": { - "#23": "" + "lexical": { + "#23": "[(2,0)-(20,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/examples/inline-named-examples/api.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/examples/inline-named-examples/api.resolved.flattened.jsonld index f1657b129a..0cb7c3a89d 100644 --- a/amf-cli/shared/src/test/resources/validations/examples/inline-named-examples/api.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/examples/inline-named-examples/api.resolved.flattened.jsonld @@ -68,12 +68,12 @@ } ], "smaps": { - "parent-end-point": { - "#68": "amf://id#35" - }, "lexical": { "apiContract:path": "[(24,2)-(24,20)]", "#68": "[(24,2)-(37,3)]" + }, + "parent-end-point": { + "#68": "amf://id#35" } } }, @@ -159,12 +159,12 @@ } ], "smaps": { + "virtual-element": { + "#37": "true" + }, "lexical": { "apiContract:payload": "[(11,4)-(15,0)]", "#37": "[(11,9)-(15,0)]" - }, - "virtual-element": { - "#37": "true" } } }, @@ -322,13 +322,13 @@ } ], "smaps": { - "auto-generated-name": { - "#39": "" - }, "lexical": { "apiContract:examples": "[(14,8)-(15,0)]", "#39": "[(12,6)-(15,0)]" }, + "auto-generated-name": { + "#39": "" + }, "type-property-lexical-info": { "#39": "[(13,8)-(13,12)]" } @@ -353,13 +353,13 @@ } ], "smaps": { - "auto-generated-name": { - "#55": "" - }, "lexical": { "apiContract:examples": "[(22,12)-(24,0)]", "#55": "[(20,10)-(24,0)]" }, + "auto-generated-name": { + "#55": "" + }, "type-property-lexical-info": { "#55": "[(21,12)-(21,16)]" } @@ -382,13 +382,13 @@ "shacl:name": "schema", "core:description": "The organization's specific ID", "smaps": { - "type-property-lexical-info": { - "#73": "[(27,8)-(27,12)]" - }, "lexical": { "core:description": "[(28,8)-(29,0)]", "#73": "[(26,6)-(29,0)]", "shacl:datatype": "[(27,8)-(28,0)]" + }, + "type-property-lexical-info": { + "#73": "[(27,8)-(27,12)]" } } }, @@ -423,20 +423,20 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#23": "amf://id#3" - }, "type-property-lexical-info": { "#23": "[(2,0)-(2,4)]" }, - "lexical": { - "#23": "[(2,0)-(20,0)]" + "resolved-link-target": { + "#23": "amf://id#3" + }, + "declared-element": { + "#23": "" }, "resolved-link": { "#23": "amf://id#32" }, - "declared-element": { - "#23": "" + "lexical": { + "#23": "[(2,0)-(20,0)]" } } }, @@ -668,13 +668,13 @@ "shacl:name": "alternate_id?", "core:description": "The alternate ID of the organization", "smaps": { - "inherited-shapes": { - "#5": "amf://id#8" - }, "lexical": { "core:description": "[(6,4)-(7,0)]", "#5": "[(4,16)-(7,0)]" }, + "inherited-shapes": { + "#5": "amf://id#8" + }, "type-property-lexical-info": { "#5": "[(5,4)-(5,8)]" } @@ -704,12 +704,12 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#10": "[(9,4)-(9,8)]" + }, "lexical": { "core:description": "[(8,4)-(9,0)]", "#10": "[(7,2)-(17,0)]" - }, - "type-property-lexical-info": { - "#10": "[(9,4)-(9,8)]" } } }, @@ -730,13 +730,13 @@ "shacl:name": "created_at", "core:description": "The date of creation of the organization", "smaps": { - "type-property-lexical-info": { - "#16": "[(18,4)-(18,8)]" - }, "lexical": { "core:description": "[(19,4)-(20,0)]", "#16": "[(17,2)-(20,0)]", "shacl:datatype": "[(18,4)-(19,0)]" + }, + "type-property-lexical-info": { + "#16": "[(18,4)-(18,8)]" } } }, @@ -1247,13 +1247,13 @@ "shacl:name": "id", "core:description": "ID of the category", "smaps": { - "type-property-lexical-info": { - "#12": "[(12,8)-(12,12)]" - }, "lexical": { "core:description": "[(13,8)-(14,0)]", "#12": "[(11,6)-(14,0)]", "shacl:datatype": "[(12,8)-(13,0)]" + }, + "type-property-lexical-info": { + "#12": "[(12,8)-(12,12)]" } } }, @@ -1274,13 +1274,13 @@ "shacl:name": "name", "core:description": "The name of the category", "smaps": { - "type-property-lexical-info": { - "#14": "[(15,8)-(15,12)]" - }, "lexical": { "core:description": "[(16,8)-(17,0)]", "#14": "[(14,6)-(17,0)]", "shacl:datatype": "[(15,8)-(16,0)]" + }, + "type-property-lexical-info": { + "#14": "[(15,8)-(15,12)]" } } }, @@ -1642,11 +1642,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#3": "[(2,0)-(20,0)]" - }, "type-property-lexical-info": { "#3": "[(2,0)-(2,4)]" + }, + "lexical": { + "#3": "[(2,0)-(20,0)]" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.expanded.jsonld index a2b32c9049..abaa28e95c 100644 --- a/amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.expanded.jsonld @@ -5183,21 +5183,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema" - } - ], - "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/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/lexical/element_2", @@ -5238,6 +5223,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.flattened.jsonld index 01abc5cfee..717a3d3d3c 100644 --- a/amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.flattened.jsonld @@ -273,11 +273,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/lexical/element_2" @@ -288,6 +283,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/auto-generated-name/element_0" + } ] }, { @@ -351,11 +351,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -371,6 +366,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(11,10)-(13,45)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/examples/vocabulary-fragment/api.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fyaml/any/schema/examples/example/default-example/object_1/vocabulary", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml.resolved.jsonld b/amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml.resolved.jsonld index 2d46841892..a8f60f4c89 100644 --- a/amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml.resolved.jsonld @@ -640,9 +640,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/recursive/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/recursive/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/recursive" @@ -650,14 +650,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,2)-(38,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/recursive/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/recursive/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/recursive" @@ -665,7 +665,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(32,2)-(38,0)]" } ] } @@ -791,9 +791,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/actor/any/actor%3F/inherits/any/Reference/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/actor/any/actor%3F/inherits/any/Reference/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/actor/any/actor%3F/inherits/any/Reference" @@ -801,14 +801,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,2)-(26,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/actor/any/actor%3F/inherits/any/Reference/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/actor/any/actor%3F/inherits/any/Reference/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/actor/any/actor%3F/inherits/any/Reference" @@ -816,7 +816,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(23,2)-(26,0)]" } ] } @@ -927,9 +927,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension" @@ -937,35 +937,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,2)-(38,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,2)-(32,11)]" + "@value": "[(32,2)-(38,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(32,2)-(32,11)]" } ] } @@ -1088,9 +1088,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/status/scalar/status/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/status/scalar/status/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/status/scalar/status" @@ -1098,35 +1098,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,14)-(16,18)]" + "@value": "[(15,12)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/status/scalar/status/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/status/scalar/status/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/status/scalar/status" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,12)-(18,0)]" + "@value": "[(16,14)-(18,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/status/scalar/status/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/status/scalar/status/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/status/scalar/status" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(16,14)-(18,0)]" + "@value": "[(16,14)-(16,18)]" } ] } @@ -1297,9 +1297,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/recursive/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/recursive/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/recursive" @@ -1307,14 +1307,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(32,2)-(38,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/recursive/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/recursive/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/inherits/shape/BackboneElement/inherits/shape/Element/property/property/extension/any/extension%3F/inherits/shape/Extension/recursive" @@ -1322,7 +1322,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(32,2)-(38,0)]" } ] } @@ -1448,9 +1448,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/actor/any/actor%3F/inherits/any/Reference/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/actor/any/actor%3F/inherits/any/Reference/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/actor/any/actor%3F/inherits/any/Reference" @@ -1458,14 +1458,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(23,2)-(26,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/actor/any/actor%3F/inherits/any/Reference/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/actor/any/actor%3F/inherits/any/Reference/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/property/property/actor/any/actor%3F/inherits/any/Reference" @@ -1473,7 +1473,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(23,2)-(26,0)]" } ] } @@ -1584,9 +1584,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items" @@ -1594,14 +1594,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,8)-(18,0)]" + "@value": "[(11,10)-(11,14)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/shape/items" @@ -1609,7 +1609,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,10)-(11,14)]" + "@value": "[(10,8)-(18,0)]" } ] } @@ -1629,9 +1629,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant" @@ -1639,14 +1639,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(9,8)-(9,12)]" + "@value": "[(8,6)-(18,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/property/property/participant/array/participant" @@ -1654,7 +1654,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,6)-(18,0)]" + "@value": "[(9,8)-(9,12)]" } ] } @@ -2430,9 +2430,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment" @@ -2440,35 +2440,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(18,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,13)]" + "@value": "[(6,2)-(18,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v1.raml#/web-api/endpoint/%2Fappointments/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Appointment" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(6,13)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml.resolved.jsonld b/amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml.resolved.jsonld index 4410575c87..08beb027f0 100644 --- a/amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml.resolved.jsonld @@ -394,9 +394,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueQuantity/any/valueQuantity%3F/inherits/shape/Quantity/recursive/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueQuantity/any/valueQuantity%3F/inherits/shape/Quantity/recursive/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueQuantity/any/valueQuantity%3F/inherits/shape/Quantity/recursive" @@ -404,14 +404,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(21,2)-(24,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueQuantity/any/valueQuantity%3F/inherits/shape/Quantity/recursive/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueQuantity/any/valueQuantity%3F/inherits/shape/Quantity/recursive/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueQuantity/any/valueQuantity%3F/inherits/shape/Quantity/recursive" @@ -419,7 +419,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(21,2)-(24,0)]" } ] } @@ -590,9 +590,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/recursive/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/recursive/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/recursive" @@ -600,14 +600,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(21,0)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/recursive/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/recursive/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/recursive" @@ -615,7 +615,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(14,2)-(21,0)]" } ] } @@ -726,9 +726,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueSchedule/shape/valueSchedule/inherits/shape/Element/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueSchedule/shape/valueSchedule/inherits/shape/Element/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueSchedule/shape/valueSchedule/inherits/shape/Element" @@ -736,35 +736,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(11,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueSchedule/shape/valueSchedule/inherits/shape/Element/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueSchedule/shape/valueSchedule/inherits/shape/Element/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueSchedule/shape/valueSchedule/inherits/shape/Element" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(6,9)]" + "@value": "[(6,2)-(11,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueSchedule/shape/valueSchedule/inherits/shape/Element/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueSchedule/shape/valueSchedule/inherits/shape/Element/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/property/property/valueSchedule/shape/valueSchedule/inherits/shape/Element" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(6,2)-(6,9)]" } ] } @@ -1300,9 +1300,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension" @@ -1310,35 +1310,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(21,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(14,11)]" + "@value": "[(14,2)-(21,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/healthcare_reduced_v2.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/Extension" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(14,2)-(14,11)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/from-declaration/api.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/from-declaration/api.expanded.jsonld index 2664cc3642..dddcf685db 100644 --- a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/from-declaration/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/from-declaration/api.expanded.jsonld @@ -140,12 +140,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(6,12)-(6,18)]", "#2": "[(6,6)-(7,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -221,12 +221,12 @@ "inheritance-provenance": { "shacl:name": "amf://id#1" }, - "inherited-shapes": { - "#11": "amf://id#1" - }, "lexical": { "#11": "[(10,6)-(14,0)]" }, + "inherited-shapes": { + "#11": "amf://id#1" + }, "type-property-lexical-info": { "#11": "[(11,8)-(11,12)]" }, @@ -244,12 +244,12 @@ } ], "smaps": { + "virtual-element": { + "#9": "true" + }, "lexical": { "apiContract:payload": "[(9,4)-(14,0)]", "#9": "[(9,9)-(14,0)]" - }, - "virtual-element": { - "#9": "true" } } } @@ -377,12 +377,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(6,12)-(6,18)]", "#2": "[(6,6)-(7,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } } @@ -396,18 +396,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#4" + }, "resolved-link": { "#1": "amf://id#1" }, "lexical": { "shacl:name": "[(4,2)-(4,8)]", "#1": "[(4,2)-(7,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#4" } } } diff --git a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/from-declaration/api.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/from-declaration/api.flattened.jsonld index a80385a066..a6d0fa8a3a 100644 --- a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/from-declaration/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/from-declaration/api.flattened.jsonld @@ -82,12 +82,12 @@ } ], "smaps": { + "virtual-element": { + "#9": "true" + }, "lexical": { "apiContract:payload": "[(9,4)-(14,0)]", "#9": "[(9,9)-(14,0)]" - }, - "virtual-element": { - "#9": "true" } } }, @@ -131,12 +131,12 @@ "inheritance-provenance": { "shacl:name": "amf://id#1" }, - "inherited-shapes": { - "#11": "amf://id#1" - }, "lexical": { "#11": "[(10,6)-(14,0)]" }, + "inherited-shapes": { + "#11": "amf://id#1" + }, "type-property-lexical-info": { "#11": "[(11,8)-(11,12)]" }, @@ -168,12 +168,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(6,12)-(6,18)]", "#2": "[(6,6)-(7,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -291,18 +291,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#4" + }, "resolved-link": { "#1": "amf://id#1" }, "lexical": { "shacl:name": "[(4,2)-(4,8)]", "#1": "[(4,2)-(7,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#4" } } } diff --git a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-library/api.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-library/api.expanded.jsonld index 11fec38ab5..b7d16515a4 100644 --- a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-library/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-library/api.expanded.jsonld @@ -141,12 +141,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#3": "amf://id#2" + }, "lexical": { "raml-shapes:range": "[(6,15)-(6,21)]", "#3": "[(6,6)-(6,21)]" - }, - "inheritance-provenance": { - "#3": "amf://id#2" } } } @@ -160,18 +160,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#2": "" + }, + "resolved-link-target": { + "#2": "amf://id#2" + }, "resolved-link": { "#2": "amf://id#5" }, "lexical": { "shacl:name": "[(4,2)-(4,9)]", "#2": "[(4,2)-(6,21)]" - }, - "declared-element": { - "#2": "" - }, - "resolved-link-target": { - "#2": "amf://id#2" } } } @@ -287,12 +287,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#3": "amf://id#2" + }, "lexical": { "raml-shapes:range": "[(6,15)-(6,21)]", "#3": "[(6,6)-(6,21)]" - }, - "inheritance-provenance": { - "#3": "amf://id#2" } } } @@ -306,18 +306,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#7": "[(7,4)-(7,8)]" + }, + "inherited-shapes": { + "#7": "amf://id#2" + }, "declared-element": { "#7": "" }, "lexical": { "shacl:name": "[(6,2)-(6,9)]", "#7": "[(6,2)-(7,21)]" - }, - "type-property-lexical-info": { - "#7": "[(7,4)-(7,8)]" - }, - "inherited-shapes": { - "#7": "amf://id#2" } } } diff --git a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-library/api.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-library/api.flattened.jsonld index 3bbc594569..0c0ba13cd2 100644 --- a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-library/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-library/api.flattened.jsonld @@ -102,18 +102,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#7": "[(7,4)-(7,8)]" + }, + "inherited-shapes": { + "#7": "amf://id#2" + }, "declared-element": { "#7": "" }, "lexical": { "shacl:name": "[(6,2)-(6,9)]", "#7": "[(6,2)-(7,21)]" - }, - "type-property-lexical-info": { - "#7": "[(7,4)-(7,8)]" - }, - "inherited-shapes": { - "#7": "amf://id#2" } } }, @@ -137,18 +137,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#2": "" + }, + "resolved-link-target": { + "#2": "amf://id#2" + }, "resolved-link": { "#2": "amf://id#5" }, "lexical": { "shacl:name": "[(4,2)-(4,9)]", "#2": "[(4,2)-(6,21)]" - }, - "declared-element": { - "#2": "" - }, - "resolved-link-target": { - "#2": "amf://id#2" } } }, @@ -183,12 +183,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#3": "amf://id#2" + }, "lexical": { "raml-shapes:range": "[(6,15)-(6,21)]", "#3": "[(6,6)-(6,21)]" - }, - "inheritance-provenance": { - "#3": "amf://id#2" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-recursive-inheritance/api.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-recursive-inheritance/api.expanded.jsonld index 6b93e5ef5f..f40ee74241 100644 --- a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-recursive-inheritance/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-recursive-inheritance/api.expanded.jsonld @@ -168,12 +168,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#5": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(7,12)-(7,18)]", "#5": "[(7,6)-(8,0)]" - }, - "inheritance-provenance": { - "#5": "amf://id#1" } } }, @@ -239,12 +239,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#7": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(6,16)-(6,23)]", "#7": "[(6,6)-(7,0)]" - }, - "inheritance-provenance": { - "#7": "amf://id#1" } } } @@ -258,6 +258,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#4": "[(9,4)-(9,8)]" + }, + "resolved-link": { + "#4": "amf://id#9" + }, + "inherited-shapes": { + "#4": "amf://id#1" + }, "resolved-link-target": { "#4": "amf://id#4" }, @@ -267,15 +276,6 @@ "lexical": { "shacl:name": "[(8,2)-(8,7)]", "#4": "[(8,2)-(9,16)]" - }, - "type-property-lexical-info": { - "#4": "[(9,4)-(9,8)]" - }, - "resolved-link": { - "#4": "amf://id#9" - }, - "inherited-shapes": { - "#4": "amf://id#1" } } } @@ -307,12 +307,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(6,16)-(6,23)]", "#2": "[(6,6)-(7,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -372,12 +372,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#5": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(7,12)-(7,18)]", "#5": "[(7,6)-(8,0)]" - }, - "inheritance-provenance": { - "#5": "amf://id#1" } } } @@ -391,18 +391,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#10" }, "lexical": { "shacl:name": "[(4,2)-(4,8)]", "#1": "[(4,2)-(8,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -477,12 +477,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#5": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(7,12)-(7,18)]", "#5": "[(7,6)-(8,0)]" - }, - "inheritance-provenance": { - "#5": "amf://id#1" } } }, @@ -548,12 +548,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#7": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(6,16)-(6,23)]", "#7": "[(6,6)-(7,0)]" - }, - "inheritance-provenance": { - "#7": "amf://id#1" } } } @@ -567,6 +567,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#4": "[(9,4)-(9,8)]" + }, + "resolved-link": { + "#4": "amf://id#9" + }, + "inherited-shapes": { + "#4": "amf://id#1" + }, "resolved-link-target": { "#4": "amf://id#4" }, @@ -576,15 +585,6 @@ "lexical": { "shacl:name": "[(8,2)-(8,7)]", "#4": "[(8,2)-(9,16)]" - }, - "type-property-lexical-info": { - "#4": "[(9,4)-(9,8)]" - }, - "resolved-link": { - "#4": "amf://id#9" - }, - "inherited-shapes": { - "#4": "amf://id#1" } } } diff --git a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-recursive-inheritance/api.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-recursive-inheritance/api.flattened.jsonld index b1400558e6..4a160fd139 100644 --- a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-recursive-inheritance/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-recursive-inheritance/api.flattened.jsonld @@ -72,18 +72,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#10" }, "lexical": { "shacl:name": "[(4,2)-(4,8)]", "#1": "[(4,2)-(8,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -110,6 +110,15 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#4": "[(9,4)-(9,8)]" + }, + "resolved-link": { + "#4": "amf://id#9" + }, + "inherited-shapes": { + "#4": "amf://id#1" + }, "resolved-link-target": { "#4": "amf://id#4" }, @@ -119,15 +128,6 @@ "lexical": { "shacl:name": "[(8,2)-(8,7)]", "#4": "[(8,2)-(9,16)]" - }, - "type-property-lexical-info": { - "#4": "[(9,4)-(9,8)]" - }, - "resolved-link": { - "#4": "amf://id#9" - }, - "inherited-shapes": { - "#4": "amf://id#1" } } }, @@ -154,12 +154,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(6,16)-(6,23)]", "#2": "[(6,6)-(7,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -186,12 +186,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#5": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(7,12)-(7,18)]", "#5": "[(7,6)-(8,0)]" - }, - "inheritance-provenance": { - "#5": "amf://id#1" } } }, @@ -218,12 +218,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#7": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(6,16)-(6,23)]", "#7": "[(6,6)-(7,0)]" - }, - "inheritance-provenance": { - "#7": "amf://id#1" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-regular-inheritance/api.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-regular-inheritance/api.expanded.jsonld index 0971b27cf9..87cc6dc9ff 100644 --- a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-regular-inheritance/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-regular-inheritance/api.expanded.jsonld @@ -129,12 +129,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(6,12)-(6,18)]", "#2": "[(6,6)-(7,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } } @@ -148,18 +148,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#4" }, "lexical": { "shacl:name": "[(4,2)-(4,8)]", "#1": "[(4,2)-(7,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -234,12 +234,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(6,12)-(6,18)]", "#2": "[(6,6)-(7,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, @@ -315,18 +315,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#5": "[(8,4)-(8,8)]" + }, + "inherited-shapes": { + "#5": "amf://id#1" + }, "declared-element": { "#5": "" }, "lexical": { "shacl:name": "[(7,2)-(7,10)]", "#5": "[(7,2)-(11,0)]" - }, - "type-property-lexical-info": { - "#5": "[(8,4)-(8,8)]" - }, - "inherited-shapes": { - "#5": "amf://id#1" } } } diff --git a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-regular-inheritance/api.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-regular-inheritance/api.flattened.jsonld index 471833824c..8d0d4b1d73 100644 --- a/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-regular-inheritance/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/inheritance-provenance/with-regular-inheritance/api.flattened.jsonld @@ -69,18 +69,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#4" }, "lexical": { "shacl:name": "[(4,2)-(4,8)]", "#1": "[(4,2)-(7,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -107,18 +107,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#5": "[(8,4)-(8,8)]" + }, + "inherited-shapes": { + "#5": "amf://id#1" + }, "declared-element": { "#5": "" }, "lexical": { "shacl:name": "[(7,2)-(7,10)]", "#5": "[(7,2)-(11,0)]" - }, - "type-property-lexical-info": { - "#5": "[(8,4)-(8,8)]" - }, - "inherited-shapes": { - "#5": "amf://id#1" } } }, @@ -145,12 +145,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inheritance-provenance": { + "#2": "amf://id#1" + }, "lexical": { "raml-shapes:range": "[(6,12)-(6,18)]", "#2": "[(6,6)-(7,0)]" - }, - "inheritance-provenance": { - "#2": "amf://id#1" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.expanded.jsonld index 1d9d44f0d3..a0a3a77ca3 100644 --- a/amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.expanded.jsonld @@ -129,21 +129,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF" - } - ], - "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/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_2", @@ -185,6 +170,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/type-property-lexical-info/element_0", @@ -848,9 +848,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" @@ -858,35 +858,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(42,16)-(47,17)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" + "@value": "http://a.ml/vocabularies/shapes#items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(42,16)-(47,17)]" + "@value": "[(44,18)-(46,19)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#items" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,18)-(46,19)]" + "@value": "" } ] } @@ -1230,9 +1230,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id" @@ -1240,35 +1240,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(61,12)-(61,18)]" + "@value": "[(60,10)-(62,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(60,10)-(62,11)]" + "@value": "[(61,12)-(61,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(61,12)-(61,28)]" + "@value": "[(61,12)-(61,18)]" } ] } @@ -1365,9 +1365,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3" @@ -1375,35 +1375,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,12)-(64,18)]" + "@value": "[(63,10)-(65,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,10)-(65,11)]" + "@value": "[(64,12)-(64,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,12)-(64,28)]" + "@value": "[(64,12)-(64,18)]" } ] } @@ -1804,6 +1804,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails" + } + ], + "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/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/source-map/lexical/element_3", @@ -1857,21 +1872,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -1930,9 +1930,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3" @@ -1940,35 +1940,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(76,12)-(76,18)]" + "@value": "[(75,10)-(77,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(75,10)-(77,11)]" + "@value": "[(76,12)-(76,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(76,12)-(76,28)]" + "@value": "[(76,12)-(76,18)]" } ] } @@ -2065,9 +2065,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B" @@ -2075,35 +2075,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(79,12)-(79,18)]" + "@value": "[(78,10)-(80,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(78,10)-(80,11)]" + "@value": "[(79,12)-(79,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(79,12)-(79,28)]" + "@value": "[(79,12)-(79,18)]" } ] } @@ -2200,9 +2200,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B" @@ -2210,35 +2210,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(82,12)-(82,18)]" + "@value": "[(81,10)-(83,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(81,10)-(83,11)]" + "@value": "[(82,12)-(82,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(82,12)-(82,28)]" + "@value": "[(82,12)-(82,18)]" } ] } @@ -2335,9 +2335,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode" @@ -2345,35 +2345,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(85,12)-(85,18)]" + "@value": "[(84,10)-(86,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(84,10)-(86,11)]" + "@value": "[(85,12)-(85,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(85,12)-(85,28)]" + "@value": "[(85,12)-(85,18)]" } ] } @@ -2952,6 +2952,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch" + } + ], + "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/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/source-map/lexical/element_3", @@ -3005,21 +3020,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -3078,9 +3078,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId" @@ -3088,35 +3088,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(99,12)-(99,18)]" + "@value": "[(98,10)-(100,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(98,10)-(100,11)]" + "@value": "[(99,12)-(99,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(99,12)-(99,28)]" + "@value": "[(99,12)-(99,18)]" } ] } @@ -3213,9 +3213,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B" @@ -3223,35 +3223,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(102,12)-(102,18)]" + "@value": "[(101,10)-(103,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(101,10)-(103,11)]" + "@value": "[(102,12)-(102,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(102,12)-(102,28)]" + "@value": "[(102,12)-(102,18)]" } ] } @@ -3348,9 +3348,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus" @@ -3358,35 +3358,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(105,12)-(105,18)]" + "@value": "[(104,10)-(106,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(104,10)-(106,11)]" + "@value": "[(105,12)-(105,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(105,12)-(105,28)]" + "@value": "[(105,12)-(105,18)]" } ] } @@ -4456,6 +4456,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application" + } + ], + "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/validations/japanese/cycle/oas30api.json#/declares/shape/Application/source-map/lexical/element_3", @@ -4509,21 +4524,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.flattened.jsonld index a2ed1d19c7..9b8714680a 100644 --- a/amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.flattened.jsonld @@ -586,11 +586,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_2" @@ -602,6 +597,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/type-property-lexical-info/element_0" @@ -718,11 +718,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1" @@ -731,6 +726,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0" @@ -752,11 +752,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson", "http://a.ml/vocabularies/document-source-maps#value": "[(41,14)-(48,15)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -772,6 +767,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF", "http://a.ml/vocabularies/document-source-maps#value": "[(16,12)-(18,13)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E3%83%93%E3%82%B9%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%BE%E3%81%99/supportedOperation/post/expects/request/uri%20parameter/parameter/path/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/scalar/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF", @@ -819,11 +819,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", @@ -834,6 +829,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", "http://a.ml/vocabularies/document-source-maps#value": "[(44,18)-(46,19)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/web-api/endpoint/%2F%E5%B8%B8%E3%81%AB%E5%8F%96%E5%BE%97%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/supportedOperation/get/returns/resp/200/payload/application%2Fjson/array/schema", @@ -1068,6 +1068,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/source-map/lexical/element_3" @@ -1081,11 +1086,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/source-map/declared-element/element_0" - } ] }, { @@ -1216,6 +1216,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/source-map/lexical/element_3" @@ -1229,11 +1234,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/source-map/declared-element/element_0" - } ] }, { @@ -1364,6 +1364,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/source-map/lexical/element_3" @@ -1377,11 +1382,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/source-map/declared-element/element_0" - } ] }, { @@ -1507,6 +1507,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails", "http://a.ml/vocabularies/document-source-maps#value": "[(58,8)-(58,14)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -1527,11 +1532,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails", "http://a.ml/vocabularies/document-source-maps#value": "[(57,6)-(71,7)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3", "@type": [ @@ -1735,6 +1735,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch", "http://a.ml/vocabularies/document-source-maps#value": "[(73,8)-(73,14)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -1755,11 +1760,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch", "http://a.ml/vocabularies/document-source-maps#value": "[(72,6)-(94,7)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId", "@type": [ @@ -1965,6 +1965,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application", "http://a.ml/vocabularies/document-source-maps#value": "[(96,8)-(96,14)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -1985,21 +1990,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application", "http://a.ml/vocabularies/document-source-maps#value": "[(95,6)-(122,7)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id/source-map/lexical/element_1" @@ -2007,6 +2002,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2024,11 +2024,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/lexical/element_1" @@ -2036,6 +2031,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2130,11 +2130,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/lexical/element_1" @@ -2142,6 +2137,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2159,11 +2159,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B/source-map/lexical/element_1" @@ -2171,6 +2166,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2188,11 +2188,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/source-map/lexical/element_1" @@ -2200,6 +2195,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2217,11 +2217,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode/source-map/lexical/element_1" @@ -2229,6 +2224,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2369,11 +2369,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId/source-map/lexical/element_1" @@ -2381,6 +2376,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2398,11 +2398,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B/source-map/lexical/element_1" @@ -2410,6 +2405,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2427,11 +2427,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus/source-map/lexical/element_1" @@ -2439,6 +2434,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2612,11 +2612,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/examples/example/default-example", "http://a.ml/vocabularies/document-source-maps#value": "[(111,8)-(121,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id", - "http://a.ml/vocabularies/document-source-maps#value": "[(61,12)-(61,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id", @@ -2628,9 +2623,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(61,12)-(61,28)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3", - "http://a.ml/vocabularies/document-source-maps#value": "[(64,12)-(64,18)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/id/scalar/id", + "http://a.ml/vocabularies/document-source-maps#value": "[(61,12)-(61,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/lexical/element_1", @@ -2642,6 +2637,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(64,12)-(64,28)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3", + "http://a.ml/vocabularies/document-source-maps#value": "[(64,12)-(64,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/examples/example/default-example/object_1/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map", "@type": [ @@ -2700,11 +2700,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/VehicleDetails/examples/example/default-example/object_1", "http://a.ml/vocabularies/document-source-maps#value": "[(67,19)-(70,9)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3", - "http://a.ml/vocabularies/document-source-maps#value": "[(76,12)-(76,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3", @@ -2716,9 +2711,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(76,12)-(76,28)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B", - "http://a.ml/vocabularies/document-source-maps#value": "[(79,12)-(79,18)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3", + "http://a.ml/vocabularies/document-source-maps#value": "[(76,12)-(76,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B/source-map/lexical/element_1", @@ -2731,9 +2726,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(79,12)-(79,28)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B", - "http://a.ml/vocabularies/document-source-maps#value": "[(82,12)-(82,18)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E7%8A%B6%E6%85%8B/scalar/%E7%8A%B6%E6%85%8B", + "http://a.ml/vocabularies/document-source-maps#value": "[(79,12)-(79,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/source-map/lexical/element_1", @@ -2746,9 +2741,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(82,12)-(82,28)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode", - "http://a.ml/vocabularies/document-source-maps#value": "[(85,12)-(85,18)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B/scalar/%E9%80%9A%E3%82%8A%E7%8A%B6%E6%85%8B", + "http://a.ml/vocabularies/document-source-maps#value": "[(82,12)-(82,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode/source-map/lexical/element_1", @@ -2760,6 +2755,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(85,12)-(85,28)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/property/property/zipCode/scalar/zipCode", + "http://a.ml/vocabularies/document-source-maps#value": "[(85,12)-(85,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Branch/examples/example/default-example/object_1/%E3%82%B7%E3%83%86%E3%82%A3/source-map", "@type": [ @@ -2866,11 +2866,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#%E3%82%B7%E3%83%86%E3%82%A3", "http://a.ml/vocabularies/document-source-maps#value": "[(89,10)-(89,22)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId", - "http://a.ml/vocabularies/document-source-maps#value": "[(99,12)-(99,18)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId", @@ -2882,9 +2877,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(99,12)-(99,28)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B", - "http://a.ml/vocabularies/document-source-maps#value": "[(102,12)-(102,18)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationId/scalar/ApplicationId", + "http://a.ml/vocabularies/document-source-maps#value": "[(99,12)-(99,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B/source-map/lexical/element_1", @@ -2897,9 +2892,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(102,12)-(102,28)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus", - "http://a.ml/vocabularies/document-source-maps#value": "[(105,12)-(105,18)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Application%E7%8A%B6%E6%85%8B/scalar/Application%E7%8A%B6%E6%85%8B", + "http://a.ml/vocabularies/document-source-maps#value": "[(102,12)-(102,18)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus/source-map/lexical/element_1", @@ -2911,6 +2906,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(105,12)-(105,28)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/ApplicationStatus/scalar/ApplicationStatus", + "http://a.ml/vocabularies/document-source-maps#value": "[(105,12)-(105,18)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oas30api.json#/declares/shape/Application/property/property/Branch/shape/Branch/source-map/synthesized-field/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", diff --git a/amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.expanded.jsonld index 44871da47f..55395631c2 100644 --- a/amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.expanded.jsonld @@ -455,9 +455,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/parameter-binding-in-body-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF" @@ -465,35 +465,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,12)-(30,13)]" + "@value": "[(24,12)-(24,24)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(25,12)-(25,29)]" + "@value": "[(28,12)-(30,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/parameter-binding-in-body-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(24,12)-(24,24)]" + "@value": "[(25,12)-(25,29)]" } ] } @@ -513,21 +513,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF" - } - ], - "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/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_3", @@ -582,6 +567,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#required-param-payload": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/required-param-payload/element_0", @@ -1121,9 +1121,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default" @@ -1131,35 +1131,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(48,12)-(53,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default" + "@value": "http://a.ml/vocabularies/shapes#items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(48,12)-(53,13)]" + "@value": "[(50,14)-(52,15)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#items" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(50,14)-(52,15)]" + "@value": "" } ] } @@ -1479,9 +1479,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB" @@ -1489,35 +1489,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,10)-(64,16)]" + "@value": "[(63,8)-(65,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,8)-(65,9)]" + "@value": "[(64,10)-(64,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,10)-(64,26)]" + "@value": "[(64,10)-(64,16)]" } ] } @@ -1614,9 +1614,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3" @@ -1624,35 +1624,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(67,10)-(67,16)]" + "@value": "[(66,8)-(68,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(66,8)-(68,9)]" + "@value": "[(67,10)-(67,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(67,10)-(67,26)]" + "@value": "[(67,10)-(67,16)]" } ] } @@ -1754,21 +1754,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(70,10)-(70,16)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4/source-map/lexical/element_2", @@ -1809,6 +1794,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(70,10)-(70,16)]" + } + ] + } ] } ] @@ -2421,6 +2421,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1" + } + ], + "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/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/source-map/lexical/element_3", @@ -2474,21 +2489,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -2547,9 +2547,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id" @@ -2557,35 +2557,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,10)-(87,16)]" + "@value": "[(86,8)-(88,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(86,8)-(88,9)]" + "@value": "[(87,10)-(87,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,10)-(87,26)]" + "@value": "[(87,10)-(87,16)]" } ] } @@ -2682,9 +2682,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3" @@ -2692,35 +2692,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(90,10)-(90,16)]" + "@value": "[(89,8)-(91,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(89,8)-(91,9)]" + "@value": "[(90,10)-(90,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(90,10)-(90,26)]" + "@value": "[(90,10)-(90,16)]" } ] } @@ -3121,6 +3121,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0" + } + ], + "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/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/source-map/lexical/element_3", @@ -3174,21 +3189,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.flattened.jsonld index b5a0f8b130..07bc4a6c48 100644 --- a/amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.flattened.jsonld @@ -622,11 +622,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/body-parameter/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_3" @@ -641,6 +636,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/body-parameter/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#required-param-payload": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/required-param-payload/element_0" @@ -814,6 +814,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/synthesized-field/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/parameter-binding-in-body-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_1" @@ -821,18 +826,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#parameter-binding-in-body-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/parameter-binding-in-body-lexical-info/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", @@ -853,6 +848,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF", "http://a.ml/vocabularies/document-source-maps#value": "[(23,10)-(31,11)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/required-param-payload/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF", @@ -918,11 +918,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/lexical/element_1" @@ -931,6 +926,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/lexical/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/type-property-lexical-info/element_0" @@ -982,6 +982,11 @@ "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/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/parameter-binding-in-body-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF", + "http://a.ml/vocabularies/document-source-maps#value": "[(24,12)-(24,24)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF", @@ -992,11 +997,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", "http://a.ml/vocabularies/document-source-maps#value": "[(25,12)-(25,29)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/source-map/parameter-binding-in-body-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/expects/request/payload/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/shape/%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF", - "http://a.ml/vocabularies/document-source-maps#value": "[(24,12)-(24,24)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E3%83%AD%E3%83%BC%E3%83%B3%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF/supportedOperation/post/returns/resp/200/payload/default/shape/default/source-map/synthesized-field/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", @@ -1039,11 +1039,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default", @@ -1054,6 +1049,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#items", "http://a.ml/vocabularies/document-source-maps#value": "[(50,14)-(52,15)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/auto-generated-name/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/web-api/endpoint/%2F%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/supportedOperation/get/returns/resp/200/payload/default/array/default", @@ -1297,6 +1297,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/source-map/lexical/element_3" @@ -1310,11 +1315,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/source-map/declared-element/element_0" - } ] }, { @@ -1397,6 +1397,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/source-map/lexical/element_3" @@ -1410,11 +1415,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/source-map/declared-element/element_0" - } ] }, { @@ -1618,6 +1618,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1", "http://a.ml/vocabularies/document-source-maps#value": "[(61,6)-(61,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -1638,11 +1643,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1", "http://a.ml/vocabularies/document-source-maps#value": "[(60,4)-(82,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id", "@type": [ @@ -1766,6 +1766,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0", "http://a.ml/vocabularies/document-source-maps#value": "[(84,6)-(84,12)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -1786,21 +1791,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0", "http://a.ml/vocabularies/document-source-maps#value": "[(83,4)-(97,5)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/source-map/lexical/element_1" @@ -1808,6 +1803,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1825,11 +1825,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/lexical/element_1" @@ -1837,6 +1832,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1854,11 +1854,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4/source-map/lexical/element_2" @@ -1869,6 +1864,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2012,11 +2012,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id/source-map/lexical/element_1" @@ -2024,6 +2019,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2041,11 +2041,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/lexical/element_1" @@ -2053,6 +2048,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2142,11 +2142,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/examples/example/default-example", "http://a.ml/vocabularies/document-source-maps#value": "[(93,6)-(96,7)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB", - "http://a.ml/vocabularies/document-source-maps#value": "[(64,10)-(64,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB", @@ -2158,9 +2153,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(64,10)-(64,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3", - "http://a.ml/vocabularies/document-source-maps#value": "[(67,10)-(67,16)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB/scalar/%E7%B4%84%E3%83%9E%E3%82%A4%E3%83%AB", + "http://a.ml/vocabularies/document-source-maps#value": "[(64,10)-(64,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/lexical/element_1", @@ -2173,9 +2168,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(67,10)-(67,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4", - "http://a.ml/vocabularies/document-source-maps#value": "[(70,10)-(70,16)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E3%82%B7%E3%83%86%E3%82%A3/scalar/%E3%82%B7%E3%83%86%E3%82%A3", + "http://a.ml/vocabularies/document-source-maps#value": "[(67,10)-(67,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4/source-map/lexical/element_2", @@ -2192,6 +2187,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4", "http://a.ml/vocabularies/document-source-maps#value": "[(69,8)-(72,9)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E6%8E%A8%E5%AE%9A%E5%80%A4/scalar/%E6%8E%A8%E5%AE%9A%E5%80%A4", + "http://a.ml/vocabularies/document-source-maps#value": "[(70,10)-(70,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/property/property/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/any/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", @@ -2284,11 +2284,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1/examples/example/default-example/object_1", "http://a.ml/vocabularies/document-source-maps#value": "[(77,17)-(81,7)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id", - "http://a.ml/vocabularies/document-source-maps#value": "[(87,10)-(87,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id", @@ -2300,9 +2295,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(87,10)-(87,26)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3", - "http://a.ml/vocabularies/document-source-maps#value": "[(90,10)-(90,16)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/id/scalar/id", + "http://a.ml/vocabularies/document-source-maps#value": "[(87,10)-(87,16)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/lexical/element_1", @@ -2314,6 +2309,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(90,10)-(90,26)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/property/property/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3/scalar/%E3%83%93%E3%83%BC%E3%83%87%E3%83%B3", + "http://a.ml/vocabularies/document-source-maps#value": "[(90,10)-(90,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/oasapi.json#/declares/shape/%E8%BB%8A%E4%B8%A1%E8%A9%B3%E7%B4%B0/examples/example/default-example/object_1/id/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.expanded.jsonld index 0a816b04df..e4f22364f0 100644 --- a/amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.expanded.jsonld @@ -187,9 +187,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC" @@ -197,14 +197,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(64,8)-(65,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC" @@ -212,7 +212,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,8)-(65,0)]" + "@value": "" } ] } @@ -242,9 +242,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" @@ -252,35 +252,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,6)-(65,0)]" + "@value": "[(64,8)-(64,12)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,8)-(65,0)]" + "@value": "[(63,6)-(65,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,8)-(64,12)]" + "@value": "[(64,8)-(65,0)]" } ] } @@ -529,21 +529,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(61,8)-(61,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema/source-map/lexical/element_2", @@ -584,6 +569,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(61,8)-(61,12)]" + } + ] + } ] } ] @@ -864,9 +864,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC" @@ -874,14 +874,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(71,12)-(72,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC" @@ -889,7 +889,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(71,12)-(72,0)]" + "@value": "" } ] } @@ -919,9 +919,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema" @@ -929,35 +929,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(70,10)-(72,0)]" + "@value": "[(71,12)-(71,16)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(71,12)-(72,0)]" + "@value": "[(70,10)-(72,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(71,12)-(71,16)]" + "@value": "[(71,12)-(72,0)]" } ] } @@ -1222,9 +1222,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID" @@ -1232,14 +1232,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(75,6)-(76,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID" @@ -1247,7 +1247,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(75,6)-(76,0)]" + "@value": "" } ] } @@ -1428,21 +1428,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(75,6)-(75,10)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/source-map/lexical/element_5", @@ -1522,6 +1507,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(75,6)-(75,10)]" + } + ] + } ] } ] @@ -1778,21 +1778,6 @@ "@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/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA" - } - ], - "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/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA/source-map/lexical/element_4", @@ -1859,6 +1844,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -2036,21 +2036,6 @@ "@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/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File" - } - ], - "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/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File/source-map/lexical/element_2", @@ -2092,6 +2077,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File/source-map/type-property-lexical-info/element_0", @@ -2281,21 +2281,6 @@ "@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/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID" - } - ], - "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/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/lexical/element_3", @@ -2350,6 +2335,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/type-property-lexical-info/element_0", @@ -2773,21 +2773,6 @@ "@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/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88" - } - ], - "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/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88/source-map/lexical/element_4", @@ -2855,6 +2840,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88/source-map/type-property-lexical-info/element_0", @@ -2965,9 +2965,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file" @@ -2975,14 +2975,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(38,14)-(38,20)]" + "@value": "File" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file" @@ -2990,7 +2990,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "File" + "@value": "[(38,14)-(38,20)]" } ] } @@ -3010,9 +3010,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F" @@ -3020,14 +3020,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(38,8)-(38,12)]" + "@value": "[(37,6)-(39,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F" @@ -3035,7 +3035,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,6)-(39,0)]" + "@value": "[(38,8)-(38,12)]" } ] } @@ -3281,9 +3281,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union" @@ -3291,14 +3291,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "\u30E6\u30FC\u30B6\u30FC | \u30E6\u30FC\u30B6\u30FC\u30A2\u30AB\u30A6\u30F3\u30C8" + "@value": "[(40,8)-(41,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union" @@ -3306,7 +3306,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,8)-(41,0)]" + "@value": "\u30E6\u30FC\u30B6\u30FC | \u30E6\u30FC\u30B6\u30FC\u30A2\u30AB\u30A6\u30F3\u30C8" } ] } @@ -3321,9 +3321,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97" @@ -3331,35 +3331,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,8)-(40,12)]" + "@value": "[(39,14)-(41,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97" + "@value": "http://a.ml/vocabularies/shapes#inherits" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,14)-(41,0)]" + "@value": "[(40,8)-(41,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#inherits" + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,8)-(41,0)]" + "@value": "[(40,8)-(40,12)]" } ] } @@ -3823,6 +3823,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC" + } + ], + "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/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_3", @@ -3876,21 +3891,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } ] } ] @@ -4009,21 +4009,6 @@ "@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/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA" - } - ], - "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/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA/source-map/lexical/element_4", @@ -4090,6 +4075,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.flattened.jsonld index 1f0de36a1c..00d92cb5f5 100644 --- a/amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.flattened.jsonld @@ -653,11 +653,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/source-map/lexical/element_5" @@ -677,6 +672,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/source-map/lexical/element_4" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -720,11 +720,6 @@ "@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/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA/source-map/lexical/element_4" @@ -741,6 +736,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA/source-map/declared-element/element_0" + } ] }, { @@ -908,14 +908,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/auto-generated-name/element_0" } ] }, @@ -963,11 +963,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(75,6)-(75,10)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValueStr", @@ -998,6 +993,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValue", "http://a.ml/vocabularies/document-source-maps#value": "[(74,6)-(75,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(75,6)-(75,10)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA/settings/oauth1/source-map", "@type": [ @@ -1018,11 +1018,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -1048,6 +1043,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(47,2)-(47,6)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scheme/%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC", "@type": [ @@ -1080,6 +1080,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -1087,11 +1092,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -1121,11 +1121,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema/source-map/lexical/element_2" @@ -1136,6 +1131,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1185,6 +1185,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_1" @@ -1192,11 +1197,6 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0" - } ] }, { @@ -1220,14 +1220,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(74,15)-(74,21)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(75,6)-(76,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/inherits/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID", - "http://a.ml/vocabularies/document-source-maps#value": "[(75,6)-(76,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/examples/example/default-example/scalar_1/source-map", @@ -1293,14 +1293,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/auto-generated-name/element_0" } ] }, @@ -1309,6 +1309,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(64,8)-(64,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", @@ -1319,11 +1324,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(64,8)-(65,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(64,8)-(64,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema/examples/example/default-example/scalar_1", "@type": [ @@ -1368,11 +1368,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(61,8)-(61,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1388,19 +1383,24 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema", "http://a.ml/vocabularies/document-source-maps#value": "[(59,6)-(62,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(61,8)-(61,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/auto-generated-name/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/auto-generated-name/element_0" } ] }, @@ -1409,6 +1409,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema", + "http://a.ml/vocabularies/document-source-maps#value": "[(71,12)-(71,16)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema", @@ -1419,11 +1424,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(71,12)-(72,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema", - "http://a.ml/vocabularies/document-source-maps#value": "[(71,12)-(71,16)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/parameter/parameter/path/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/scalar/schema/examples/example/default-example/scalar_1/source-map/synthesized-field/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1440,14 +1440,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(76,15)-(76,21)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(64,8)-(65,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC", - "http://a.ml/vocabularies/document-source-maps#value": "[(64,8)-(65,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema/examples/example/default-example/scalar_1/source-map", @@ -1489,14 +1489,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/auto-generated-name/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(71,12)-(72,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%2F%7B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID%7D/supportedOperation/get/returns/resp/201/payload/application%2Fjson/shape/schema/inherits/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC", - "http://a.ml/vocabularies/document-source-maps#value": "[(71,12)-(72,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/web-api/endpoint/%2F%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/supportedOperation/post/expects/request/header/parameter/header/%E8%AA%8D%E5%8F%AF/scalar/schema/examples/example/default-example/scalar_1/source-map/synthesized-field/element_1", @@ -1658,11 +1658,6 @@ "@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/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File/source-map/lexical/element_2" @@ -1674,6 +1669,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File/source-map/lexical/element_1" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File/source-map/type-property-lexical-info/element_0" @@ -1702,11 +1702,6 @@ "@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/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/lexical/element_3" @@ -1721,6 +1716,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/type-property-lexical-info/element_0" @@ -1762,11 +1762,6 @@ "@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/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88/source-map/lexical/element_4" @@ -1784,6 +1779,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88/source-map/lexical/element_3" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88/source-map/type-property-lexical-info/element_0" @@ -1865,6 +1865,11 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/declared-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_3" @@ -1878,18 +1883,8 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_2" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/declared-element/element_0" - } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#fileType", @@ -1905,6 +1900,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File", "http://a.ml/vocabularies/document-source-maps#value": "[(18,7)-(25,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/file-shape/File", @@ -1949,11 +1949,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -1974,6 +1969,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID", "http://a.ml/vocabularies/document-source-maps#value": "[(25,2)-(28,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID", @@ -2078,11 +2078,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#in", @@ -2108,6 +2103,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(29,4)-(30,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88", @@ -2244,6 +2244,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -2264,11 +2269,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC", "http://a.ml/vocabularies/document-source-maps#value": "[(35,2)-(46,0)]" }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/scalar/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BCID/examples/example/default-example/scalar_1/source-map", "@type": [ @@ -2420,14 +2420,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/source-map/type-property-lexical-info/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/source-map/type-property-lexical-info/element_0" } ] }, @@ -2479,11 +2479,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/source-map/lexical/element_1" @@ -2491,6 +2486,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2683,26 +2683,26 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file/source-map/type-expression/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file/source-map/lexical/element_0" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/source-map/type-property-lexical-info/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F", - "http://a.ml/vocabularies/document-source-maps#value": "[(38,8)-(38,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(37,6)-(39,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F", - "http://a.ml/vocabularies/document-source-maps#value": "[(37,6)-(39,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(38,8)-(38,12)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union/anyOf/shape/default-node", @@ -2751,22 +2751,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-expression": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union/source-map/type-expression/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-expression": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union/source-map/type-expression/element_0" } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97", - "http://a.ml/vocabularies/document-source-maps#value": "[(40,8)-(40,12)]" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97", @@ -2777,6 +2772,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#inherits", "http://a.ml/vocabularies/document-source-maps#value": "[(40,8)-(41,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97", + "http://a.ml/vocabularies/document-source-maps#value": "[(40,8)-(40,12)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/examples/example/default-example/object_1/%E7%94%BB%E5%83%8F/member/scalar_3", "@type": [ @@ -2858,14 +2858,14 @@ "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file", - "http://a.ml/vocabularies/document-source-maps#value": "[(38,14)-(38,20)]" + "http://a.ml/vocabularies/document-source-maps#value": "File" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E7%94%BB%E5%83%8F/array/%E7%94%BB%E5%83%8F/file-shape/default-file", - "http://a.ml/vocabularies/document-source-maps#value": "File" + "http://a.ml/vocabularies/document-source-maps#value": "[(38,14)-(38,20)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union/anyOf/shape/default-node/source-map", @@ -2900,14 +2900,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union/source-map/type-expression/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "\u30E6\u30FC\u30B6\u30FC | \u30E6\u30FC\u30B6\u30FC\u30A2\u30AB\u30A6\u30F3\u30C8" + "http://a.ml/vocabularies/document-source-maps#value": "[(40,8)-(41,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union/source-map/type-expression/element_0", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/property/property/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/union/%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%82%B7%E3%83%83%E3%83%97/inherits/union/default-union", - "http://a.ml/vocabularies/document-source-maps#value": "[(40,8)-(41,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "\u30E6\u30FC\u30B6\u30FC | \u30E6\u30FC\u30B6\u30FC\u30A2\u30AB\u30A6\u30F3\u30C8" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/japanese/cycle/ramlapi.raml#/declares/shape/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/examples/example/default-example/object_1/%E7%94%BB%E5%83%8F/member/scalar_3/source-map", diff --git a/amf-cli/shared/src/test/resources/validations/japanese/resolve/oas30api.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/japanese/resolve/oas30api.expanded.jsonld index eed2b238b8..08b2cab948 100644 --- a/amf-cli/shared/src/test/resources/validations/japanese/resolve/oas30api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/japanese/resolve/oas30api.expanded.jsonld @@ -557,9 +557,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#61/source-map/auto-generated-name/element_0", + "@id": "amf://id#61/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#61" @@ -567,14 +567,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(42,16)-(47,17)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "amf://id#61/source-map/lexical/element_0", + "@id": "amf://id#61/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#61" @@ -582,7 +582,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(42,16)-(47,17)]" + "@value": "" } ] } @@ -931,9 +931,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#7/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#7/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#7" @@ -941,35 +941,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(61,12)-(61,18)]" + "@value": "[(60,10)-(62,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#7/source-map/lexical/element_1", + "@id": "amf://id#7/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#7" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(60,10)-(62,11)]" + "@value": "[(61,12)-(61,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#7/source-map/lexical/element_0", + "@id": "amf://id#7/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#7" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(61,12)-(61,28)]" + "@value": "[(61,12)-(61,18)]" } ] } @@ -1066,9 +1066,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#9/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#9/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#9" @@ -1076,35 +1076,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,12)-(64,18)]" + "@value": "[(63,10)-(65,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#9/source-map/lexical/element_1", + "@id": "amf://id#9/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#9" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,10)-(65,11)]" + "@value": "[(64,12)-(64,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#9/source-map/lexical/element_0", + "@id": "amf://id#9/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#9" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,12)-(64,28)]" + "@value": "[(64,12)-(64,18)]" } ] } @@ -1508,9 +1508,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#1/source-map/resolved-link/element_0", + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1518,14 +1518,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#10" + "@value": "[(58,8)-(58,14)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1533,70 +1533,70 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(58,8)-(58,14)]" + "@value": "amf://id#11" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_2", + "@id": "amf://id#1/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(57,6)-(57,22)]" + "@value": "amf://id#10" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#1/source-map/lexical/element_0", + "@id": "amf://id#1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "amf://id#1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(67,8)-(70,9)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/lexical/element_1", + "@id": "amf://id#1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#1" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(57,6)-(71,7)]" + "@value": "[(57,6)-(57,22)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "amf://id#1/source-map/declared-element/element_0", + "@id": "amf://id#1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#1" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(67,8)-(70,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -1604,7 +1604,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#11" + "@value": "[(57,6)-(71,7)]" } ] } @@ -1666,9 +1666,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#20/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#20/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#20" @@ -1676,35 +1676,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(76,12)-(76,18)]" + "@value": "[(75,10)-(77,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#20/source-map/lexical/element_1", + "@id": "amf://id#20/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#20" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(75,10)-(77,11)]" + "@value": "[(76,12)-(76,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#20/source-map/lexical/element_0", + "@id": "amf://id#20/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#20" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(76,12)-(76,28)]" + "@value": "[(76,12)-(76,18)]" } ] } @@ -1801,9 +1801,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#22/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#22/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#22" @@ -1811,35 +1811,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(79,12)-(79,18)]" + "@value": "[(78,10)-(80,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#22/source-map/lexical/element_1", + "@id": "amf://id#22/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#22" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(78,10)-(80,11)]" + "@value": "[(79,12)-(79,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#22/source-map/lexical/element_0", + "@id": "amf://id#22/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#22" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(79,12)-(79,28)]" + "@value": "[(79,12)-(79,18)]" } ] } @@ -1936,9 +1936,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#24/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#24/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#24" @@ -1946,35 +1946,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(82,12)-(82,18)]" + "@value": "[(81,10)-(83,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#24/source-map/lexical/element_1", + "@id": "amf://id#24/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#24" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(81,10)-(83,11)]" + "@value": "[(82,12)-(82,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#24/source-map/lexical/element_0", + "@id": "amf://id#24/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#24" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(82,12)-(82,28)]" + "@value": "[(82,12)-(82,18)]" } ] } @@ -2071,9 +2071,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#26/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#26/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#26" @@ -2081,35 +2081,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(85,12)-(85,18)]" + "@value": "[(84,10)-(86,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#26/source-map/lexical/element_1", + "@id": "amf://id#26/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#26" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(84,10)-(86,11)]" + "@value": "[(85,12)-(85,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#26/source-map/lexical/element_0", + "@id": "amf://id#26/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#26" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(85,12)-(85,28)]" + "@value": "[(85,12)-(85,18)]" } ] } @@ -2691,9 +2691,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#12/source-map/resolved-link/element_0", + "@id": "amf://id#12/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#12" @@ -2701,14 +2701,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#29" + "@value": "[(73,8)-(73,14)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#12/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#12/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#12" @@ -2716,70 +2716,70 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(73,8)-(73,14)]" + "@value": "amf://id#29" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#12/source-map/lexical/element_2", + "@id": "amf://id#12/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#12" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(72,6)-(72,14)]" + "@value": "amf://id#27" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#12/source-map/lexical/element_0", + "@id": "amf://id#12/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "amf://id#12" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(88,8)-(93,9)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#12/source-map/lexical/element_1", + "@id": "amf://id#12/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#12" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(72,6)-(94,7)]" + "@value": "[(72,6)-(72,14)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "amf://id#12/source-map/declared-element/element_0", + "@id": "amf://id#12/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#12" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(88,8)-(93,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#12/source-map/resolved-link-target/element_0", + "@id": "amf://id#12/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#12" @@ -2787,7 +2787,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#28" + "@value": "[(72,6)-(94,7)]" } ] } @@ -2849,9 +2849,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#42/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#42/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#42" @@ -2859,35 +2859,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(99,12)-(99,18)]" + "@value": "[(98,10)-(100,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#42/source-map/lexical/element_1", + "@id": "amf://id#42/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#42" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(98,10)-(100,11)]" + "@value": "[(99,12)-(99,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#42/source-map/lexical/element_0", + "@id": "amf://id#42/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#42" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(99,12)-(99,28)]" + "@value": "[(99,12)-(99,18)]" } ] } @@ -2984,9 +2984,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#44/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#44/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#44" @@ -2994,35 +2994,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(102,12)-(102,18)]" + "@value": "[(101,10)-(103,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#44/source-map/lexical/element_1", + "@id": "amf://id#44/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#44" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(101,10)-(103,11)]" + "@value": "[(102,12)-(102,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#44/source-map/lexical/element_0", + "@id": "amf://id#44/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#44" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(102,12)-(102,28)]" + "@value": "[(102,12)-(102,18)]" } ] } @@ -3119,9 +3119,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#46/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#46/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#46" @@ -3129,35 +3129,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(105,12)-(105,18)]" + "@value": "[(104,10)-(106,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#46/source-map/lexical/element_1", + "@id": "amf://id#46/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#46" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(104,10)-(106,11)]" + "@value": "[(105,12)-(105,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#46/source-map/lexical/element_0", + "@id": "amf://id#46/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#46" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(105,12)-(105,28)]" + "@value": "[(105,12)-(105,18)]" } ] } @@ -3283,9 +3283,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#20/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#20/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#20" @@ -3293,35 +3293,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(76,12)-(76,18)]" + "@value": "[(75,10)-(77,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#20/source-map/lexical/element_1", + "@id": "amf://id#20/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#20" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(75,10)-(77,11)]" + "@value": "[(76,12)-(76,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#20/source-map/lexical/element_0", + "@id": "amf://id#20/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#20" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(76,12)-(76,28)]" + "@value": "[(76,12)-(76,18)]" } ] } @@ -3418,9 +3418,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#22/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#22/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#22" @@ -3428,35 +3428,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(79,12)-(79,18)]" + "@value": "[(78,10)-(80,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#22/source-map/lexical/element_1", + "@id": "amf://id#22/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#22" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(78,10)-(80,11)]" + "@value": "[(79,12)-(79,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#22/source-map/lexical/element_0", + "@id": "amf://id#22/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#22" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(79,12)-(79,28)]" + "@value": "[(79,12)-(79,18)]" } ] } @@ -3553,9 +3553,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#24/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#24/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#24" @@ -3563,35 +3563,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(82,12)-(82,18)]" + "@value": "[(81,10)-(83,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#24/source-map/lexical/element_1", + "@id": "amf://id#24/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#24" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(81,10)-(83,11)]" + "@value": "[(82,12)-(82,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#24/source-map/lexical/element_0", + "@id": "amf://id#24/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#24" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(82,12)-(82,28)]" + "@value": "[(82,12)-(82,18)]" } ] } @@ -3688,9 +3688,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#26/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#26/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#26" @@ -3698,35 +3698,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(85,12)-(85,18)]" + "@value": "[(84,10)-(86,11)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#26/source-map/lexical/element_1", + "@id": "amf://id#26/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#26" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(84,10)-(86,11)]" + "@value": "[(85,12)-(85,28)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#26/source-map/lexical/element_0", + "@id": "amf://id#26/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#26" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(85,12)-(85,28)]" + "@value": "[(85,12)-(85,18)]" } ] } @@ -4308,9 +4308,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#12/source-map/resolved-link/element_0", + "@id": "amf://id#12/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#12" @@ -4318,14 +4318,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#29" + "@value": "[(73,8)-(73,14)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#12/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#12/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#12" @@ -4333,70 +4333,70 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(73,8)-(73,14)]" + "@value": "amf://id#29" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#12/source-map/lexical/element_2", + "@id": "amf://id#12/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#12" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(72,6)-(72,14)]" + "@value": "amf://id#27" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#12/source-map/lexical/element_0", + "@id": "amf://id#12/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "amf://id#12" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(88,8)-(93,9)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#12/source-map/lexical/element_1", + "@id": "amf://id#12/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#12" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(72,6)-(94,7)]" + "@value": "[(72,6)-(72,14)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "amf://id#12/source-map/declared-element/element_0", + "@id": "amf://id#12/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#12" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(88,8)-(93,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#12/source-map/resolved-link-target/element_0", + "@id": "amf://id#12/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#12" @@ -4404,7 +4404,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#28" + "@value": "[(72,6)-(94,7)]" } ] } @@ -5319,9 +5319,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#30/source-map/resolved-link/element_0", + "@id": "amf://id#30/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#30" @@ -5329,14 +5329,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#30" + "@value": "[(96,8)-(96,14)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#30/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#30/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#30" @@ -5344,70 +5344,70 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(96,8)-(96,14)]" + "@value": "amf://id#30" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#30/source-map/lexical/element_2", + "@id": "amf://id#30/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#30" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(95,6)-(95,19)]" + "@value": "amf://id#48" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#30/source-map/lexical/element_0", + "@id": "amf://id#30/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "amf://id#30" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(111,8)-(121,9)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#30/source-map/lexical/element_1", + "@id": "amf://id#30/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#30" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(95,6)-(122,7)]" + "@value": "[(95,6)-(95,19)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "amf://id#30/source-map/declared-element/element_0", + "@id": "amf://id#30/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#30" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(111,8)-(121,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#30/source-map/resolved-link-target/element_0", + "@id": "amf://id#30/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#30" @@ -5415,7 +5415,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#48" + "@value": "[(95,6)-(122,7)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/japanese/resolve/oas30api.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/japanese/resolve/oas30api.flattened.jsonld index bef9c2c990..94ebd06d00 100644 --- a/amf-cli/shared/src/test/resources/validations/japanese/resolve/oas30api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/japanese/resolve/oas30api.flattened.jsonld @@ -728,14 +728,24 @@ "@id": "amf://id#12/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#12/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#12/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#12/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#12/source-map/resolved-link-target/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#12/source-map/declared-element/element_0" } ], "http://a.ml/vocabularies/document-source-maps#lexical": [ @@ -748,16 +758,6 @@ { "@id": "amf://id#12/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#12/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#12/source-map/resolved-link-target/element_0" - } ] }, { @@ -921,14 +921,24 @@ "@id": "amf://id#30/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#30/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#30/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#30/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#30/source-map/resolved-link-target/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#30/source-map/declared-element/element_0" } ], "http://a.ml/vocabularies/document-source-maps#lexical": [ @@ -941,16 +951,6 @@ { "@id": "amf://id#30/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#30/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#30/source-map/resolved-link-target/element_0" - } ] }, { @@ -1004,14 +1004,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#61/source-map/auto-generated-name/element_0" + "@id": "amf://id#61/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "amf://id#61/source-map/lexical/element_0" + "@id": "amf://id#61/source-map/auto-generated-name/element_0" } ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ @@ -1238,15 +1238,25 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#recursive", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#12/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", + "http://a.ml/vocabularies/document-source-maps#value": "[(73,8)-(73,14)]" + }, { "@id": "amf://id#12/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", "http://a.ml/vocabularies/document-source-maps#value": "amf://id#29" }, { - "@id": "amf://id#12/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#12/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", - "http://a.ml/vocabularies/document-source-maps#value": "[(73,8)-(73,14)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#27" + }, + { + "@id": "amf://id#12/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "amf://id#12/source-map/lexical/element_2", @@ -1263,16 +1273,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", "http://a.ml/vocabularies/document-source-maps#value": "[(72,6)-(94,7)]" }, - { - "@id": "amf://id#12/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#12/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#28" - }, { "@id": "amf://id#42", "@type": [ @@ -1455,15 +1455,25 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#recursive", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#30/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#30", + "http://a.ml/vocabularies/document-source-maps#value": "[(96,8)-(96,14)]" + }, { "@id": "amf://id#30/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#30", "http://a.ml/vocabularies/document-source-maps#value": "amf://id#30" }, { - "@id": "amf://id#30/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#30/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#30", - "http://a.ml/vocabularies/document-source-maps#value": "[(96,8)-(96,14)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#48" + }, + { + "@id": "amf://id#30/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#30", + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "amf://id#30/source-map/lexical/element_2", @@ -1480,16 +1490,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#30", "http://a.ml/vocabularies/document-source-maps#value": "[(95,6)-(122,7)]" }, - { - "@id": "amf://id#30/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#30", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#30/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#30", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#48" - }, { "@id": "amf://id#6", "@type": [ @@ -1568,14 +1568,24 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#1/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#1/source-map/resolved-link-target/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#1/source-map/declared-element/element_0" } ], "http://a.ml/vocabularies/document-source-maps#lexical": [ @@ -1588,27 +1598,17 @@ { "@id": "amf://id#1/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" - } ] }, { - "@id": "amf://id#61/source-map/auto-generated-name/element_0", + "@id": "amf://id#61/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#61", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(42,16)-(47,17)]" }, { - "@id": "amf://id#61/source-map/lexical/element_0", + "@id": "amf://id#61/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#61", - "http://a.ml/vocabularies/document-source-maps#value": "[(42,16)-(47,17)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "amf://id#61/source-map/type-property-lexical-info/element_0", @@ -1620,11 +1620,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#20/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#20/source-map/lexical/element_1" @@ -1632,6 +1627,11 @@ { "@id": "amf://id#20/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#20/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1649,11 +1649,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#22/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#22/source-map/lexical/element_1" @@ -1661,6 +1656,11 @@ { "@id": "amf://id#22/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#22/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1678,11 +1678,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#24/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#24/source-map/lexical/element_1" @@ -1690,6 +1685,11 @@ { "@id": "amf://id#24/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#24/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1707,11 +1707,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#26/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#26/source-map/lexical/element_1" @@ -1719,6 +1714,11 @@ { "@id": "amf://id#26/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#26/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1859,11 +1859,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#42/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#42/source-map/lexical/element_1" @@ -1871,6 +1866,11 @@ { "@id": "amf://id#42/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#42/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1888,11 +1888,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#44/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#44/source-map/lexical/element_1" @@ -1900,6 +1895,11 @@ { "@id": "amf://id#44/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#44/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1917,11 +1917,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#46/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#46/source-map/lexical/element_1" @@ -1929,6 +1924,11 @@ { "@id": "amf://id#46/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#46/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2203,15 +2203,25 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#recursive", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "[(58,8)-(58,14)]" + }, { "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#11" + }, + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", "http://a.ml/vocabularies/document-source-maps#value": "amf://id#10" }, { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "[(58,8)-(58,14)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "amf://id#1/source-map/lexical/element_2", @@ -2228,21 +2238,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", "http://a.ml/vocabularies/document-source-maps#value": "[(57,6)-(71,7)]" }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#11" - }, - { - "@id": "amf://id#20/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#20", - "http://a.ml/vocabularies/document-source-maps#value": "[(76,12)-(76,18)]" - }, { "@id": "amf://id#20/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#20", @@ -2254,9 +2249,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(76,12)-(76,28)]" }, { - "@id": "amf://id#22/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#22", - "http://a.ml/vocabularies/document-source-maps#value": "[(79,12)-(79,18)]" + "@id": "amf://id#20/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#20", + "http://a.ml/vocabularies/document-source-maps#value": "[(76,12)-(76,18)]" }, { "@id": "amf://id#22/source-map/lexical/element_1", @@ -2269,9 +2264,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(79,12)-(79,28)]" }, { - "@id": "amf://id#24/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#24", - "http://a.ml/vocabularies/document-source-maps#value": "[(82,12)-(82,18)]" + "@id": "amf://id#22/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#22", + "http://a.ml/vocabularies/document-source-maps#value": "[(79,12)-(79,18)]" }, { "@id": "amf://id#24/source-map/lexical/element_1", @@ -2284,9 +2279,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(82,12)-(82,28)]" }, { - "@id": "amf://id#26/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#26", - "http://a.ml/vocabularies/document-source-maps#value": "[(85,12)-(85,18)]" + "@id": "amf://id#24/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#24", + "http://a.ml/vocabularies/document-source-maps#value": "[(82,12)-(82,18)]" }, { "@id": "amf://id#26/source-map/lexical/element_1", @@ -2298,6 +2293,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(85,12)-(85,28)]" }, + { + "@id": "amf://id#26/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#26", + "http://a.ml/vocabularies/document-source-maps#value": "[(85,12)-(85,18)]" + }, { "@id": "amf://id#15/source-map", "@type": [ @@ -2404,11 +2404,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/data#%E3%82%B7%E3%83%86%E3%82%A3", "http://a.ml/vocabularies/document-source-maps#value": "[(89,10)-(89,22)]" }, - { - "@id": "amf://id#42/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#42", - "http://a.ml/vocabularies/document-source-maps#value": "[(99,12)-(99,18)]" - }, { "@id": "amf://id#42/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#42", @@ -2420,9 +2415,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(99,12)-(99,28)]" }, { - "@id": "amf://id#44/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#44", - "http://a.ml/vocabularies/document-source-maps#value": "[(102,12)-(102,18)]" + "@id": "amf://id#42/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#42", + "http://a.ml/vocabularies/document-source-maps#value": "[(99,12)-(99,18)]" }, { "@id": "amf://id#44/source-map/lexical/element_1", @@ -2435,9 +2430,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(102,12)-(102,28)]" }, { - "@id": "amf://id#46/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#46", - "http://a.ml/vocabularies/document-source-maps#value": "[(105,12)-(105,18)]" + "@id": "amf://id#44/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#44", + "http://a.ml/vocabularies/document-source-maps#value": "[(102,12)-(102,18)]" }, { "@id": "amf://id#46/source-map/lexical/element_1", @@ -2449,6 +2444,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(105,12)-(105,28)]" }, + { + "@id": "amf://id#46/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#46", + "http://a.ml/vocabularies/document-source-maps#value": "[(105,12)-(105,18)]" + }, { "@id": "amf://id#33/source-map", "@type": [ @@ -2649,11 +2649,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#7/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#7/source-map/lexical/element_1" @@ -2661,6 +2656,11 @@ { "@id": "amf://id#7/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#7/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2678,11 +2678,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#9/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#9/source-map/lexical/element_1" @@ -2690,6 +2685,11 @@ { "@id": "amf://id#9/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#9/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2990,11 +2990,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#40", "http://a.ml/vocabularies/document-source-maps#value": "[(120,27)-(120,42)]" }, - { - "@id": "amf://id#7/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", - "http://a.ml/vocabularies/document-source-maps#value": "[(61,12)-(61,18)]" - }, { "@id": "amf://id#7/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", @@ -3006,9 +3001,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(61,12)-(61,28)]" }, { - "@id": "amf://id#9/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#9", - "http://a.ml/vocabularies/document-source-maps#value": "[(64,12)-(64,18)]" + "@id": "amf://id#7/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#7", + "http://a.ml/vocabularies/document-source-maps#value": "[(61,12)-(61,18)]" }, { "@id": "amf://id#9/source-map/lexical/element_1", @@ -3020,6 +3015,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(64,12)-(64,28)]" }, + { + "@id": "amf://id#9/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#9", + "http://a.ml/vocabularies/document-source-maps#value": "[(64,12)-(64,18)]" + }, { "@id": "amf://id#4/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/japanese/resolve/oasapi.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/japanese/resolve/oasapi.expanded.jsonld index f4657c4b35..a298229841 100644 --- a/amf-cli/shared/src/test/resources/validations/japanese/resolve/oasapi.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/japanese/resolve/oasapi.expanded.jsonld @@ -111,9 +111,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "amf://id#35/source-map/lexical/element_0", + "@id": "amf://id#35/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#35" @@ -121,14 +121,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(60,4)-(82,5)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#35/source-map/virtual-element/element_0", + "@id": "amf://id#35/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#35" @@ -136,7 +136,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(60,4)-(82,5)]" } ] } @@ -337,21 +337,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "amf://id#41/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#41" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "true" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#41/source-map/lexical/element_2", @@ -393,6 +378,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "amf://id#41/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#41" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#required-param-payload": [ { "@id": "amf://id#41/source-map/required-param-payload/element_0", @@ -525,9 +525,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "amf://id#39/source-map/lexical/element_0", + "@id": "amf://id#39/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#39" @@ -535,14 +535,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(60,4)-(82,5)]" + "@value": "true" } ] } ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#39/source-map/virtual-element/element_0", + "@id": "amf://id#39/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#39" @@ -550,7 +550,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(60,4)-(82,5)]" } ] } @@ -784,9 +784,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#46/source-map/auto-generated-name/element_0", + "@id": "amf://id#46/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#46" @@ -794,14 +794,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(48,12)-(53,13)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "amf://id#46/source-map/lexical/element_0", + "@id": "amf://id#46/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#46" @@ -809,7 +809,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(48,12)-(53,13)]" + "@value": "" } ] } @@ -839,9 +839,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "amf://id#45/source-map/lexical/element_1", + "@id": "amf://id#45/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#45" @@ -849,15 +849,17 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(48,12)-(53,13)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#45/source-map/lexical/element_0", + "@id": "amf://id#45/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#schema" + "@value": "amf://id#45" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -865,19 +867,17 @@ "@value": "[(48,12)-(53,13)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + }, { - "@id": "amf://id#45/source-map/virtual-element/element_0", + "@id": "amf://id#45/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#45" + "@value": "http://a.ml/vocabularies/shapes#schema" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "true" + "@value": "[(48,12)-(53,13)]" } ] } @@ -1147,9 +1147,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#8/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -1157,35 +1157,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,10)-(64,16)]" + "@value": "[(63,8)-(65,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#8/source-map/lexical/element_1", + "@id": "amf://id#8/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#8" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,8)-(65,9)]" + "@value": "[(64,10)-(64,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#8/source-map/lexical/element_0", + "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#8" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(64,10)-(64,26)]" + "@value": "[(64,10)-(64,16)]" } ] } @@ -1282,9 +1282,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#10/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#10/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#10" @@ -1292,35 +1292,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(67,10)-(67,16)]" + "@value": "[(66,8)-(68,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#10/source-map/lexical/element_1", + "@id": "amf://id#10/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#10" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(66,8)-(68,9)]" + "@value": "[(67,10)-(67,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#10/source-map/lexical/element_0", + "@id": "amf://id#10/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#10" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(67,10)-(67,26)]" + "@value": "[(67,10)-(67,16)]" } ] } @@ -1422,21 +1422,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#12/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#12" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(70,10)-(70,16)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#12/source-map/lexical/element_2", @@ -1477,6 +1462,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#12/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#12" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(70,10)-(70,16)]" + } + ] + } ] } ] @@ -1599,9 +1599,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#20/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#20/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#20" @@ -1609,35 +1609,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,10)-(87,16)]" + "@value": "[(86,8)-(88,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#20/source-map/lexical/element_1", + "@id": "amf://id#20/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#20" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(86,8)-(88,9)]" + "@value": "[(87,10)-(87,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#20/source-map/lexical/element_0", + "@id": "amf://id#20/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#20" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,10)-(87,26)]" + "@value": "[(87,10)-(87,16)]" } ] } @@ -1734,9 +1734,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#22/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#22/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#22" @@ -1744,35 +1744,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(90,10)-(90,16)]" + "@value": "[(89,8)-(91,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#22/source-map/lexical/element_1", + "@id": "amf://id#22/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#22" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(89,8)-(91,9)]" + "@value": "[(90,10)-(90,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#22/source-map/lexical/element_0", + "@id": "amf://id#22/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#22" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(90,10)-(90,26)]" + "@value": "[(90,10)-(90,16)]" } ] } @@ -2176,9 +2176,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#14/source-map/resolved-link/element_0", + "@id": "amf://id#14/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#14" @@ -2186,14 +2186,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#25" + "@value": "[(84,6)-(84,12)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#14/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#14/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#14" @@ -2201,70 +2201,70 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(84,6)-(84,12)]" + "@value": "amf://id#25" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#14/source-map/lexical/element_2", + "@id": "amf://id#14/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#14" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(83,4)-(83,10)]" + "@value": "amf://id#23" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#14/source-map/lexical/element_0", + "@id": "amf://id#14/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "amf://id#14" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(93,6)-(96,7)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#14/source-map/lexical/element_1", + "@id": "amf://id#14/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#14" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(83,4)-(97,5)]" + "@value": "[(83,4)-(83,10)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "amf://id#14/source-map/declared-element/element_0", + "@id": "amf://id#14/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#14" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(93,6)-(96,7)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#14/source-map/resolved-link-target/element_0", + "@id": "amf://id#14/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#14" @@ -2272,7 +2272,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#24" + "@value": "[(83,4)-(97,5)]" } ] } @@ -2765,9 +2765,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#1/source-map/resolved-link/element_0", + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -2775,14 +2775,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#29" + "@value": "[(61,6)-(61,12)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -2790,70 +2790,70 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(61,6)-(61,12)]" + "@value": "amf://id#29" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_2", + "@id": "amf://id#1/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(60,4)-(60,8)]" + "@value": "amf://id#26" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#1/source-map/lexical/element_0", + "@id": "amf://id#1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "amf://id#1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(77,6)-(81,7)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/lexical/element_1", + "@id": "amf://id#1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#1" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(60,4)-(82,5)]" + "@value": "[(60,4)-(60,8)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "amf://id#1/source-map/declared-element/element_0", + "@id": "amf://id#1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#1" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(77,6)-(81,7)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -2861,7 +2861,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#27" + "@value": "[(60,4)-(82,5)]" } ] } @@ -2923,9 +2923,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#20/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#20/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#20" @@ -2933,35 +2933,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,10)-(87,16)]" + "@value": "[(86,8)-(88,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#20/source-map/lexical/element_1", + "@id": "amf://id#20/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#20" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(86,8)-(88,9)]" + "@value": "[(87,10)-(87,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#20/source-map/lexical/element_0", + "@id": "amf://id#20/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#20" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,10)-(87,26)]" + "@value": "[(87,10)-(87,16)]" } ] } @@ -3058,9 +3058,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#22/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#22/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#22" @@ -3068,35 +3068,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(90,10)-(90,16)]" + "@value": "[(89,8)-(91,9)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#22/source-map/lexical/element_1", + "@id": "amf://id#22/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#22" + "@value": "http://www.w3.org/ns/shacl#datatype" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(89,8)-(91,9)]" + "@value": "[(90,10)-(90,26)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#22/source-map/lexical/element_0", + "@id": "amf://id#22/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#datatype" + "@value": "amf://id#22" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(90,10)-(90,26)]" + "@value": "[(90,10)-(90,16)]" } ] } @@ -3500,9 +3500,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#14/source-map/resolved-link/element_0", + "@id": "amf://id#14/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#14" @@ -3510,14 +3510,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#25" + "@value": "[(84,6)-(84,12)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#14/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#14/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#14" @@ -3525,70 +3525,70 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(84,6)-(84,12)]" + "@value": "amf://id#25" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#14/source-map/lexical/element_2", + "@id": "amf://id#14/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#14" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(83,4)-(83,10)]" + "@value": "amf://id#23" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#14/source-map/lexical/element_0", + "@id": "amf://id#14/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "amf://id#14" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(93,6)-(96,7)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#14/source-map/lexical/element_1", + "@id": "amf://id#14/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#14" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(83,4)-(97,5)]" + "@value": "[(83,4)-(83,10)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "amf://id#14/source-map/declared-element/element_0", + "@id": "amf://id#14/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#14" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(93,6)-(96,7)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#14/source-map/resolved-link-target/element_0", + "@id": "amf://id#14/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#14" @@ -3596,7 +3596,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#24" + "@value": "[(83,4)-(97,5)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/japanese/resolve/oasapi.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/japanese/resolve/oasapi.flattened.jsonld index d7acd56ccf..ac3ae9477e 100644 --- a/amf-cli/shared/src/test/resources/validations/japanese/resolve/oasapi.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/japanese/resolve/oasapi.flattened.jsonld @@ -583,6 +583,11 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "amf://id#35/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#35/source-map/lexical/element_1" @@ -590,11 +595,6 @@ { "@id": "amf://id#35/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "amf://id#35/source-map/virtual-element/element_0" - } ] }, { @@ -617,11 +617,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#body-parameter": [ - { - "@id": "amf://id#41/source-map/body-parameter/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#41/source-map/lexical/element_3" @@ -636,6 +631,11 @@ "@id": "amf://id#41/source-map/lexical/element_2" } ], + "http://a.ml/vocabularies/document-source-maps#body-parameter": [ + { + "@id": "amf://id#41/source-map/body-parameter/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#required-param-payload": [ { "@id": "amf://id#41/source-map/required-param-payload/element_0" @@ -662,6 +662,11 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "amf://id#39/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#39/source-map/lexical/element_1" @@ -669,11 +674,6 @@ { "@id": "amf://id#39/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "amf://id#39/source-map/virtual-element/element_0" - } ] }, { @@ -715,6 +715,11 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "amf://id#45/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#45/source-map/lexical/element_1" @@ -722,11 +727,6 @@ { "@id": "amf://id#45/source-map/lexical/element_0" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "amf://id#45/source-map/virtual-element/element_0" - } ] }, { @@ -870,14 +870,24 @@ "@id": "amf://id#1/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#1/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#1/source-map/resolved-link-target/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#1/source-map/declared-element/element_0" } ], "http://a.ml/vocabularies/document-source-maps#lexical": [ @@ -890,18 +900,13 @@ { "@id": "amf://id#1/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" - } ] }, + { + "@id": "amf://id#35/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#35", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "amf://id#35/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#35", @@ -912,16 +917,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(13,12)-(15,13)]" }, - { - "@id": "amf://id#35/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#35", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, - { - "@id": "amf://id#41/source-map/body-parameter/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#41", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "amf://id#41/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", @@ -942,11 +937,21 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#41", "http://a.ml/vocabularies/document-source-maps#value": "[(23,10)-(31,11)]" }, + { + "@id": "amf://id#41/source-map/body-parameter/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#41", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "amf://id#41/source-map/required-param-payload/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#41", "http://a.ml/vocabularies/document-source-maps#value": "true->[(27,12)-(27,28)]" }, + { + "@id": "amf://id#39/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#39", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "amf://id#39/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#39", @@ -957,11 +962,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(36,12)-(38,13)]" }, - { - "@id": "amf://id#39/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#39", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "amf://id#14", "@type": [ @@ -998,14 +998,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#46/source-map/auto-generated-name/element_0" + "@id": "amf://id#46/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#auto-generated-name": [ { - "@id": "amf://id#46/source-map/lexical/element_0" + "@id": "amf://id#46/source-map/auto-generated-name/element_0" } ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ @@ -1014,6 +1014,11 @@ } ] }, + { + "@id": "amf://id#45/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#45", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "amf://id#45/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#45", @@ -1024,11 +1029,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#schema", "http://a.ml/vocabularies/document-source-maps#value": "[(48,12)-(53,13)]" }, - { - "@id": "amf://id#45/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#45", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "amf://id#8", "@type": [ @@ -1209,15 +1209,25 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#recursive", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "[(61,6)-(61,12)]" + }, { "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", "http://a.ml/vocabularies/document-source-maps#value": "amf://id#29" }, { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "[(61,6)-(61,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#26" + }, + { + "@id": "amf://id#1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "amf://id#1/source-map/lexical/element_2", @@ -1234,16 +1244,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", "http://a.ml/vocabularies/document-source-maps#value": "[(60,4)-(82,5)]" }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#27" - }, { "@id": "amf://id#19", "@type": [ @@ -1322,14 +1322,24 @@ "@id": "amf://id#14/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#14/source-map/type-property-lexical-info/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#14/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#14/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#14/source-map/resolved-link-target/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#14/source-map/declared-element/element_0" } ], "http://a.ml/vocabularies/document-source-maps#lexical": [ @@ -1342,27 +1352,17 @@ { "@id": "amf://id#14/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#14/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#14/source-map/resolved-link-target/element_0" - } ] }, { - "@id": "amf://id#46/source-map/auto-generated-name/element_0", + "@id": "amf://id#46/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#46", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "[(48,12)-(53,13)]" }, { - "@id": "amf://id#46/source-map/lexical/element_0", + "@id": "amf://id#46/source-map/auto-generated-name/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#46", - "http://a.ml/vocabularies/document-source-maps#value": "[(48,12)-(53,13)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "amf://id#46/source-map/type-property-lexical-info/element_0", @@ -1374,11 +1374,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#8/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#8/source-map/lexical/element_1" @@ -1386,6 +1381,11 @@ { "@id": "amf://id#8/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#8/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1403,11 +1403,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#10/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#10/source-map/lexical/element_1" @@ -1415,6 +1410,11 @@ { "@id": "amf://id#10/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#10/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1432,11 +1432,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#12/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#12/source-map/lexical/element_2" @@ -1447,6 +1442,11 @@ { "@id": "amf://id#12/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#12/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1692,15 +1692,25 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#recursive", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#14/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#14", + "http://a.ml/vocabularies/document-source-maps#value": "[(84,6)-(84,12)]" + }, { "@id": "amf://id#14/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#14", "http://a.ml/vocabularies/document-source-maps#value": "amf://id#25" }, { - "@id": "amf://id#14/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#14/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#14", - "http://a.ml/vocabularies/document-source-maps#value": "[(84,6)-(84,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#23" + }, + { + "@id": "amf://id#14/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#14", + "http://a.ml/vocabularies/document-source-maps#value": "" }, { "@id": "amf://id#14/source-map/lexical/element_2", @@ -1717,21 +1727,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#14", "http://a.ml/vocabularies/document-source-maps#value": "[(83,4)-(97,5)]" }, - { - "@id": "amf://id#14/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#14", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#14/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#14", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#24" - }, - { - "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", - "http://a.ml/vocabularies/document-source-maps#value": "[(64,10)-(64,16)]" - }, { "@id": "amf://id#8/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", @@ -1743,9 +1738,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(64,10)-(64,26)]" }, { - "@id": "amf://id#10/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#10", - "http://a.ml/vocabularies/document-source-maps#value": "[(67,10)-(67,16)]" + "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", + "http://a.ml/vocabularies/document-source-maps#value": "[(64,10)-(64,16)]" }, { "@id": "amf://id#10/source-map/lexical/element_1", @@ -1758,9 +1753,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(67,10)-(67,26)]" }, { - "@id": "amf://id#12/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", - "http://a.ml/vocabularies/document-source-maps#value": "[(70,10)-(70,16)]" + "@id": "amf://id#10/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#10", + "http://a.ml/vocabularies/document-source-maps#value": "[(67,10)-(67,16)]" }, { "@id": "amf://id#12/source-map/lexical/element_2", @@ -1777,6 +1772,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", "http://a.ml/vocabularies/document-source-maps#value": "[(69,8)-(72,9)]" }, + { + "@id": "amf://id#12/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#12", + "http://a.ml/vocabularies/document-source-maps#value": "[(70,10)-(70,16)]" + }, { "@id": "amf://id#4/source-map", "@type": [ @@ -1864,11 +1864,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#20/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#20/source-map/lexical/element_1" @@ -1876,6 +1871,11 @@ { "@id": "amf://id#20/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#20/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1893,11 +1893,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#22/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#22/source-map/lexical/element_1" @@ -1905,6 +1900,11 @@ { "@id": "amf://id#22/source-map/lexical/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#22/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2039,11 +2039,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#6", "http://a.ml/vocabularies/document-source-maps#value": "[(80,15)-(80,16)]" }, - { - "@id": "amf://id#20/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#20", - "http://a.ml/vocabularies/document-source-maps#value": "[(87,10)-(87,16)]" - }, { "@id": "amf://id#20/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#20", @@ -2055,9 +2050,9 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(87,10)-(87,26)]" }, { - "@id": "amf://id#22/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#22", - "http://a.ml/vocabularies/document-source-maps#value": "[(90,10)-(90,16)]" + "@id": "amf://id#20/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#20", + "http://a.ml/vocabularies/document-source-maps#value": "[(87,10)-(87,16)]" }, { "@id": "amf://id#22/source-map/lexical/element_1", @@ -2069,6 +2064,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(90,10)-(90,26)]" }, + { + "@id": "amf://id#22/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#22", + "http://a.ml/vocabularies/document-source-maps#value": "[(90,10)-(90,16)]" + }, { "@id": "amf://id#17/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/japanese/resolve/ramlapi.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/japanese/resolve/ramlapi.expanded.jsonld index c9cd5bdb81..843e919e5b 100644 --- a/amf-cli/shared/src/test/resources/validations/japanese/resolve/ramlapi.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/japanese/resolve/ramlapi.expanded.jsonld @@ -398,21 +398,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#38/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#38" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "[(61,8)-(61,12)]" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#38/source-map/lexical/element_2", @@ -453,6 +438,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#38/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#38" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(61,8)-(61,12)]" + } + ] + } ] } ] @@ -517,6 +517,21 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "amf://id#36/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#36" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#36/source-map/lexical/element_2", @@ -557,21 +572,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "amf://id#36/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#36" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "true" - } - ] - } ] } ] @@ -711,21 +711,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#30/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#30" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#30/source-map/lexical/element_4", @@ -792,6 +777,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#30/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#30" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1268,6 +1268,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ + { + "@id": "amf://id#50/source-map/inherited-shapes/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#50" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "amf://id#4" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#50/source-map/lexical/element_4", @@ -1334,21 +1349,6 @@ } ] } - ], - "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ - { - "@id": "amf://id#50/source-map/inherited-shapes/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#50" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "amf://id#4" - } - ] - } ] } ] @@ -1673,21 +1673,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#30/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#30" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#30/source-map/lexical/element_4", @@ -1754,6 +1739,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#30/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#30" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1999,65 +1999,65 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "@id": "amf://id#1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#1" + "@value": "http://a.ml/vocabularies/shapes#fileType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#3" + "@value": "[(20,4)-(25,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "amf://id#1/source-map/declared-element/element_0", + "@id": "amf://id#1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#1" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(18,2)-(18,6)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#1/source-map/lexical/element_2", + "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#fileType" + "@value": "amf://id#1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,4)-(25,0)]" + "@value": "[(18,7)-(25,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#1/source-map/lexical/element_0", + "@id": "amf://id#1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,2)-(18,6)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_1", + "@id": "amf://id#1/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -2065,14 +2065,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,7)-(25,0)]" + "@value": "amf://id#2" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -2080,14 +2080,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,4)-(19,8)]" + "@value": "amf://id#3" } ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#1/source-map/resolved-link/element_0", + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -2095,7 +2095,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#2" + "@value": "[(19,4)-(19,8)]" } ] } @@ -2274,36 +2274,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#4/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#4" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "amf://id#7" - } - ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#4/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#4" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#4/source-map/lexical/element_3", @@ -2358,9 +2328,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#4/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#4/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#4" @@ -2368,14 +2338,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(26,4)-(26,8)]" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#4/source-map/resolved-link/element_0", + "@id": "amf://id#4/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#4" @@ -2383,16 +2353,46 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#4" + "@value": "amf://id#7" } ] } - ] - } - ] - }, - { - "@id": "amf://id#8", + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + { + "@id": "amf://id#4/source-map/resolved-link/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#4" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "amf://id#4" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#4/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#4" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(26,4)-(26,8)]" + } + ] + } + ] + } + ] + }, + { + "@id": "amf://id#8", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -2796,36 +2796,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#8/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#8" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "amf://id#15" - } - ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#8/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#8" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#8/source-map/lexical/element_4", @@ -2893,9 +2863,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#8/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -2903,7 +2873,22 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,4)-(29,8)]" + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#8/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#8" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "amf://id#14" } ] } @@ -2918,7 +2903,22 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#14" + "@value": "amf://id#15" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#8" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(29,4)-(29,8)]" } ] } @@ -2999,65 +2999,65 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", + "@id": "amf://id#1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#1" + "@value": "http://a.ml/vocabularies/shapes#fileType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#3" + "@value": "[(20,4)-(25,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "amf://id#1/source-map/declared-element/element_0", + "@id": "amf://id#1/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#1" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(18,2)-(18,6)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + }, { - "@id": "amf://id#1/source-map/lexical/element_2", + "@id": "amf://id#1/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/shapes#fileType" + "@value": "amf://id#1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(20,4)-(25,0)]" + "@value": "[(18,7)-(25,0)]" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#1/source-map/lexical/element_0", + "@id": "amf://id#1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#1" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,2)-(18,6)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#1/source-map/lexical/element_1", + "@id": "amf://id#1/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -3065,14 +3065,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,7)-(25,0)]" + "@value": "amf://id#2" } ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -3080,14 +3080,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,4)-(19,8)]" + "@value": "amf://id#3" } ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#1/source-map/resolved-link/element_0", + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#1" @@ -3095,7 +3095,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#2" + "@value": "[(19,4)-(19,8)]" } ] } @@ -3115,9 +3115,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#23/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#23/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#23" @@ -3125,14 +3125,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(38,8)-(38,12)]" + "@value": "[(37,6)-(39,0)]" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#23/source-map/lexical/element_0", + "@id": "amf://id#23/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#23" @@ -3140,7 +3140,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(37,6)-(39,0)]" + "@value": "[(38,8)-(38,12)]" } ] } @@ -3292,9 +3292,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#26/source-map/resolved-link/element_0", + "@id": "amf://id#26/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#26" @@ -3302,14 +3302,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#16" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#26/source-map/lexical/element_0", + "@id": "amf://id#26/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#26" @@ -3317,14 +3317,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,2)-(46,0)]" + "@value": "amf://id#27" } ] } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#26/source-map/declared-element/element_0", + "@id": "amf://id#26/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#26" @@ -3332,14 +3332,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "amf://id#29" } ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#26/source-map/resolved-link-target/element_0", + "@id": "amf://id#26/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#26" @@ -3347,7 +3347,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#28" + "@value": "[(35,2)-(46,0)]" } ] } @@ -3760,36 +3760,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#8/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#8" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "amf://id#15" - } - ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#8/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#8" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#8/source-map/lexical/element_4", @@ -3857,9 +3827,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#8/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#8" @@ -3867,7 +3837,22 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(29,4)-(29,8)]" + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#8/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#8" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "amf://id#14" } ] } @@ -3882,7 +3867,22 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#14" + "@value": "amf://id#15" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#8" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(29,4)-(29,8)]" } ] } @@ -4371,9 +4371,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#16/source-map/resolved-link/element_0", + "@id": "amf://id#16/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#16" @@ -4381,70 +4381,70 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#16" + "@value": "" } ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#16/source-map/lexical/element_2", + "@id": "amf://id#16/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "amf://id#16" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,2)-(35,6)]" + "@value": "amf://id#27" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#16/source-map/lexical/element_0", + "@id": "amf://id#16/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#examples" + "@value": "amf://id#16" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(41,4)-(46,0)]" + "@value": "amf://id#29" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#16/source-map/lexical/element_1", + "@id": "amf://id#16/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#16" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(35,2)-(46,0)]" + "@value": "[(35,2)-(35,6)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "amf://id#16/source-map/declared-element/element_0", + "@id": "amf://id#16/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "amf://id#16" + "@value": "http://a.ml/vocabularies/apiContract#examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(41,4)-(46,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + }, { - "@id": "amf://id#16/source-map/resolved-link-target/element_0", + "@id": "amf://id#16/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "amf://id#16" @@ -4452,7 +4452,7 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "amf://id#28" + "@value": "[(35,2)-(46,0)]" } ] } @@ -4574,21 +4574,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#30/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "amf://id#30" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "" - } - ] - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#30/source-map/lexical/element_4", @@ -4655,6 +4640,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#30/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "amf://id#30" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/japanese/resolve/ramlapi.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/japanese/resolve/ramlapi.flattened.jsonld index 322872aaf2..81a50a1134 100644 --- a/amf-cli/shared/src/test/resources/validations/japanese/resolve/ramlapi.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/japanese/resolve/ramlapi.flattened.jsonld @@ -395,6 +395,11 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "amf://id#36/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#36/source-map/lexical/element_2" @@ -405,11 +410,6 @@ { "@id": "amf://id#36/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#virtual-element": [ - { - "@id": "amf://id#36/source-map/virtual-element/element_0" - } ] }, { @@ -591,6 +591,11 @@ } ] }, + { + "@id": "amf://id#36/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#36", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "amf://id#36/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#payload", @@ -606,11 +611,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#36", "http://a.ml/vocabularies/document-source-maps#value": "[(59,0)-(65,0)]" }, - { - "@id": "amf://id#36/source-map/virtual-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#36", - "http://a.ml/vocabularies/document-source-maps#value": "true" - }, { "@id": "amf://id#30", "@type": [ @@ -793,6 +793,16 @@ "@id": "amf://id#16/source-map/synthesized-field/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#16/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#16/source-map/resolved-link-target/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#16/source-map/resolved-link/element_0" @@ -808,16 +818,6 @@ { "@id": "amf://id#16/source-map/lexical/element_1" } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#16/source-map/declared-element/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#16/source-map/resolved-link-target/element_0" - } ] }, { @@ -847,11 +847,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ - { - "@id": "amf://id#38/source-map/type-property-lexical-info/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#38/source-map/lexical/element_2" @@ -862,6 +857,11 @@ { "@id": "amf://id#38/source-map/lexical/element_1" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#38/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -900,11 +900,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#30/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#30/source-map/lexical/element_4" @@ -921,6 +916,11 @@ { "@id": "amf://id#30/source-map/lexical/element_3" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "amf://id#30/source-map/declared-element/element_0" + } ] }, { @@ -980,6 +980,11 @@ "@id": "amf://id#50/source-map/type-property-lexical-info/element_0" } ], + "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ + { + "@id": "amf://id#50/source-map/inherited-shapes/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#50/source-map/lexical/element_4" @@ -996,11 +1001,6 @@ { "@id": "amf://id#50/source-map/lexical/element_3" } - ], - "http://a.ml/vocabularies/document-source-maps#inherited-shapes": [ - { - "@id": "amf://id#50/source-map/inherited-shapes/element_0" - } ] }, { @@ -1161,10 +1161,20 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#closed", "http://a.ml/vocabularies/document-source-maps#value": "true" }, + { + "@id": "amf://id#16/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#16/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#27" + }, { "@id": "amf://id#16/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#16" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#29" }, { "@id": "amf://id#16/source-map/lexical/element_2", @@ -1181,16 +1191,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", "http://a.ml/vocabularies/document-source-maps#value": "[(35,2)-(46,0)]" }, - { - "@id": "amf://id#16/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, - { - "@id": "amf://id#16/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#16", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#28" - }, { "@id": "amf://id#40", "@type": [ @@ -1235,11 +1235,6 @@ } ] }, - { - "@id": "amf://id#38/source-map/type-property-lexical-info/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#38", - "http://a.ml/vocabularies/document-source-maps#value": "[(61,8)-(61,12)]" - }, { "@id": "amf://id#38/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", @@ -1255,6 +1250,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#38", "http://a.ml/vocabularies/document-source-maps#value": "[(59,6)-(62,0)]" }, + { + "@id": "amf://id#38/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#38", + "http://a.ml/vocabularies/document-source-maps#value": "[(61,8)-(61,12)]" + }, { "@id": "amf://id#31/source-map", "@type": [ @@ -1275,11 +1275,6 @@ } ] }, - { - "@id": "amf://id#30/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#30", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "amf://id#30/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", @@ -1305,6 +1300,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(47,2)-(47,6)]" }, + { + "@id": "amf://id#30/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#30", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "amf://id#51/source-map", "@type": [ @@ -1378,6 +1378,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#50", "http://a.ml/vocabularies/document-source-maps#value": "[(75,6)-(75,10)]" }, + { + "@id": "amf://id#50/source-map/inherited-shapes/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#50", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#4" + }, { "@id": "amf://id#50/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#defaultValueStr", @@ -1403,11 +1408,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#datatype", "http://a.ml/vocabularies/document-source-maps#value": "[(75,6)-(76,0)]" }, - { - "@id": "amf://id#50/source-map/inherited-shapes/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#50", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#4" - }, { "@id": "amf://id#1", "@type": [ @@ -1435,14 +1435,14 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#23/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#23/source-map/lexical/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { - "@id": "amf://id#23/source-map/lexical/element_0" + "@id": "amf://id#23/source-map/type-property-lexical-info/element_0" } ] }, @@ -1747,16 +1747,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#1/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#1/source-map/lexical/element_2" @@ -1768,26 +1758,36 @@ "@id": "amf://id#1/source-map/lexical/element_1" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#1/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#1/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#1/source-map/resolved-link/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0" + } ] }, { - "@id": "amf://id#23/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#23/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#23", - "http://a.ml/vocabularies/document-source-maps#value": "[(38,8)-(38,12)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(37,6)-(39,0)]" }, { - "@id": "amf://id#23/source-map/lexical/element_0", + "@id": "amf://id#23/source-map/type-property-lexical-info/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#23", - "http://a.ml/vocabularies/document-source-maps#value": "[(37,6)-(39,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "[(38,8)-(38,12)]" }, { "@id": "amf://id#26/source-map", @@ -1799,24 +1799,24 @@ "@id": "amf://id#26/source-map/synthesized-field/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#26/source-map/resolved-link/element_0" + "@id": "amf://id#26/source-map/declared-element/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ { - "@id": "amf://id#26/source-map/lexical/element_0" + "@id": "amf://id#26/source-map/resolved-link-target/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { - "@id": "amf://id#26/source-map/declared-element/element_0" + "@id": "amf://id#26/source-map/resolved-link/element_0" } ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "amf://id#26/source-map/resolved-link-target/element_0" + "@id": "amf://id#26/source-map/lexical/element_0" } ] }, @@ -1855,16 +1855,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#8/source-map/resolved-link-target/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#8/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#8/source-map/lexical/element_4" @@ -1882,15 +1872,25 @@ "@id": "amf://id#8/source-map/lexical/element_3" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#8/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#8/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#8/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#8/source-map/resolved-link/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#8/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -1998,16 +1998,6 @@ "http://a.ml/vocabularies/document-source-maps#element": "amf://id#53", "http://a.ml/vocabularies/document-source-maps#value": "[(76,15)-(76,21)]" }, - { - "@id": "amf://id#1/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#3" - }, - { - "@id": "amf://id#1/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "amf://id#1/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/shapes#fileType", @@ -2024,39 +2014,49 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(18,7)-(25,0)]" }, { - "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#1/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,4)-(19,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#1/source-map/resolved-link/element_0", + "@id": "amf://id#1/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", "http://a.ml/vocabularies/document-source-maps#value": "amf://id#2" }, + { + "@id": "amf://id#1/source-map/resolved-link/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#3" + }, + { + "@id": "amf://id#1/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#1", + "http://a.ml/vocabularies/document-source-maps#value": "[(19,4)-(19,8)]" + }, { "@id": "amf://id#26/source-map/synthesized-field/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#recursive", "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "amf://id#26/source-map/resolved-link/element_0", + "@id": "amf://id#26/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#26", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#16" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#26/source-map/lexical/element_0", + "@id": "amf://id#26/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#26", - "http://a.ml/vocabularies/document-source-maps#value": "[(35,2)-(46,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#27" }, { - "@id": "amf://id#26/source-map/declared-element/element_0", + "@id": "amf://id#26/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#26", - "http://a.ml/vocabularies/document-source-maps#value": "" + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#29" }, { - "@id": "amf://id#26/source-map/resolved-link-target/element_0", + "@id": "amf://id#26/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#26", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#28" + "http://a.ml/vocabularies/document-source-maps#value": "[(35,2)-(46,0)]" }, { "@id": "amf://id#9", @@ -2157,16 +2157,6 @@ } ] }, - { - "@id": "amf://id#8/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#15" - }, - { - "@id": "amf://id#8/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "amf://id#8/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#in", @@ -2193,15 +2183,25 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(29,4)-(30,0)]" }, { - "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#8/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", - "http://a.ml/vocabularies/document-source-maps#value": "[(29,4)-(29,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" }, { - "@id": "amf://id#8/source-map/resolved-link/element_0", + "@id": "amf://id#8/source-map/resolved-link-target/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", "http://a.ml/vocabularies/document-source-maps#value": "amf://id#14" }, + { + "@id": "amf://id#8/source-map/resolved-link/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#15" + }, + { + "@id": "amf://id#8/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#8", + "http://a.ml/vocabularies/document-source-maps#value": "[(29,4)-(29,8)]" + }, { "@id": "amf://id#20/source-map", "@type": [ @@ -2488,16 +2488,6 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ - { - "@id": "amf://id#4/source-map/resolved-link-target/element_0" - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ - { - "@id": "amf://id#4/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "amf://id#4/source-map/lexical/element_3" @@ -2512,15 +2502,25 @@ "@id": "amf://id#4/source-map/lexical/element_2" } ], - "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "amf://id#4/source-map/type-property-lexical-info/element_0" + "@id": "amf://id#4/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#resolved-link-target": [ + { + "@id": "amf://id#4/source-map/resolved-link-target/element_0" } ], "http://a.ml/vocabularies/document-source-maps#resolved-link": [ { "@id": "amf://id#4/source-map/resolved-link/element_0" } + ], + "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ + { + "@id": "amf://id#4/source-map/type-property-lexical-info/element_0" + } ] }, { @@ -2562,16 +2562,6 @@ } ] }, - { - "@id": "amf://id#4/source-map/resolved-link-target/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" - }, - { - "@id": "amf://id#4/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "amf://id#4/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://www.w3.org/ns/shacl#name", @@ -2593,15 +2583,25 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(25,2)-(28,0)]" }, { - "@id": "amf://id#4/source-map/type-property-lexical-info/element_0", + "@id": "amf://id#4/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", - "http://a.ml/vocabularies/document-source-maps#value": "[(26,4)-(26,8)]" + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "amf://id#4/source-map/resolved-link-target/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", + "http://a.ml/vocabularies/document-source-maps#value": "amf://id#7" }, { "@id": "amf://id#4/source-map/resolved-link/element_0", "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", "http://a.ml/vocabularies/document-source-maps#value": "amf://id#4" }, + { + "@id": "amf://id#4/source-map/type-property-lexical-info/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "amf://id#4", + "http://a.ml/vocabularies/document-source-maps#value": "[(26,4)-(26,8)]" + }, { "@id": "amf://id#6/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/json-schema-nested-refs/result.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/json-schema-nested-refs/result.expanded.jsonld index bd7adde9f1..05cba93038 100644 --- a/amf-cli/shared/src/test/resources/validations/json-schema-nested-refs/result.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/json-schema-nested-refs/result.expanded.jsonld @@ -358,11 +358,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#25": "[(7,2)-(9,3)]" - }, "type-property-lexical-info": { "#25": "[(8,4)-(8,10)]" + }, + "lexical": { + "#25": "[(7,2)-(9,3)]" } } } @@ -445,11 +445,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#28": "[(4,2)-(6,3)]" - }, "type-property-lexical-info": { "#28": "[(5,4)-(5,10)]" + }, + "lexical": { + "#28": "[(4,2)-(6,3)]" } } } @@ -497,17 +497,17 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#22": "amf://id#29" - }, - "lexical": { - "#22": "[(10,2)-(28,3)]" - }, "type-property-lexical-info": { "#22": "[(11,4)-(11,10)]" }, "resolved-link-target": { "#22": "amf://id#22" + }, + "resolved-link": { + "#22": "amf://id#29" + }, + "lexical": { + "#22": "[(10,2)-(28,3)]" } } } @@ -526,11 +526,11 @@ "synthesized-field": { "shacl:minCount": "true" }, - "lexical": { - "#21": "[(13,4)-(15,5)]" - }, "inheritance-provenance": { "#21": "amf://id#11" + }, + "lexical": { + "#21": "[(13,4)-(15,5)]" } } }, @@ -614,11 +614,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#25": "[(7,2)-(9,3)]" - }, "type-property-lexical-info": { "#25": "[(8,4)-(8,10)]" + }, + "lexical": { + "#25": "[(7,2)-(9,3)]" } } } @@ -701,11 +701,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#28": "[(4,2)-(6,3)]" - }, "type-property-lexical-info": { "#28": "[(5,4)-(5,10)]" + }, + "lexical": { + "#28": "[(4,2)-(6,3)]" } } } @@ -753,17 +753,17 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#22": "amf://id#29" - }, - "lexical": { - "#22": "[(10,2)-(28,3)]" - }, "type-property-lexical-info": { "#22": "[(11,4)-(11,10)]" }, "resolved-link-target": { "#22": "amf://id#22" + }, + "resolved-link": { + "#22": "amf://id#29" + }, + "lexical": { + "#22": "[(10,2)-(28,3)]" } } } @@ -782,11 +782,11 @@ "synthesized-field": { "shacl:minCount": "true" }, - "lexical": { - "#30": "[(16,4)-(18,5)]" - }, "inheritance-provenance": { "#30": "amf://id#11" + }, + "lexical": { + "#30": "[(16,4)-(18,5)]" } } }, @@ -824,12 +824,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#32": "[(7,6)-(7,12)]" - }, "lexical": { "shacl:datatype": "[(7,6)-(7,22)]", "#32": "[(6,4)-(8,5)]" + }, + "type-property-lexical-info": { + "#32": "[(7,6)-(7,12)]" } } } @@ -845,12 +845,12 @@ } ], "smaps": { - "inheritance-provenance": { - "#31": "amf://id#11" - }, "lexical": { "shacl:minCount": "[(21,4)-(21,14)]", "#31": "[(6,4)-(8,5)]" + }, + "inheritance-provenance": { + "#31": "amf://id#11" } } }, @@ -888,12 +888,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#34": "[(10,6)-(10,12)]" - }, "lexical": { "shacl:datatype": "[(10,6)-(10,22)]", "#34": "[(9,4)-(11,5)]" + }, + "type-property-lexical-info": { + "#34": "[(10,6)-(10,12)]" } } } @@ -909,12 +909,12 @@ } ], "smaps": { - "inheritance-provenance": { - "#33": "amf://id#11" - }, "lexical": { "shacl:minCount": "[(22,4)-(22,14)]", "#33": "[(9,4)-(11,5)]" + }, + "inheritance-provenance": { + "#33": "amf://id#11" } } } @@ -1162,14 +1162,14 @@ "synthesized-field": { "core:name": "true" }, + "parsed-json-example": { + "#13": "{\n \"additionalApplicants\": {\n \"addresses\": {\n \"randomKey\": \"Current\"\n },\n \"expenses\": {\n \"otherRandomKey\": \"Basic\"\n }\n },\n \"merchant\": \"STRATTON - QLD\",\n \"operator\": \"kenandrajog_adm\"\n}" + }, "lexical": { "data:operator": "[(11,2)-(11,31)]", "data:additionalApplicants": "[(2,2)-(9,3)]", "#13": "[(1,0)-(12,1)]", "data:merchant": "[(10,2)-(10,30)]" - }, - "parsed-json-example": { - "#13": "{\n \"additionalApplicants\": {\n \"addresses\": {\n \"randomKey\": \"Current\"\n },\n \"expenses\": {\n \"otherRandomKey\": \"Basic\"\n }\n },\n \"merchant\": \"STRATTON - QLD\",\n \"operator\": \"kenandrajog_adm\"\n}" } } } @@ -1207,14 +1207,14 @@ "declared-element": { "#10": "" }, + "inherited-shapes": { + "#10": "amf://id#11" + }, "lexical": { "apiContract:examples": "[(12,4)-(16,0)]", "shacl:closed": "[(4,2)-(4,31)]", "#10": "[(10,11)-(16,0)]", "shacl:name": "[(10,2)-(10,10)]" - }, - "inherited-shapes": { - "#10": "amf://id#11" } } } diff --git a/amf-cli/shared/src/test/resources/validations/json-schema-nested-refs/result.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/json-schema-nested-refs/result.flattened.jsonld index ccd63c17a2..8eb4a7c7e3 100644 --- a/amf-cli/shared/src/test/resources/validations/json-schema-nested-refs/result.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/json-schema-nested-refs/result.flattened.jsonld @@ -170,14 +170,14 @@ "declared-element": { "#10": "" }, + "inherited-shapes": { + "#10": "amf://id#11" + }, "lexical": { "apiContract:examples": "[(12,4)-(16,0)]", "shacl:closed": "[(4,2)-(4,31)]", "#10": "[(10,11)-(16,0)]", "shacl:name": "[(10,2)-(10,10)]" - }, - "inherited-shapes": { - "#10": "amf://id#11" } } }, @@ -260,11 +260,11 @@ "synthesized-field": { "shacl:minCount": "true" }, - "lexical": { - "#21": "[(13,4)-(15,5)]" - }, "inheritance-provenance": { "#21": "amf://id#11" + }, + "lexical": { + "#21": "[(13,4)-(15,5)]" } } }, @@ -290,11 +290,11 @@ "synthesized-field": { "shacl:minCount": "true" }, - "lexical": { - "#30": "[(16,4)-(18,5)]" - }, "inheritance-provenance": { "#30": "amf://id#11" + }, + "lexical": { + "#30": "[(16,4)-(18,5)]" } } }, @@ -317,12 +317,12 @@ "shacl:minCount": 1, "shacl:name": "merchant", "smaps": { - "inheritance-provenance": { - "#31": "amf://id#11" - }, "lexical": { "shacl:minCount": "[(21,4)-(21,14)]", "#31": "[(6,4)-(8,5)]" + }, + "inheritance-provenance": { + "#31": "amf://id#11" } } }, @@ -345,12 +345,12 @@ "shacl:minCount": 1, "shacl:name": "operator", "smaps": { - "inheritance-provenance": { - "#33": "amf://id#11" - }, "lexical": { "shacl:minCount": "[(22,4)-(22,14)]", "#33": "[(9,4)-(11,5)]" + }, + "inheritance-provenance": { + "#33": "amf://id#11" } } }, @@ -425,17 +425,17 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#22": "amf://id#29" - }, - "lexical": { - "#22": "[(10,2)-(28,3)]" - }, "type-property-lexical-info": { "#22": "[(11,4)-(11,10)]" }, "resolved-link-target": { "#22": "amf://id#22" + }, + "resolved-link": { + "#22": "amf://id#29" + }, + "lexical": { + "#22": "[(10,2)-(28,3)]" } } }, @@ -455,12 +455,12 @@ ], "shacl:name": "merchant", "smaps": { - "type-property-lexical-info": { - "#32": "[(7,6)-(7,12)]" - }, "lexical": { "shacl:datatype": "[(7,6)-(7,22)]", "#32": "[(6,4)-(8,5)]" + }, + "type-property-lexical-info": { + "#32": "[(7,6)-(7,12)]" } } }, @@ -480,12 +480,12 @@ ], "shacl:name": "operator", "smaps": { - "type-property-lexical-info": { - "#34": "[(10,6)-(10,12)]" - }, "lexical": { "shacl:datatype": "[(10,6)-(10,22)]", "#34": "[(9,4)-(11,5)]" + }, + "type-property-lexical-info": { + "#34": "[(10,6)-(10,12)]" } } }, @@ -510,14 +510,14 @@ "synthesized-field": { "core:name": "true" }, + "parsed-json-example": { + "#13": "{\n \"additionalApplicants\": {\n \"addresses\": {\n \"randomKey\": \"Current\"\n },\n \"expenses\": {\n \"otherRandomKey\": \"Basic\"\n }\n },\n \"merchant\": \"STRATTON - QLD\",\n \"operator\": \"kenandrajog_adm\"\n}" + }, "lexical": { "data:operator": "[(11,2)-(11,31)]", "data:additionalApplicants": "[(2,2)-(9,3)]", "#13": "[(1,0)-(12,1)]", "data:merchant": "[(10,2)-(10,30)]" - }, - "parsed-json-example": { - "#13": "{\n \"additionalApplicants\": {\n \"addresses\": {\n \"randomKey\": \"Current\"\n },\n \"expenses\": {\n \"otherRandomKey\": \"Basic\"\n }\n },\n \"merchant\": \"STRATTON - QLD\",\n \"operator\": \"kenandrajog_adm\"\n}" } } }, @@ -747,11 +747,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#25": "[(7,2)-(9,3)]" - }, "type-property-lexical-info": { "#25": "[(8,4)-(8,10)]" + }, + "lexical": { + "#25": "[(7,2)-(9,3)]" } } }, @@ -770,11 +770,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#28": "[(4,2)-(6,3)]" - }, "type-property-lexical-info": { "#28": "[(5,4)-(5,10)]" + }, + "lexical": { + "#28": "[(4,2)-(6,3)]" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/jsonld-compact-uris/no-raw-source-maps-compact-uris.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/jsonld-compact-uris/no-raw-source-maps-compact-uris.expanded.jsonld index cedecb4b92..ac5c4d7434 100644 --- a/amf-cli/shared/src/test/resources/validations/jsonld-compact-uris/no-raw-source-maps-compact-uris.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/jsonld-compact-uris/no-raw-source-maps-compact-uris.expanded.jsonld @@ -98,12 +98,12 @@ } ], "smaps": { + "virtual-element": { + "#26": "true" + }, "lexical": { "apiContract:payload": "[(14,4)-(21,0)]", "#26": "[(14,9)-(21,0)]" - }, - "virtual-element": { - "#26": "true" } } } @@ -178,12 +178,12 @@ } ], "smaps": { + "virtual-element": { + "#28": "true" + }, "lexical": { "apiContract:payload": "[(22,4)-(28,19)]", "#28": "[(22,9)-(28,19)]" - }, - "virtual-element": { - "#28": "true" } } } @@ -769,18 +769,18 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#21" - }, - "lexical": { - "shacl:name": "[(4,2)-(4,3)]", - "#1": "[(4,2)-(12,0)]" - }, "declared-element": { "#1": "" }, "resolved-link-target": { "#1": "amf://id#20" + }, + "resolved-link": { + "#1": "amf://id#1" + }, + "lexical": { + "shacl:name": "[(4,2)-(4,3)]", + "#1": "[(4,2)-(12,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/jsonld-compact-uris/no-raw-source-maps-compact-uris.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/jsonld-compact-uris/no-raw-source-maps-compact-uris.flattened.jsonld index a58d8132cc..cccaa57c26 100644 --- a/amf-cli/shared/src/test/resources/validations/jsonld-compact-uris/no-raw-source-maps-compact-uris.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/jsonld-compact-uris/no-raw-source-maps-compact-uris.flattened.jsonld @@ -104,12 +104,12 @@ } ], "smaps": { + "virtual-element": { + "#26": "true" + }, "lexical": { "apiContract:payload": "[(14,4)-(21,0)]", "#26": "[(14,9)-(21,0)]" - }, - "virtual-element": { - "#26": "true" } } }, @@ -127,12 +127,12 @@ } ], "smaps": { + "virtual-element": { + "#28": "true" + }, "lexical": { "apiContract:payload": "[(22,4)-(28,19)]", "#28": "[(22,9)-(28,19)]" - }, - "virtual-element": { - "#28": "true" } } }, @@ -204,18 +204,18 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#21" - }, - "lexical": { - "shacl:name": "[(4,2)-(4,3)]", - "#1": "[(4,2)-(12,0)]" - }, "declared-element": { "#1": "" }, "resolved-link-target": { "#1": "amf://id#20" + }, + "resolved-link": { + "#1": "amf://id#1" + }, + "lexical": { + "shacl:name": "[(4,2)-(4,3)]", + "#1": "[(4,2)-(12,0)]" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/jsonld-compact-uris/parsed-result.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/jsonld-compact-uris/parsed-result.expanded.jsonld index fa040767a7..0b41a442bc 100644 --- a/amf-cli/shared/src/test/resources/validations/jsonld-compact-uris/parsed-result.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/jsonld-compact-uris/parsed-result.expanded.jsonld @@ -567,11 +567,11 @@ } ], "smaps": { - "resolved-link-target": { - "#24/supportedOperation/get/expects/request/payload/application%2Fjson/shape/A": "amf://id#1" - }, "resolved-link": { "#24/supportedOperation/get/expects/request/payload/application%2Fjson/shape/A": "amf://id#1/link-65" + }, + "resolved-link-target": { + "#24/supportedOperation/get/expects/request/payload/application%2Fjson/shape/A": "amf://id#1" } } } diff --git a/amf-cli/shared/src/test/resources/validations/links/api.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/links/api.expanded.jsonld index d224f70871..f9b4ab72d3 100644 --- a/amf-cli/shared/src/test/resources/validations/links/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/links/api.expanded.jsonld @@ -331,11 +331,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#3": "[(3,0)-(6,14)]" - }, "type-property-lexical-info": { "#3": "[(3,0)-(3,4)]" + }, + "lexical": { + "#3": "[(3,0)-(6,14)]" } } } @@ -520,20 +520,20 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#8": "amf://id#3" - }, "type-property-lexical-info": { "#8": "[(3,0)-(3,4)]" }, - "lexical": { - "#8": "[(3,0)-(6,14)]" + "resolved-link-target": { + "#8": "amf://id#3" + }, + "declared-element": { + "#8": "" }, "resolved-link": { "#8": "amf://id#9" }, - "declared-element": { - "#8": "" + "lexical": { + "#8": "[(3,0)-(6,14)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/links/api.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/links/api.flattened.jsonld index 5c597036b4..29917c762c 100644 --- a/amf-cli/shared/src/test/resources/validations/links/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/links/api.flattened.jsonld @@ -133,20 +133,20 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#8": "amf://id#3" - }, "type-property-lexical-info": { "#8": "[(3,0)-(3,4)]" }, - "lexical": { - "#8": "[(3,0)-(6,14)]" + "resolved-link-target": { + "#8": "amf://id#3" + }, + "declared-element": { + "#8": "" }, "resolved-link": { "#8": "amf://id#9" }, - "declared-element": { - "#8": "" + "lexical": { + "#8": "[(3,0)-(6,14)]" } } }, @@ -321,11 +321,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#3": "[(3,0)-(6,14)]" - }, "type-property-lexical-info": { "#3": "[(3,0)-(3,4)]" + }, + "lexical": { + "#3": "[(3,0)-(6,14)]" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/nil-type.raml.resolved.jsonld b/amf-cli/shared/src/test/resources/validations/nil-type.raml.resolved.jsonld index 7dd69f15be..b9539a35da 100644 --- a/amf-cli/shared/src/test/resources/validations/nil-type.raml.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/validations/nil-type.raml.resolved.jsonld @@ -308,21 +308,6 @@ "@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/validations/nil-type.raml#/web-api/endpoint/%2FsomeEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/nil/schema/inherits/nil/NilType/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/nil-type.raml#/web-api/endpoint/%2FsomeEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/nil/schema/inherits/nil/NilType" - } - ], - "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/validations/nil-type.raml#/web-api/endpoint/%2FsomeEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/nil/schema/inherits/nil/NilType/source-map/lexical/element_2", @@ -364,6 +349,21 @@ ] } ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/nil-type.raml#/web-api/endpoint/%2FsomeEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/nil/schema/inherits/nil/NilType/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/nil-type.raml#/web-api/endpoint/%2FsomeEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/nil/schema/inherits/nil/NilType" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#type-property-lexical-info": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/nil-type.raml#/web-api/endpoint/%2FsomeEndpoint/supportedOperation/get/expects/request/payload/application%2Fjson/nil/schema/inherits/nil/NilType/source-map/type-property-lexical-info/element_0", diff --git a/amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.expanded.jsonld index 7f852b7fe7..e38472e733 100644 --- a/amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.expanded.jsonld @@ -315,21 +315,6 @@ "@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/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key" - } - ], - "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/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/lexical/element_3", @@ -383,6 +368,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -657,21 +657,6 @@ "@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/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth" - } - ], - "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/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth/source-map/lexical/element_3", @@ -725,6 +710,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1056,21 +1056,6 @@ "@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/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key" - } - ], - "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/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/lexical/element_3", @@ -1124,6 +1109,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1386,21 +1386,6 @@ "@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/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key" - } - ], - "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/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/lexical/element_3", @@ -1454,6 +1439,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] @@ -1691,21 +1691,6 @@ "@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/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth" - } - ], - "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/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth/source-map/lexical/element_3", @@ -1759,6 +1744,21 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.flattened.jsonld index 71051db172..2d9bfcd270 100644 --- a/amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.flattened.jsonld @@ -421,11 +421,6 @@ "@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/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/lexical/element_3" @@ -439,6 +434,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/declared-element/element_0" + } ] }, { @@ -469,11 +469,6 @@ "@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/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth/source-map/declared-element/element_0" - } - ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth/source-map/lexical/element_3" @@ -487,6 +482,11 @@ { "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth/source-map/lexical/element_2" } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth/source-map/declared-element/element_0" + } ] }, { @@ -567,11 +567,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -592,6 +587,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key", "http://a.ml/vocabularies/document-source-maps#value": "[(31,4)-(35,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/api_key", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth/settings/oauth2/flows/implicit", "@type": [ @@ -630,11 +630,6 @@ } ] }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth/source-map/declared-element/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth", - "http://a.ml/vocabularies/document-source-maps#value": "" - }, { "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/security#type", @@ -655,6 +650,11 @@ "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth", "http://a.ml/vocabularies/document-source-maps#value": "[(36,4)-(44,5)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/declares/scheme/petstore_auth", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/oas-security/api-with-security-requirements.json#/web-api/security/requirement_1/schemes/petstore_auth/settings/oauth2/flows/default-flow/scope/write%3Apets", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-components.jsonld b/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-components.jsonld index 4ab6c7e4b4..7b478ef4df 100644 --- a/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-components.jsonld +++ b/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-components.jsonld @@ -88,12 +88,12 @@ "synthesized-field": { "http://a.ml/vocabularies/core#name": "true" }, + "orphan-oas-extension": { + "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-components.yaml#/customDomainProperties/extension/object_1": "components" + }, "lexical": { "http://a.ml/vocabularies/data#prop": "[(18,4)-(18,15)]", "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-components.yaml#/customDomainProperties/extension/object_1": "[(18,0)-(18,15)]" - }, - "orphan-oas-extension": { - "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-components.yaml#/customDomainProperties/extension/object_1": "components" } } }, @@ -131,12 +131,12 @@ "synthesized-field": { "http://a.ml/vocabularies/core#name": "true" }, + "orphan-oas-extension": { + "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-components.yaml#/web-api/customDomainProperties/extension/object_1": "components" + }, "lexical": { "http://a.ml/vocabularies/data#prop": "[(18,4)-(18,15)]", "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-components.yaml#/web-api/customDomainProperties/extension/object_1": "[(18,0)-(18,15)]" - }, - "orphan-oas-extension": { - "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-components.yaml#/web-api/customDomainProperties/extension/object_1": "components" } } }, @@ -270,11 +270,11 @@ "type-property-lexical-info": { "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-components.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(15,16)-(15,20)]" }, - "lexical": { - "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-components.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(14,14)-(16,0)]" - }, "auto-generated-name": { "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-components.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "" + }, + "lexical": { + "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-components.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(14,14)-(16,0)]" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flow.jsonld b/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flow.jsonld index ef1707246c..fd8c4c136f 100644 --- a/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flow.jsonld +++ b/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flow.jsonld @@ -132,11 +132,11 @@ "type-property-lexical-info": { "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flow.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(15,16)-(15,20)]" }, - "lexical": { - "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flow.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(14,14)-(16,0)]" - }, "auto-generated-name": { "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flow.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "" + }, + "lexical": { + "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flow.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(14,14)-(16,0)]" } } }, @@ -173,14 +173,14 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flow.yaml#/declares/scheme/oauth2/settings/oauth2" }, "smaps": { - "declared-element": { - "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flow.yaml#/declares/scheme/oauth2": "" - }, "lexical": { "http://a.ml/vocabularies/security#settings": "[(19,0)-(29,0)]", "http://a.ml/vocabularies/core#name": "[(18,4)-(18,10)]", "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flow.yaml#/declares/scheme/oauth2": "[(18,4)-(29,0)]", "http://a.ml/vocabularies/security#type": "[(19,6)-(20,0)]" + }, + "declared-element": { + "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flow.yaml#/declares/scheme/oauth2": "" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.jsonld b/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.jsonld index 05534a9474..1b04ab19e1 100644 --- a/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.jsonld +++ b/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.jsonld @@ -132,11 +132,11 @@ "type-property-lexical-info": { "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(15,16)-(15,20)]" }, - "lexical": { - "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(14,14)-(17,0)]" - }, "auto-generated-name": { "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "" + }, + "lexical": { + "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(14,14)-(17,0)]" } } }, @@ -173,14 +173,14 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.yaml#/declares/scheme/oauth2/settings/oauth2" }, "smaps": { - "declared-element": { - "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.yaml#/declares/scheme/oauth2": "" - }, "lexical": { "http://a.ml/vocabularies/security#settings": "[(20,0)-(29,21)]", "http://a.ml/vocabularies/core#name": "[(19,4)-(19,10)]", "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.yaml#/declares/scheme/oauth2": "[(19,4)-(29,21)]", "http://a.ml/vocabularies/security#type": "[(20,6)-(21,0)]" + }, + "declared-element": { + "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.yaml#/declares/scheme/oauth2": "" } } }, @@ -254,12 +254,12 @@ "synthesized-field": { "http://a.ml/vocabularies/core#name": "true" }, + "orphan-oas-extension": { + "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.yaml#/declares/scheme/oauth2/settings/oauth2/customDomainProperties/extension/object_1": "flows" + }, "lexical": { "http://a.ml/vocabularies/data#prop": "[(29,10)-(29,21)]", "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.yaml#/declares/scheme/oauth2/settings/oauth2/customDomainProperties/extension/object_1": "[(29,0)-(29,21)]" - }, - "orphan-oas-extension": { - "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-flows.yaml#/declares/scheme/oauth2/settings/oauth2/customDomainProperties/extension/object_1": "flows" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-info.jsonld b/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-info.jsonld index 0bf1dedf11..1ad79ccc8c 100644 --- a/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-info.jsonld +++ b/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-info.jsonld @@ -74,12 +74,12 @@ "synthesized-field": { "http://a.ml/vocabularies/core#name": "true" }, + "orphan-oas-extension": { + "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-info.yaml#/web-api/customDomainProperties/extension/object_1": "info" + }, "lexical": { "http://a.ml/vocabularies/data#prop": "[(6,4)-(7,0)]", "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-info.yaml#/web-api/customDomainProperties/extension/object_1": "[(6,0)-(7,0)]" - }, - "orphan-oas-extension": { - "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-info.yaml#/web-api/customDomainProperties/extension/object_1": "info" } } }, @@ -189,11 +189,11 @@ "type-property-lexical-info": { "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-info.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(16,16)-(16,20)]" }, - "lexical": { - "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-info.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(15,14)-(16,28)]" - }, "auto-generated-name": { "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-info.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "" + }, + "lexical": { + "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-info.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(15,14)-(16,28)]" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-server.jsonld b/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-server.jsonld index 16a7ef6523..90a1660b06 100644 --- a/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-server.jsonld +++ b/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-server.jsonld @@ -295,11 +295,11 @@ "type-property-lexical-info": { "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-server.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(15,16)-(15,20)]" }, - "lexical": { - "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-server.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(14,14)-(16,0)]" - }, "auto-generated-name": { "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-server.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "" + }, + "lexical": { + "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-server.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(14,14)-(16,0)]" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-xml-object.jsonld b/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-xml-object.jsonld index 13795a1e05..262c039472 100644 --- a/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-xml-object.jsonld +++ b/amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-xml-object.jsonld @@ -132,11 +132,11 @@ "type-property-lexical-info": { "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-xml-object.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(15,16)-(15,20)]" }, - "lexical": { - "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-xml-object.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(14,14)-(16,0)]" - }, "auto-generated-name": { "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-xml-object.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "" + }, + "lexical": { + "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-xml-object.yaml#/web-api/endpoint/%2Fpath/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema": "[(14,14)-(16,0)]" } } }, @@ -174,13 +174,13 @@ "@id": "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-xml-object.yaml#/declares/any/objectSchema/xml" }, "smaps": { - "declared-element": { - "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-xml-object.yaml#/declares/any/objectSchema": "" - }, "lexical": { "http://a.ml/vocabularies/shapes#xmlSerialization": "[(19,6)-(27,0)]", "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-xml-object.yaml#/declares/any/objectSchema": "[(18,4)-(27,0)]", "http://www.w3.org/ns/shacl#name": "[(18,4)-(18,16)]" + }, + "declared-element": { + "file://amf-cli/shared/src/test/resources/validations/oas3/spec-extensions/extension-in-xml-object.yaml#/declares/any/objectSchema": "" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/optional-scalar-value/optional-scalar-value.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/optional-scalar-value/optional-scalar-value.expanded.jsonld index b8d2c4795b..815f877cf8 100644 --- a/amf-cli/shared/src/test/resources/validations/optional-scalar-value/optional-scalar-value.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/optional-scalar-value/optional-scalar-value.expanded.jsonld @@ -172,12 +172,12 @@ } ], "smaps": { - "declared-element": { - "#1": "" - }, "lexical": { "core:name": "[(5,2)-(5,3)]", "#1": "[(5,2)-(7,0)]" + }, + "declared-element": { + "#1": "" } } } diff --git a/amf-cli/shared/src/test/resources/validations/optional-scalar-value/optional-scalar-value.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/optional-scalar-value/optional-scalar-value.flattened.jsonld index 3fc1e9838a..1cb265f54c 100644 --- a/amf-cli/shared/src/test/resources/validations/optional-scalar-value/optional-scalar-value.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/optional-scalar-value/optional-scalar-value.flattened.jsonld @@ -113,12 +113,12 @@ }, "core:name": "a", "smaps": { - "declared-element": { - "#1": "" - }, "lexical": { "core:name": "[(5,2)-(5,3)]", "#1": "[(5,2)-(7,0)]" + }, + "declared-element": { + "#1": "" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/raml/any-cant-override/case1/api.jsonld b/amf-cli/shared/src/test/resources/validations/raml/any-cant-override/case1/api.jsonld index 080f2fb676..97fcb3fcc0 100644 --- a/amf-cli/shared/src/test/resources/validations/raml/any-cant-override/case1/api.jsonld +++ b/amf-cli/shared/src/test/resources/validations/raml/any-cant-override/case1/api.jsonld @@ -138,12 +138,12 @@ } ], "smaps": { - "inherited-shapes": { - "#18": "amf://id#12,amf://id#12" - }, "lexical": { "#18": "[(4,2)-(7,0)]" }, + "inherited-shapes": { + "#18": "amf://id#12,amf://id#12" + }, "type-property-lexical-info": { "#18": "[(5,4)-(5,8)]" } @@ -165,12 +165,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inherited-shapes": { + "#17": "amf://id#11,amf://id#11" + }, "lexical": { "raml-shapes:range": "[(4,7)-(7,0)]", "#17": "[(4,2)-(7,0)]" - }, - "inherited-shapes": { - "#17": "amf://id#11,amf://id#11" } } } @@ -187,11 +187,11 @@ "type-property-lexical-info": { "#16": "[(2,0)-(2,4)]" }, - "lexical": { - "#16": "[(2,0)-(7,0)]" - }, "inherited-shapes": { "#16": "amf://id#10" + }, + "lexical": { + "#16": "[(2,0)-(7,0)]" } } } @@ -270,11 +270,11 @@ } ], "smaps": { - "type-property-lexical-info": { - "#12": "[(5,4)-(5,8)]" - }, "lexical": { "#12": "[(4,2)-(8,0)]" + }, + "type-property-lexical-info": { + "#12": "[(5,4)-(5,8)]" } } } @@ -294,12 +294,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inherited-shapes": { + "#11": "amf://id#6" + }, "lexical": { "raml-shapes:range": "[(4,7)-(8,0)]", "#11": "[(4,2)-(8,0)]" - }, - "inherited-shapes": { - "#11": "amf://id#6" } } } @@ -313,15 +313,6 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#10": "amf://id#10" - }, - "auto-generated-name": { - "#10": "" - }, - "lexical": { - "#10": "[(2,0)-(8,0)]" - }, "type-property-lexical-info": { "#10": "[(2,0)-(2,4)]" }, @@ -330,6 +321,15 @@ }, "inherited-shapes": { "#10": "amf://id#5" + }, + "resolved-link-target": { + "#10": "amf://id#10" + }, + "auto-generated-name": { + "#10": "" + }, + "lexical": { + "#10": "[(2,0)-(8,0)]" } } } @@ -386,11 +386,11 @@ } ], "smaps": { - "type-property-lexical-info": { - "#7": "[(4,4)-(4,8)]" - }, "lexical": { "#7": "[(3,2)-(5,0)]" + }, + "type-property-lexical-info": { + "#7": "[(4,4)-(4,8)]" } } } @@ -426,17 +426,17 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#5": "amf://id#8" - }, - "lexical": { - "#5": "[(2,0)-(5,0)]" - }, "auto-generated-name": { "#5": "" }, "resolved-link-target": { "#5": "amf://id#5" + }, + "resolved-link": { + "#5": "amf://id#8" + }, + "lexical": { + "#5": "[(2,0)-(5,0)]" } } } @@ -598,12 +598,12 @@ } ], "smaps": { - "inherited-shapes": { - "#18": "amf://id#12,amf://id#12" - }, "lexical": { "#18": "[(4,2)-(7,0)]" }, + "inherited-shapes": { + "#18": "amf://id#12,amf://id#12" + }, "type-property-lexical-info": { "#18": "[(5,4)-(5,8)]" } @@ -625,12 +625,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inherited-shapes": { + "#17": "amf://id#11,amf://id#11" + }, "lexical": { "raml-shapes:range": "[(4,7)-(7,0)]", "#17": "[(4,2)-(7,0)]" - }, - "inherited-shapes": { - "#17": "amf://id#11,amf://id#11" } } } @@ -644,15 +644,6 @@ "synthesized-field": { "shacl:closed": "true" }, - "declared-element": { - "#20": "" - }, - "resolved-link": { - "#20": "amf://id#20" - }, - "lexical": { - "#20": "[(2,0)-(7,0)]" - }, "type-property-lexical-info": { "#20": "[(2,0)-(2,4)]" }, @@ -661,6 +652,15 @@ }, "inherited-shapes": { "#20": "amf://id#10" + }, + "declared-element": { + "#20": "" + }, + "resolved-link": { + "#20": "amf://id#20" + }, + "lexical": { + "#20": "[(2,0)-(7,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/raml/any-cant-override/case2/api.jsonld b/amf-cli/shared/src/test/resources/validations/raml/any-cant-override/case2/api.jsonld index 354f421d35..2b421fbde7 100644 --- a/amf-cli/shared/src/test/resources/validations/raml/any-cant-override/case2/api.jsonld +++ b/amf-cli/shared/src/test/resources/validations/raml/any-cant-override/case2/api.jsonld @@ -76,21 +76,21 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(3,2)-(3,13)]", "#1": "[(3,2)-(7,0)]" }, - "type-property-lexical-info": { - "#1": "[(4,4)-(4,8)]" + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "resolved-link": { "#1": "amf://id#3" + }, + "type-property-lexical-info": { + "#1": "[(4,4)-(4,8)]" } } }, @@ -160,21 +160,21 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#1" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(3,2)-(3,13)]", "#1": "[(3,2)-(7,0)]" }, - "type-property-lexical-info": { - "#1": "[(4,4)-(4,8)]" + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" }, "resolved-link": { "#1": "amf://id#3" + }, + "type-property-lexical-info": { + "#1": "[(4,4)-(4,8)]" } } } @@ -210,18 +210,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#4": "" + }, + "resolved-link-target": { + "#4": "amf://id#4" + }, "resolved-link": { "#4": "amf://id#6" }, "lexical": { "shacl:name": "[(7,2)-(7,8)]", "#4": "[(7,2)-(12,0)]" - }, - "declared-element": { - "#4": "" - }, - "resolved-link-target": { - "#4": "amf://id#4" } } }, @@ -291,12 +291,12 @@ } ], "smaps": { - "inherited-shapes": { - "#9": "amf://id#10,amf://id#1" - }, "lexical": { "#9": "[(15,6)-(18,0)]" }, + "inherited-shapes": { + "#9": "amf://id#10,amf://id#1" + }, "type-property-lexical-info": { "#9": "[(16,8)-(16,12)]" } @@ -318,12 +318,12 @@ "shacl:minCount": "true", "shacl:path": "true" }, + "inherited-shapes": { + "#8": "amf://id#5" + }, "lexical": { "raml-shapes:range": "[(15,17)-(18,0)]", "#8": "[(15,6)-(18,0)]" - }, - "inherited-shapes": { - "#8": "amf://id#5" } } } @@ -337,18 +337,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "type-property-lexical-info": { + "#7": "[(13,4)-(13,8)]" + }, + "inherited-shapes": { + "#7": "amf://id#4" + }, "declared-element": { "#7": "" }, "lexical": { "shacl:name": "[(12,2)-(12,7)]", "#7": "[(12,2)-(18,0)]" - }, - "type-property-lexical-info": { - "#7": "[(13,4)-(13,8)]" - }, - "inherited-shapes": { - "#7": "amf://id#4" } } }, @@ -389,21 +389,21 @@ } ], "smaps": { - "resolved-link-target": { - "#10": "amf://id#10" - }, - "declared-element": { - "#10": "" - }, "lexical": { "shacl:name": "[(18,2)-(18,20)]", "#10": "[(18,2)-(22,0)]" }, - "type-property-lexical-info": { - "#10": "[(19,4)-(19,8)]" + "declared-element": { + "#10": "" + }, + "resolved-link-target": { + "#10": "amf://id#10" }, "resolved-link": { "#10": "amf://id#12" + }, + "type-property-lexical-info": { + "#10": "[(19,4)-(19,8)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/recursion-inheritance-properties.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/recursion-inheritance-properties.expanded.jsonld index c266d22e7e..895998aac9 100644 --- a/amf-cli/shared/src/test/resources/validations/recursion-inheritance-properties.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/recursion-inheritance-properties.expanded.jsonld @@ -103,12 +103,12 @@ } ], "smaps": { + "virtual-element": { + "#25": "true" + }, "lexical": { "apiContract:payload": "[(26,4)-(27,23)]", "#25": "[(26,9)-(27,23)]" - }, - "virtual-element": { - "#25": "true" } } } @@ -282,12 +282,6 @@ } ], "smaps": { - "resolved-link-target": { - "#12": "amf://id#19" - }, - "declared-element": { - "#12": "" - }, "lexical": { "doc:variable": "[(17,13)-(23,0)]", "core:name": "[(17,2)-(17,12)]", @@ -295,7 +289,13 @@ "doc:dataNode": "[(18,4)-(23,0)]" }, "resolved-link": { + "#12": "amf://id#19" + }, + "resolved-link-target": { "#12": "amf://id#18" + }, + "declared-element": { + "#12": "" } } } @@ -439,23 +439,23 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link-target": { - "#5": "amf://id#9" - }, - "declared-element": { - "#5": "" - }, - "lexical": { - "#5": "[(7,2)-(11,0)]" - }, "type-property-lexical-info": { "#5": "[(8,4)-(8,8)]" }, "resolved-link": { - "#5": "amf://id#8" + "#5": "amf://id#9" }, "auto-generated-name": { "#5": "" + }, + "resolved-link-target": { + "#5": "amf://id#8" + }, + "declared-element": { + "#5": "" + }, + "lexical": { + "#5": "[(7,2)-(11,0)]" } } } @@ -491,20 +491,20 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#10" - }, "type-property-lexical-info": { "#3": "[(12,4)-(12,8)]" }, - "lexical": { - "#3": "[(11,2)-(16,0)]" + "resolved-link": { + "#3": "amf://id#11" + }, + "resolved-link-target": { + "#3": "amf://id#10" }, "declared-element": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#11" + "lexical": { + "#3": "[(11,2)-(16,0)]" } } } @@ -540,23 +540,23 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#1": "amf://id#9" - }, - "declared-element": { - "#1": "" - }, - "lexical": { - "#1": "[(7,2)-(11,0)]" - }, "type-property-lexical-info": { "#1": "[(8,4)-(8,8)]" }, "resolved-link": { - "#1": "amf://id#8" + "#1": "amf://id#9" }, "auto-generated-name": { "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#8" + }, + "declared-element": { + "#1": "" + }, + "lexical": { + "#1": "[(7,2)-(11,0)]" } } }, @@ -616,23 +616,23 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link-target": { - "#5": "amf://id#9" - }, - "declared-element": { - "#5": "" - }, - "lexical": { - "#5": "[(7,2)-(11,0)]" - }, "type-property-lexical-info": { "#5": "[(8,4)-(8,8)]" }, "resolved-link": { - "#5": "amf://id#8" + "#5": "amf://id#9" }, "auto-generated-name": { "#5": "" + }, + "resolved-link-target": { + "#5": "amf://id#8" + }, + "declared-element": { + "#5": "" + }, + "lexical": { + "#5": "[(7,2)-(11,0)]" } } } @@ -668,20 +668,20 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#10" - }, "type-property-lexical-info": { "#3": "[(12,4)-(12,8)]" }, - "lexical": { - "#3": "[(11,2)-(16,0)]" + "resolved-link": { + "#3": "amf://id#11" + }, + "resolved-link-target": { + "#3": "amf://id#10" }, "declared-element": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#11" + "lexical": { + "#3": "[(11,2)-(16,0)]" } } }, @@ -833,12 +833,6 @@ } ], "smaps": { - "resolved-link-target": { - "#12": "amf://id#19" - }, - "declared-element": { - "#12": "" - }, "lexical": { "doc:variable": "[(17,13)-(23,0)]", "core:name": "[(17,2)-(17,12)]", @@ -846,7 +840,13 @@ "doc:dataNode": "[(18,4)-(23,0)]" }, "resolved-link": { + "#12": "amf://id#19" + }, + "resolved-link-target": { "#12": "amf://id#18" + }, + "declared-element": { + "#12": "" } } } diff --git a/amf-cli/shared/src/test/resources/validations/recursion-inheritance-properties.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/recursion-inheritance-properties.flattened.jsonld index e60382226d..67f03efd17 100644 --- a/amf-cli/shared/src/test/resources/validations/recursion-inheritance-properties.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/recursion-inheritance-properties.flattened.jsonld @@ -107,12 +107,12 @@ } ], "smaps": { + "virtual-element": { + "#25": "true" + }, "lexical": { "apiContract:payload": "[(26,4)-(27,23)]", "#25": "[(26,9)-(27,23)]" - }, - "virtual-element": { - "#25": "true" } } }, @@ -131,12 +131,6 @@ "resourcePathName" ], "smaps": { - "resolved-link-target": { - "#12": "amf://id#19" - }, - "declared-element": { - "#12": "" - }, "lexical": { "doc:variable": "[(17,13)-(23,0)]", "core:name": "[(17,2)-(17,12)]", @@ -144,7 +138,13 @@ "doc:dataNode": "[(18,4)-(23,0)]" }, "resolved-link": { + "#12": "amf://id#19" + }, + "resolved-link-target": { "#12": "amf://id#18" + }, + "declared-element": { + "#12": "" } } }, @@ -206,23 +206,23 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#1": "amf://id#9" - }, - "declared-element": { - "#1": "" - }, - "lexical": { - "#1": "[(7,2)-(11,0)]" - }, "type-property-lexical-info": { "#1": "[(8,4)-(8,8)]" }, "resolved-link": { - "#1": "amf://id#8" + "#1": "amf://id#9" }, "auto-generated-name": { "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#8" + }, + "declared-element": { + "#1": "" + }, + "lexical": { + "#1": "[(7,2)-(11,0)]" } } }, @@ -317,20 +317,20 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link": { - "#3": "amf://id#10" - }, "type-property-lexical-info": { "#3": "[(12,4)-(12,8)]" }, - "lexical": { - "#3": "[(11,2)-(16,0)]" + "resolved-link": { + "#3": "amf://id#11" + }, + "resolved-link-target": { + "#3": "amf://id#10" }, "declared-element": { "#3": "" }, - "resolved-link-target": { - "#3": "amf://id#11" + "lexical": { + "#3": "[(11,2)-(16,0)]" } } }, @@ -427,23 +427,23 @@ "synthesized-field": { "doc:recursive": "true" }, - "resolved-link-target": { - "#5": "amf://id#9" - }, - "declared-element": { - "#5": "" - }, - "lexical": { - "#5": "[(7,2)-(11,0)]" - }, "type-property-lexical-info": { "#5": "[(8,4)-(8,8)]" }, "resolved-link": { - "#5": "amf://id#8" + "#5": "amf://id#9" }, "auto-generated-name": { "#5": "" + }, + "resolved-link-target": { + "#5": "amf://id#8" + }, + "declared-element": { + "#5": "" + }, + "lexical": { + "#5": "[(7,2)-(11,0)]" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/ref-from-allof-facet/result.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/ref-from-allof-facet/result.expanded.jsonld index e46ecb215d..30f6a063bd 100644 --- a/amf-cli/shared/src/test/resources/validations/ref-from-allof-facet/result.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/ref-from-allof-facet/result.expanded.jsonld @@ -135,12 +135,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#4": "[(28,12)-(28,18)]" - }, "lexical": { "shacl:datatype": "[(28,12)-(28,28)]", "#4": "[(27,10)-(29,11)]" + }, + "type-property-lexical-info": { + "#4": "[(28,12)-(28,18)]" } } } @@ -174,18 +174,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#2": "" + }, + "resolved-link-target": { + "#2": "amf://id#2" + }, "resolved-link": { "#2": "amf://id#5" }, "lexical": { "shacl:name": "[(25,6)-(25,17)]", "#2": "[(25,6)-(31,7)]" - }, - "declared-element": { - "#2": "" - }, - "resolved-link-target": { - "#2": "amf://id#2" } } }, @@ -238,12 +238,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#8": "[(19,16)-(19,22)]" - }, "lexical": { "shacl:datatype": "[(19,16)-(19,33)]", "#8": "[(18,14)-(20,15)]" + }, + "type-property-lexical-info": { + "#8": "[(19,16)-(19,22)]" } } } @@ -284,13 +284,13 @@ } ], "smaps": { - "declared-element": { - "#1": "" - }, "lexical": { "shacl:and": "[(12,8)-(23,9)]", "#1": "[(11,6)-(24,7)]", "shacl:name": "[(11,6)-(11,14)]" + }, + "declared-element": { + "#1": "" } } }, @@ -343,12 +343,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#4": "[(28,12)-(28,18)]" - }, "lexical": { "shacl:datatype": "[(28,12)-(28,28)]", "#4": "[(27,10)-(29,11)]" + }, + "type-property-lexical-info": { + "#4": "[(28,12)-(28,18)]" } } } @@ -382,18 +382,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#2": "" + }, + "resolved-link-target": { + "#2": "amf://id#2" + }, "resolved-link": { "#2": "amf://id#5" }, "lexical": { "shacl:name": "[(25,6)-(25,17)]", "#2": "[(25,6)-(31,7)]" - }, - "declared-element": { - "#2": "" - }, - "resolved-link-target": { - "#2": "amf://id#2" } } } diff --git a/amf-cli/shared/src/test/resources/validations/ref-from-allof-facet/result.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/ref-from-allof-facet/result.flattened.jsonld index 9b0ff8d146..d67868d4c5 100644 --- a/amf-cli/shared/src/test/resources/validations/ref-from-allof-facet/result.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/ref-from-allof-facet/result.flattened.jsonld @@ -73,13 +73,13 @@ } ], "smaps": { - "declared-element": { - "#1": "" - }, "lexical": { "shacl:and": "[(12,8)-(23,9)]", "#1": "[(11,6)-(24,7)]", "shacl:name": "[(11,6)-(11,14)]" + }, + "declared-element": { + "#1": "" } } }, @@ -103,18 +103,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#2": "" + }, + "resolved-link-target": { + "#2": "amf://id#2" + }, "resolved-link": { "#2": "amf://id#5" }, "lexical": { "shacl:name": "[(25,6)-(25,17)]", "#2": "[(25,6)-(31,7)]" - }, - "declared-element": { - "#2": "" - }, - "resolved-link-target": { - "#2": "amf://id#2" } } }, @@ -213,12 +213,12 @@ ], "shacl:name": "deviceId", "smaps": { - "type-property-lexical-info": { - "#4": "[(28,12)-(28,18)]" - }, "lexical": { "shacl:datatype": "[(28,12)-(28,28)]", "#4": "[(27,10)-(29,11)]" + }, + "type-property-lexical-info": { + "#4": "[(28,12)-(28,18)]" } } }, @@ -238,12 +238,12 @@ ], "shacl:name": "id", "smaps": { - "type-property-lexical-info": { - "#8": "[(19,16)-(19,22)]" - }, "lexical": { "shacl:datatype": "[(19,16)-(19,33)]", "#8": "[(18,14)-(20,15)]" + }, + "type-property-lexical-info": { + "#8": "[(19,16)-(19,22)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/resolved-link-annotation/api.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/resolved-link-annotation/api.expanded.jsonld index d401513851..5c1c1b65e4 100644 --- a/amf-cli/shared/src/test/resources/validations/resolved-link-annotation/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/resolved-link-annotation/api.expanded.jsonld @@ -108,11 +108,11 @@ } ], "smaps": { - "lexical": { - "#13": "[(13,9)-(15,0)]" - }, "virtual-element": { "#13": "true" + }, + "lexical": { + "#13": "[(13,9)-(15,0)]" } } } @@ -187,11 +187,11 @@ } ], "smaps": { - "lexical": { - "#16": "[(16,9)-(17,17)]" - }, "virtual-element": { "#16": "true" + }, + "lexical": { + "#16": "[(16,9)-(17,17)]" } } } @@ -341,18 +341,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#4" + }, "resolved-link": { "#1": "amf://id#1" }, "lexical": { "shacl:name": "[(5,2)-(5,7)]", "#1": "[(5,2)-(8,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#4" } } }, @@ -443,18 +443,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#5": "" + }, + "resolved-link-target": { + "#5": "amf://id#8" + }, "resolved-link": { "#5": "amf://id#5" }, "lexical": { "shacl:name": "[(8,2)-(8,7)]", "#5": "[(8,2)-(11,0)]" - }, - "declared-element": { - "#5": "" - }, - "resolved-link-target": { - "#5": "amf://id#8" } } } diff --git a/amf-cli/shared/src/test/resources/validations/resolved-link-annotation/api.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/resolved-link-annotation/api.flattened.jsonld index 884013a39a..156ca4a2ea 100644 --- a/amf-cli/shared/src/test/resources/validations/resolved-link-annotation/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/resolved-link-annotation/api.flattened.jsonld @@ -116,11 +116,11 @@ } ], "smaps": { - "lexical": { - "#13": "[(13,9)-(15,0)]" - }, "virtual-element": { "#13": "true" + }, + "lexical": { + "#13": "[(13,9)-(15,0)]" } } }, @@ -138,11 +138,11 @@ } ], "smaps": { - "lexical": { - "#16": "[(16,9)-(17,17)]" - }, "virtual-element": { "#16": "true" + }, + "lexical": { + "#16": "[(16,9)-(17,17)]" } } }, @@ -200,18 +200,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#4" + }, "resolved-link": { "#1": "amf://id#1" }, "lexical": { "shacl:name": "[(5,2)-(5,7)]", "#1": "[(5,2)-(8,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#4" } } }, @@ -235,18 +235,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#5": "" + }, + "resolved-link-target": { + "#5": "amf://id#8" + }, "resolved-link": { "#5": "amf://id#5" }, "lexical": { "shacl:name": "[(8,2)-(8,7)]", "#5": "[(8,2)-(11,0)]" - }, - "declared-element": { - "#5": "" - }, - "resolved-link-target": { - "#5": "amf://id#8" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/root-mediatype-propagation/root-mediatype-propagation.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/root-mediatype-propagation/root-mediatype-propagation.expanded.jsonld index 4c70c4d877..011698f763 100644 --- a/amf-cli/shared/src/test/resources/validations/root-mediatype-propagation/root-mediatype-propagation.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/root-mediatype-propagation/root-mediatype-propagation.expanded.jsonld @@ -154,11 +154,11 @@ } ], "smaps": { - "lexical": { - "#15": "[(15,9)-(17,22)]" - }, "virtual-element": { "#15": "true" + }, + "lexical": { + "#15": "[(15,9)-(17,22)]" } } } @@ -440,22 +440,22 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#10" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(7,2)-(7,10)]", "#1": "[(7,2)-(13,0)]", "shacl:datatype": "[(8,4)-(9,0)]" }, - "type-property-lexical-info": { - "#1": "[(8,4)-(8,8)]" + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#10" }, "resolved-link": { "#1": "amf://id#1" + }, + "type-property-lexical-info": { + "#1": "[(8,4)-(8,8)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/root-mediatype-propagation/root-mediatype-propagation.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/root-mediatype-propagation/root-mediatype-propagation.flattened.jsonld index 8b663cc277..9ce6be2031 100644 --- a/amf-cli/shared/src/test/resources/validations/root-mediatype-propagation/root-mediatype-propagation.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/root-mediatype-propagation/root-mediatype-propagation.flattened.jsonld @@ -95,11 +95,11 @@ } ], "smaps": { - "lexical": { - "#15": "[(15,9)-(17,22)]" - }, "virtual-element": { "#15": "true" + }, + "lexical": { + "#15": "[(15,9)-(17,22)]" } } }, @@ -164,22 +164,22 @@ } ], "smaps": { - "resolved-link-target": { - "#1": "amf://id#10" - }, - "declared-element": { - "#1": "" - }, "lexical": { "shacl:name": "[(7,2)-(7,10)]", "#1": "[(7,2)-(13,0)]", "shacl:datatype": "[(8,4)-(9,0)]" }, - "type-property-lexical-info": { - "#1": "[(8,4)-(8,8)]" + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#10" }, "resolved-link": { "#1": "amf://id#1" + }, + "type-property-lexical-info": { + "#1": "[(8,4)-(8,8)]" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/rt-parameters.raml.resolved.jsonld b/amf-cli/shared/src/test/resources/validations/rt-parameters.raml.resolved.jsonld index 91d71498f7..0a30318f45 100644 --- a/amf-cli/shared/src/test/resources/validations/rt-parameters.raml.resolved.jsonld +++ b/amf-cli/shared/src/test/resources/validations/rt-parameters.raml.resolved.jsonld @@ -764,9 +764,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/A" @@ -774,35 +774,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(10,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/A" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(5,2)-(5,3)]" + "@value": "[(5,2)-(10,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/A/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/expects/request/payload/application%2Fjson/shape/schema/inherits/shape/A" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(5,2)-(5,3)]" } ] } @@ -1159,9 +1159,9 @@ ] } ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#declared-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/source-map/declared-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B" @@ -1169,35 +1169,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,2)-(16,0)]" + "@value": "" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://www.w3.org/ns/shacl#name" + "@value": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,2)-(10,3)]" + "@value": "[(10,2)-(16,0)]" } ] - } - ], - "http://a.ml/vocabularies/document-source-maps#declared-element": [ + }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/source-map/declared-element/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/rt-parameters.raml#/web-api/endpoint/%2Fappointment/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B" + "@value": "http://www.w3.org/ns/shacl#name" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "" + "@value": "[(10,2)-(10,3)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/simple-recursion.jsonld b/amf-cli/shared/src/test/resources/validations/simple-recursion.jsonld index 96aa56a2a3..98582b75d2 100644 --- a/amf-cli/shared/src/test/resources/validations/simple-recursion.jsonld +++ b/amf-cli/shared/src/test/resources/validations/simple-recursion.jsonld @@ -328,6 +328,11 @@ "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/source-map/synthesized-field/element_0" } ], + "sourcemaps:declared-element": [ + { + "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/source-map/declared-element/element_0" + } + ], "sourcemaps:lexical": [ { "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/source-map/lexical/element_1" @@ -335,11 +340,6 @@ { "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/source-map/lexical/element_0" } - ], - "sourcemaps:declared-element": [ - { - "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/source-map/declared-element/element_0" - } ] }, { @@ -395,6 +395,11 @@ "sourcemaps:element": "shacl:closed", "sourcemaps:value": "true" }, + { + "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/source-map/declared-element/element_0", + "sourcemaps:element": "file://amf-cli/shared/src/test/resources/validations/simple-recursion.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B", + "sourcemaps:value": "" + }, { "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/source-map/lexical/element_1", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/validations/simple-recursion.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B", @@ -405,11 +410,6 @@ "sourcemaps:element": "shacl:name", "sourcemaps:value": "[(10,2)-(10,3)]" }, - { - "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/source-map/declared-element/element_0", - "sourcemaps:element": "file://amf-cli/shared/src/test/resources/validations/simple-recursion.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B", - "sourcemaps:value": "" - }, { "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/property/property/a/shape/A/recursive/source-map", "@type": [ @@ -420,14 +420,14 @@ "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/property/property/a/shape/A/recursive/source-map/synthesized-field/element_0" } ], - "sourcemaps:lexical": [ + "sourcemaps:declared-element": [ { - "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/property/property/a/shape/A/recursive/source-map/lexical/element_0" + "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/property/property/a/shape/A/recursive/source-map/declared-element/element_0" } ], - "sourcemaps:declared-element": [ + "sourcemaps:lexical": [ { - "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/property/property/a/shape/A/recursive/source-map/declared-element/element_0" + "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/property/property/a/shape/A/recursive/source-map/lexical/element_0" } ] }, @@ -457,14 +457,14 @@ "sourcemaps:value": "true" }, { - "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/property/property/a/shape/A/recursive/source-map/lexical/element_0", + "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/property/property/a/shape/A/recursive/source-map/declared-element/element_0", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/validations/simple-recursion.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/property/property/a/shape/A/recursive", - "sourcemaps:value": "[(7,2)-(10,0)]" + "sourcemaps:value": "" }, { - "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/property/property/a/shape/A/recursive/source-map/declared-element/element_0", + "@id": "#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/property/property/a/shape/A/recursive/source-map/lexical/element_0", "sourcemaps:element": "file://amf-cli/shared/src/test/resources/validations/simple-recursion.raml#/web-api/endpoint/%2Ftest/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/inherits/shape/B/property/property/a/shape/A/recursive", - "sourcemaps:value": "" + "sourcemaps:value": "[(7,2)-(10,0)]" }, { "@id": "", diff --git a/amf-cli/shared/src/test/resources/validations/tracked-from-resource-type/tracked-from-resource-type.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/tracked-from-resource-type/tracked-from-resource-type.expanded.jsonld index 40a709c66d..823d00ea85 100644 --- a/amf-cli/shared/src/test/resources/validations/tracked-from-resource-type/tracked-from-resource-type.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/tracked-from-resource-type/tracked-from-resource-type.expanded.jsonld @@ -502,14 +502,14 @@ } ], "smaps": { - "declared-element": { - "#15": "" - }, "lexical": { "doc:variable": "[(10,18)-(22,0)]", "core:name": "[(10,2)-(10,17)]", "#15": "[(10,2)-(22,0)]", "doc:dataNode": "[(11,4)-(22,0)]" + }, + "declared-element": { + "#15": "" } } } @@ -907,18 +907,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#4": "" + }, + "resolved-link-target": { + "#4": "amf://id#12" + }, "resolved-link": { "#4": "amf://id#14" }, "lexical": { "shacl:name": "[(5,2)-(5,9)]", "#4": "[(5,2)-(9,0)]" - }, - "declared-element": { - "#4": "" - }, - "resolved-link-target": { - "#4": "amf://id#13" } } }, @@ -1247,14 +1247,14 @@ } ], "smaps": { - "declared-element": { - "#15": "" - }, "lexical": { "doc:variable": "[(10,18)-(22,0)]", "core:name": "[(10,2)-(10,17)]", "#15": "[(10,2)-(22,0)]", "doc:dataNode": "[(11,4)-(22,0)]" + }, + "declared-element": { + "#15": "" } } } diff --git a/amf-cli/shared/src/test/resources/validations/tracked-from-resource-type/tracked-from-resource-type.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/tracked-from-resource-type/tracked-from-resource-type.flattened.jsonld index 8e88b5b31a..0b662f715a 100644 --- a/amf-cli/shared/src/test/resources/validations/tracked-from-resource-type/tracked-from-resource-type.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/tracked-from-resource-type/tracked-from-resource-type.flattened.jsonld @@ -137,14 +137,14 @@ "examp" ], "smaps": { - "declared-element": { - "#15": "" - }, "lexical": { "doc:variable": "[(10,18)-(22,0)]", "core:name": "[(10,2)-(10,17)]", "#15": "[(10,2)-(22,0)]", "doc:dataNode": "[(11,4)-(22,0)]" + }, + "declared-element": { + "#15": "" } } }, @@ -266,18 +266,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#4": "" + }, + "resolved-link-target": { + "#4": "amf://id#12" + }, "resolved-link": { "#4": "amf://id#14" }, "lexical": { "shacl:name": "[(5,2)-(5,9)]", "#4": "[(5,2)-(9,0)]" - }, - "declared-element": { - "#4": "" - }, - "resolved-link-target": { - "#4": "amf://id#13" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/tracked-oas-examples/tracked-oas-examples.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/tracked-oas-examples/tracked-oas-examples.expanded.jsonld index 30f175d3f8..7bdf2409fd 100644 --- a/amf-cli/shared/src/test/resources/validations/tracked-oas-examples/tracked-oas-examples.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/tracked-oas-examples/tracked-oas-examples.expanded.jsonld @@ -111,11 +111,11 @@ } ], "smaps": { - "lexical": { - "#14": "[(8,4)-(22,5)]" - }, "virtual-element": { "#14": "true" + }, + "lexical": { + "#14": "[(8,4)-(22,5)]" } } } @@ -227,11 +227,11 @@ } ], "smaps": { - "lexical": { - "#32": "[(8,4)-(22,5)]" - }, "virtual-element": { "#32": "true" + }, + "lexical": { + "#32": "[(8,4)-(22,5)]" } } } @@ -343,11 +343,11 @@ } ], "smaps": { - "lexical": { - "#19": "[(8,4)-(22,5)]" - }, "virtual-element": { "#19": "true" + }, + "lexical": { + "#19": "[(8,4)-(22,5)]" } } } @@ -486,12 +486,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#46": "[(94,18)-(94,24)]" - }, "lexical": { "shacl:datatype": "[(94,18)-(94,34)]", "#46": "[(93,16)-(95,17)]" + }, + "type-property-lexical-info": { + "#46": "[(94,18)-(94,24)]" } } } @@ -549,12 +549,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#48": "[(97,18)-(97,24)]" - }, "lexical": { "shacl:datatype": "[(97,18)-(97,34)]", "#48": "[(96,16)-(98,17)]" + }, + "type-property-lexical-info": { + "#48": "[(97,18)-(97,24)]" } } } @@ -715,22 +715,22 @@ "type-property-lexical-info": { "#40": "[(91,14)-(91,20)]" }, + "auto-generated-name": { + "#40": "" + }, "lexical": { "apiContract:examples": "[(87,14)-(90,15)]", "#40": "[(86,12)-(100,13)]" - }, - "auto-generated-name": { - "#40": "" } } } ], "smaps": { - "lexical": { - "#39": "[(86,12)-(100,13)]" - }, "virtual-element": { "#39": "true" + }, + "lexical": { + "#39": "[(86,12)-(100,13)]" } } } @@ -847,12 +847,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(16,10)-(16,16)]" - }, "lexical": { "shacl:datatype": "[(16,10)-(16,26)]", "#3": "[(15,8)-(17,9)]" + }, + "type-property-lexical-info": { + "#3": "[(16,10)-(16,16)]" } } } @@ -910,12 +910,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#5": "[(19,10)-(19,16)]" - }, "lexical": { "shacl:datatype": "[(19,10)-(19,26)]", "#5": "[(18,8)-(20,9)]" + }, + "type-property-lexical-info": { + "#5": "[(19,10)-(19,16)]" } } } @@ -1340,21 +1340,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#23" - }, "type-property-lexical-info": { "#1": "[(13,6)-(13,12)]" }, - "lexical": { - "shacl:name": "[(8,4)-(8,17)]", - "#1": "[(8,4)-(22,5)]" + "resolved-link": { + "#1": "amf://id#23" + }, + "resolved-link-target": { + "#1": "amf://id#20" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#21" + "lexical": { + "shacl:name": "[(8,4)-(8,17)]", + "#1": "[(8,4)-(22,5)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/tracked-oas-examples/tracked-oas-examples.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/tracked-oas-examples/tracked-oas-examples.flattened.jsonld index 7f4912fe42..ed87ad61a8 100644 --- a/amf-cli/shared/src/test/resources/validations/tracked-oas-examples/tracked-oas-examples.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/tracked-oas-examples/tracked-oas-examples.flattened.jsonld @@ -310,11 +310,11 @@ "@id": "#1" }, "smaps": { - "lexical": { - "#14": "[(8,4)-(22,5)]" - }, "virtual-element": { "#14": "true" + }, + "lexical": { + "#14": "[(8,4)-(22,5)]" } } }, @@ -330,11 +330,11 @@ "@id": "#1" }, "smaps": { - "lexical": { - "#32": "[(8,4)-(22,5)]" - }, "virtual-element": { "#32": "true" + }, + "lexical": { + "#32": "[(8,4)-(22,5)]" } } }, @@ -350,11 +350,11 @@ "@id": "#1" }, "smaps": { - "lexical": { - "#19": "[(8,4)-(22,5)]" - }, "virtual-element": { "#19": "true" + }, + "lexical": { + "#19": "[(8,4)-(22,5)]" } } }, @@ -370,11 +370,11 @@ "@id": "#40" }, "smaps": { - "lexical": { - "#39": "[(86,12)-(100,13)]" - }, "virtual-element": { "#39": "true" + }, + "lexical": { + "#39": "[(86,12)-(100,13)]" } } }, @@ -414,21 +414,21 @@ "doc:recursive": "true", "shacl:closed": "true" }, - "resolved-link": { - "#1": "amf://id#23" - }, "type-property-lexical-info": { "#1": "[(13,6)-(13,12)]" }, - "lexical": { - "shacl:name": "[(8,4)-(8,17)]", - "#1": "[(8,4)-(22,5)]" + "resolved-link": { + "#1": "amf://id#23" + }, + "resolved-link-target": { + "#1": "amf://id#20" }, "declared-element": { "#1": "" }, - "resolved-link-target": { - "#1": "amf://id#21" + "lexical": { + "shacl:name": "[(8,4)-(8,17)]", + "#1": "[(8,4)-(22,5)]" } } }, @@ -463,12 +463,12 @@ "type-property-lexical-info": { "#40": "[(91,14)-(91,20)]" }, + "auto-generated-name": { + "#40": "" + }, "lexical": { "apiContract:examples": "[(87,14)-(90,15)]", "#40": "[(86,12)-(100,13)]" - }, - "auto-generated-name": { - "#40": "" } } }, @@ -693,12 +693,12 @@ ], "shacl:name": "prop1", "smaps": { - "type-property-lexical-info": { - "#3": "[(16,10)-(16,16)]" - }, "lexical": { "shacl:datatype": "[(16,10)-(16,26)]", "#3": "[(15,8)-(17,9)]" + }, + "type-property-lexical-info": { + "#3": "[(16,10)-(16,16)]" } } }, @@ -718,12 +718,12 @@ ], "shacl:name": "prop2", "smaps": { - "type-property-lexical-info": { - "#5": "[(19,10)-(19,16)]" - }, "lexical": { "shacl:datatype": "[(19,10)-(19,26)]", "#5": "[(18,8)-(20,9)]" + }, + "type-property-lexical-info": { + "#5": "[(19,10)-(19,16)]" } } }, @@ -818,12 +818,12 @@ ], "shacl:name": "prop1", "smaps": { - "type-property-lexical-info": { - "#46": "[(94,18)-(94,24)]" - }, "lexical": { "shacl:datatype": "[(94,18)-(94,34)]", "#46": "[(93,16)-(95,17)]" + }, + "type-property-lexical-info": { + "#46": "[(94,18)-(94,24)]" } } }, @@ -843,12 +843,12 @@ ], "shacl:name": "prop2", "smaps": { - "type-property-lexical-info": { - "#48": "[(97,18)-(97,24)]" - }, "lexical": { "shacl:datatype": "[(97,18)-(97,34)]", "#48": "[(96,16)-(98,17)]" + }, + "type-property-lexical-info": { + "#48": "[(97,18)-(97,24)]" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/tracked-oas-param-body/tracked-oas-param-body.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/tracked-oas-param-body/tracked-oas-param-body.expanded.jsonld index d4e73c0d74..0994cde429 100644 --- a/amf-cli/shared/src/test/resources/validations/tracked-oas-param-body/tracked-oas-param-body.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/tracked-oas-param-body/tracked-oas-param-body.expanded.jsonld @@ -224,13 +224,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#18": "[(41,20)-(41,24)]" - }, "lexical": { "apiContract:examples": "[(40,20)-(41,0)]", "#18": "[(39,18)-(42,0)]", "shacl:datatype": "[(41,20)-(42,0)]" + }, + "type-property-lexical-info": { + "#18": "[(41,20)-(41,24)]" } } } @@ -286,12 +286,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#22": "[(43,20)-(43,24)]" - }, "lexical": { "shacl:datatype": "[(43,20)-(44,0)]", "#22": "[(42,18)-(44,0)]" + }, + "type-property-lexical-info": { + "#22": "[(43,20)-(43,24)]" } } } @@ -320,12 +320,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#16": "[(33,16)-(33,20)]" - }, "lexical": { "shacl:closed": "[(34,16)-(35,0)]", "#16": "[(32,14)-(44,0)]" + }, + "type-property-lexical-info": { + "#16": "[(33,16)-(33,20)]" } } } @@ -386,13 +386,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#24": "[(45,16)-(45,20)]" - }, "lexical": { "raml-shapes:format": "[(46,16)-(47,0)]", "#24": "[(44,14)-(47,0)]", "shacl:datatype": "[(45,16)-(46,0)]" + }, + "type-property-lexical-info": { + "#24": "[(45,16)-(45,20)]" } } } @@ -448,12 +448,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#26": "[(48,16)-(48,20)]" - }, "lexical": { "shacl:datatype": "[(48,16)-(48,28)]", "#26": "[(47,14)-(48,28)]" + }, + "type-property-lexical-info": { + "#26": "[(48,16)-(48,20)]" } } } @@ -701,15 +701,15 @@ } ], "smaps": { - "parameter-binding-in-body-lexical-info": { - "#7": "[(14,10)-(15,0)]" - }, "lexical": { "apiContract:examples": "[(17,12)-(25,0)]", "shacl:closed": "[(26,12)-(27,0)]", "#7": "[(16,10)-(48,28)]", "shacl:name": "[(15,10)-(16,0)]" }, + "parameter-binding-in-body-lexical-info": { + "#7": "[(14,10)-(15,0)]" + }, "type-property-lexical-info": { "#7": "[(25,12)-(25,16)]" } @@ -717,14 +717,14 @@ } ], "smaps": { - "body-parameter": { - "#6": "true" - }, "lexical": { "raml-shapes:schema": "[(16,10)-(48,28)]", "core:name": "[(15,10)-(16,0)]", "#6": "[(12,9)-(48,28)]", "core:mediaType": "[(13,10)-(14,0)]" + }, + "body-parameter": { + "#6": "true" } } } diff --git a/amf-cli/shared/src/test/resources/validations/tracked-oas-param-body/tracked-oas-param-body.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/tracked-oas-param-body/tracked-oas-param-body.flattened.jsonld index 4def6f8c08..7aa925a78a 100644 --- a/amf-cli/shared/src/test/resources/validations/tracked-oas-param-body/tracked-oas-param-body.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/tracked-oas-param-body/tracked-oas-param-body.flattened.jsonld @@ -109,14 +109,14 @@ "@id": "#7" }, "smaps": { - "body-parameter": { - "#6": "true" - }, "lexical": { "raml-shapes:schema": "[(16,10)-(48,28)]", "core:name": "[(15,10)-(16,0)]", "#6": "[(12,9)-(48,28)]", "core:mediaType": "[(13,10)-(14,0)]" + }, + "body-parameter": { + "#6": "true" } } }, @@ -148,15 +148,15 @@ } ], "smaps": { - "parameter-binding-in-body-lexical-info": { - "#7": "[(14,10)-(15,0)]" - }, "lexical": { "apiContract:examples": "[(17,12)-(25,0)]", "shacl:closed": "[(26,12)-(27,0)]", "#7": "[(16,10)-(48,28)]", "shacl:name": "[(15,10)-(16,0)]" }, + "parameter-binding-in-body-lexical-info": { + "#7": "[(14,10)-(15,0)]" + }, "type-property-lexical-info": { "#7": "[(25,12)-(25,16)]" } @@ -282,12 +282,12 @@ ], "shacl:name": "address", "smaps": { - "type-property-lexical-info": { - "#16": "[(33,16)-(33,20)]" - }, "lexical": { "shacl:closed": "[(34,16)-(35,0)]", "#16": "[(32,14)-(44,0)]" + }, + "type-property-lexical-info": { + "#16": "[(33,16)-(33,20)]" } } }, @@ -308,13 +308,13 @@ "raml-shapes:format": "int", "shacl:name": "id", "smaps": { - "type-property-lexical-info": { - "#24": "[(45,16)-(45,20)]" - }, "lexical": { "raml-shapes:format": "[(46,16)-(47,0)]", "#24": "[(44,14)-(47,0)]", "shacl:datatype": "[(45,16)-(46,0)]" + }, + "type-property-lexical-info": { + "#24": "[(45,16)-(45,20)]" } } }, @@ -334,12 +334,12 @@ ], "shacl:name": "name", "smaps": { - "type-property-lexical-info": { - "#26": "[(48,16)-(48,20)]" - }, "lexical": { "shacl:datatype": "[(48,16)-(48,28)]", "#26": "[(47,14)-(48,28)]" + }, + "type-property-lexical-info": { + "#26": "[(48,16)-(48,20)]" } } }, @@ -516,13 +516,13 @@ } ], "smaps": { - "type-property-lexical-info": { - "#18": "[(41,20)-(41,24)]" - }, "lexical": { "apiContract:examples": "[(40,20)-(41,0)]", "#18": "[(39,18)-(42,0)]", "shacl:datatype": "[(41,20)-(42,0)]" + }, + "type-property-lexical-info": { + "#18": "[(41,20)-(41,24)]" } } }, @@ -542,12 +542,12 @@ ], "shacl:name": "city", "smaps": { - "type-property-lexical-info": { - "#22": "[(43,20)-(43,24)]" - }, "lexical": { "shacl:datatype": "[(43,20)-(44,0)]", "#22": "[(42,18)-(44,0)]" + }, + "type-property-lexical-info": { + "#22": "[(43,20)-(43,24)]" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/tracked-to-linked/tracked-to-linked.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/tracked-to-linked/tracked-to-linked.expanded.jsonld index baade21525..22179ca2b5 100644 --- a/amf-cli/shared/src/test/resources/validations/tracked-to-linked/tracked-to-linked.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/tracked-to-linked/tracked-to-linked.expanded.jsonld @@ -357,13 +357,13 @@ } ], "smaps": { - "auto-generated-name": { - "#29": "" - }, "lexical": { "apiContract:examples": "[(14,8)-(15,0)]", "#29": "[(12,6)-(15,0)]" }, + "auto-generated-name": { + "#29": "" + }, "type-property-lexical-info": { "#29": "[(13,8)-(13,12)]" } @@ -378,11 +378,11 @@ } ], "smaps": { - "lexical": { - "#27": "[(11,9)-(15,0)]" - }, "virtual-element": { "#27": "true" + }, + "lexical": { + "#27": "[(11,9)-(15,0)]" } } } @@ -457,11 +457,11 @@ } ], "smaps": { - "lexical": { - "#39": "[(16,9)-(20,0)]" - }, "virtual-element": { "#39": "true" + }, + "lexical": { + "#39": "[(16,9)-(20,0)]" } } } @@ -536,11 +536,11 @@ } ], "smaps": { - "lexical": { - "#41": "[(21,9)-(25,0)]" - }, "virtual-element": { "#41": "true" + }, + "lexical": { + "#41": "[(21,9)-(25,0)]" } } } @@ -615,11 +615,11 @@ } ], "smaps": { - "lexical": { - "#43": "[(26,9)-(28,47)]" - }, "virtual-element": { "#43": "true" + }, + "lexical": { + "#43": "[(26,9)-(28,47)]" } } } @@ -839,11 +839,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#3": "[(2,0)-(5,14)]" - }, "type-property-lexical-info": { "#3": "[(2,0)-(2,4)]" + }, + "lexical": { + "#3": "[(2,0)-(5,14)]" } } } @@ -1267,20 +1267,20 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#14": "amf://id#3" - }, "type-property-lexical-info": { "#14": "[(2,0)-(2,4)]" }, - "lexical": { - "#14": "[(2,0)-(5,14)]" + "resolved-link-target": { + "#14": "amf://id#3" + }, + "declared-element": { + "#14": "" }, "resolved-link": { "#14": "amf://id#22" }, - "declared-element": { - "#14": "" + "lexical": { + "#14": "[(2,0)-(5,14)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/tracked-to-linked/tracked-to-linked.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/tracked-to-linked/tracked-to-linked.flattened.jsonld index 589eda97ea..d67009f40e 100644 --- a/amf-cli/shared/src/test/resources/validations/tracked-to-linked/tracked-to-linked.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/tracked-to-linked/tracked-to-linked.flattened.jsonld @@ -160,11 +160,11 @@ } ], "smaps": { - "lexical": { - "#27": "[(11,9)-(15,0)]" - }, "virtual-element": { "#27": "true" + }, + "lexical": { + "#27": "[(11,9)-(15,0)]" } } }, @@ -182,11 +182,11 @@ } ], "smaps": { - "lexical": { - "#39": "[(16,9)-(20,0)]" - }, "virtual-element": { "#39": "true" + }, + "lexical": { + "#39": "[(16,9)-(20,0)]" } } }, @@ -204,11 +204,11 @@ } ], "smaps": { - "lexical": { - "#41": "[(21,9)-(25,0)]" - }, "virtual-element": { "#41": "true" + }, + "lexical": { + "#41": "[(21,9)-(25,0)]" } } }, @@ -226,11 +226,11 @@ } ], "smaps": { - "lexical": { - "#43": "[(26,9)-(28,47)]" - }, "virtual-element": { "#43": "true" + }, + "lexical": { + "#43": "[(26,9)-(28,47)]" } } }, @@ -321,13 +321,13 @@ } ], "smaps": { - "auto-generated-name": { - "#29": "" - }, "lexical": { "apiContract:examples": "[(14,8)-(15,0)]", "#29": "[(12,6)-(15,0)]" }, + "auto-generated-name": { + "#29": "" + }, "type-property-lexical-info": { "#29": "[(13,8)-(13,12)]" } @@ -361,20 +361,20 @@ "synthesized-field": { "shacl:closed": "true" }, - "resolved-link-target": { - "#14": "amf://id#3" - }, "type-property-lexical-info": { "#14": "[(2,0)-(2,4)]" }, - "lexical": { - "#14": "[(2,0)-(5,14)]" + "resolved-link-target": { + "#14": "amf://id#3" + }, + "declared-element": { + "#14": "" }, "resolved-link": { "#14": "amf://id#22" }, - "declared-element": { - "#14": "" + "lexical": { + "#14": "[(2,0)-(5,14)]" } } }, @@ -887,11 +887,11 @@ "synthesized-field": { "shacl:closed": "true" }, - "lexical": { - "#3": "[(2,0)-(5,14)]" - }, "type-property-lexical-info": { "#3": "[(2,0)-(2,4)]" + }, + "lexical": { + "#3": "[(2,0)-(5,14)]" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/union-type-array.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/union-type-array.expanded.jsonld index 830fc24308..a9174f27d0 100644 --- a/amf-cli/shared/src/test/resources/validations/union-type-array.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/union-type-array.expanded.jsonld @@ -107,12 +107,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(8,8)-(8,12)]" - }, "lexical": { "shacl:datatype": "[(8,8)-(9,0)]", "#3": "[(7,6)-(9,0)]" + }, + "type-property-lexical-info": { + "#3": "[(8,8)-(8,12)]" } } } @@ -148,18 +148,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#5" }, "lexical": { "shacl:name": "[(5,2)-(5,6)]", "#1": "[(5,2)-(9,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -222,12 +222,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(8,8)-(8,12)]" - }, "lexical": { "shacl:datatype": "[(8,8)-(9,0)]", "#3": "[(7,6)-(9,0)]" + }, + "type-property-lexical-info": { + "#3": "[(8,8)-(8,12)]" } } } @@ -263,18 +263,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#5" }, "lexical": { "shacl:name": "[(5,2)-(5,6)]", "#1": "[(5,2)-(9,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } } @@ -285,21 +285,21 @@ } ], "smaps": { - "resolved-link-target": { - "#6": "amf://id#6" - }, - "declared-element": { - "#6": "" - }, "lexical": { "shacl:name": "[(9,2)-(9,7)]", "#6": "[(9,2)-(12,0)]" }, - "type-property-lexical-info": { - "#6": "[(10,4)-(10,8)]" + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#6" }, "resolved-link": { "#6": "amf://id#7" + }, + "type-property-lexical-info": { + "#6": "[(10,4)-(10,8)]" } } }, @@ -362,12 +362,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(8,8)-(8,12)]" - }, "lexical": { "shacl:datatype": "[(8,8)-(9,0)]", "#3": "[(7,6)-(9,0)]" + }, + "type-property-lexical-info": { + "#3": "[(8,8)-(8,12)]" } } } @@ -403,18 +403,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#5" }, "lexical": { "shacl:name": "[(5,2)-(5,6)]", "#1": "[(5,2)-(9,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -477,12 +477,12 @@ } ], "smaps": { - "type-property-lexical-info": { - "#3": "[(8,8)-(8,12)]" - }, "lexical": { "shacl:datatype": "[(8,8)-(9,0)]", "#3": "[(7,6)-(9,0)]" + }, + "type-property-lexical-info": { + "#3": "[(8,8)-(8,12)]" } } } @@ -518,18 +518,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#5" }, "lexical": { "shacl:name": "[(5,2)-(5,6)]", "#1": "[(5,2)-(9,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } } @@ -540,21 +540,21 @@ } ], "smaps": { - "resolved-link-target": { - "#6": "amf://id#6" - }, - "declared-element": { - "#6": "" - }, "lexical": { "shacl:name": "[(9,2)-(9,7)]", "#6": "[(9,2)-(12,0)]" }, - "type-property-lexical-info": { - "#6": "[(10,4)-(10,8)]" + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#6" }, "resolved-link": { "#6": "amf://id#7" + }, + "type-property-lexical-info": { + "#6": "[(10,4)-(10,8)]" } } } @@ -565,18 +565,18 @@ } ], "smaps": { - "inherited-shapes": { - "#8": "amf://id#9" - }, - "type-property-lexical-info": { - "#8": "[(13,4)-(13,8)]" - }, "lexical": { "shacl:name": "[(12,2)-(12,10)]", "#8": "[(12,11)-(13,22)]" }, "declared-element": { "#8": "" + }, + "inherited-shapes": { + "#8": "amf://id#9" + }, + "type-property-lexical-info": { + "#8": "[(13,4)-(13,8)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/union-type-array.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/union-type-array.flattened.jsonld index f48b18af3b..7538104af7 100644 --- a/amf-cli/shared/src/test/resources/validations/union-type-array.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/union-type-array.flattened.jsonld @@ -72,18 +72,18 @@ "synthesized-field": { "shacl:closed": "true" }, + "declared-element": { + "#1": "" + }, + "resolved-link-target": { + "#1": "amf://id#1" + }, "resolved-link": { "#1": "amf://id#5" }, "lexical": { "shacl:name": "[(5,2)-(5,6)]", "#1": "[(5,2)-(9,0)]" - }, - "declared-element": { - "#1": "" - }, - "resolved-link-target": { - "#1": "amf://id#1" } } }, @@ -101,21 +101,21 @@ }, "shacl:name": "users", "smaps": { - "resolved-link-target": { - "#6": "amf://id#6" - }, - "declared-element": { - "#6": "" - }, "lexical": { "shacl:name": "[(9,2)-(9,7)]", "#6": "[(9,2)-(12,0)]" }, - "type-property-lexical-info": { - "#6": "[(10,4)-(10,8)]" + "declared-element": { + "#6": "" + }, + "resolved-link-target": { + "#6": "amf://id#6" }, "resolved-link": { "#6": "amf://id#7" + }, + "type-property-lexical-info": { + "#6": "[(10,4)-(10,8)]" } } }, @@ -138,18 +138,18 @@ ], "shacl:name": "theUnion", "smaps": { - "inherited-shapes": { - "#8": "amf://id#9" - }, - "type-property-lexical-info": { - "#8": "[(13,4)-(13,8)]" - }, "lexical": { "shacl:name": "[(12,2)-(12,10)]", "#8": "[(12,11)-(13,22)]" }, "declared-element": { "#8": "" + }, + "inherited-shapes": { + "#8": "amf://id#9" + }, + "type-property-lexical-info": { + "#8": "[(13,4)-(13,8)]" } } }, @@ -198,12 +198,12 @@ ], "shacl:name": "user-id", "smaps": { - "type-property-lexical-info": { - "#3": "[(8,8)-(8,12)]" - }, "lexical": { "shacl:datatype": "[(8,8)-(9,0)]", "#3": "[(7,6)-(9,0)]" + }, + "type-property-lexical-info": { + "#3": "[(8,8)-(8,12)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/union-type-containg-array/union-type-containg-array.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/union-type-containg-array/union-type-containg-array.expanded.jsonld index d9e2212df2..041435b90c 100644 --- a/amf-cli/shared/src/test/resources/validations/union-type-containg-array/union-type-containg-array.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/union-type-containg-array/union-type-containg-array.expanded.jsonld @@ -110,18 +110,18 @@ } ], "smaps": { - "inherited-shapes": { - "#1": "amf://id#4" - }, - "type-property-lexical-info": { - "#1": "[(5,4)-(5,8)]" - }, "lexical": { "shacl:name": "[(4,2)-(4,13)]", "#1": "[(4,14)-(5,24)]" }, "declared-element": { "#1": "" + }, + "inherited-shapes": { + "#1": "amf://id#4" + }, + "type-property-lexical-info": { + "#1": "[(5,4)-(5,8)]" } } } diff --git a/amf-cli/shared/src/test/resources/validations/union-type-containg-array/union-type-containg-array.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/union-type-containg-array/union-type-containg-array.flattened.jsonld index a39f6834ad..ebde9f9f11 100644 --- a/amf-cli/shared/src/test/resources/validations/union-type-containg-array/union-type-containg-array.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/union-type-containg-array/union-type-containg-array.flattened.jsonld @@ -65,18 +65,18 @@ ], "shacl:name": "NewDataType", "smaps": { - "inherited-shapes": { - "#1": "amf://id#4" - }, - "type-property-lexical-info": { - "#1": "[(5,4)-(5,8)]" - }, "lexical": { "shacl:name": "[(4,2)-(4,13)]", "#1": "[(4,14)-(5,24)]" }, "declared-element": { "#1": "" + }, + "inherited-shapes": { + "#1": "amf://id#4" + }, + "type-property-lexical-info": { + "#1": "[(5,4)-(5,8)]" } } }, From 6efcd86210ac20280df5261a60b3587b2e45576c Mon Sep 17 00:00:00 2001 From: Loose Date: Wed, 5 Jun 2024 09:54:40 -0300 Subject: [PATCH 04/30] W-15883690 - Fix annotation for virtual nodes --- .../parser/domain/Async20EndpointParser.scala | 2 +- .../governance-mode/async/api.expanded.jsonld | 23 +++ .../async/api.flattened.jsonld | 21 +++ .../channel-servers-implicit.expanded.jsonld | 8 +- .../channel-servers-implicit.flattened.jsonld | 8 +- .../content-type-override.expanded.jsonld | 8 +- .../content-type-override.flattened.jsonld | 8 +- ...essage-example-propagation.expanded.jsonld | 4 +- ...ssage-example-propagation.flattened.jsonld | 4 +- .../message-references.expanded.jsonld | 8 +- .../message-references.flattened.jsonld | 8 +- ...-trait-merging-and-removed.expanded.jsonld | 4 +- ...trait-merging-and-removed.flattened.jsonld | 4 +- .../message-trait-merging.expanded.jsonld | 4 +- .../message-trait-merging.flattened.jsonld | 4 +- ...-trait-merging-and-removed.expanded.jsonld | 4 +- ...trait-merging-and-removed.flattened.jsonld | 4 +- .../operation-trait-merging.expanded.jsonld | 4 +- .../operation-trait-merging.flattened.jsonld | 4 +- .../amqp-message-binding.expanded.jsonld | 16 +- .../amqp-message-binding.flattened.jsonld | 18 +- .../amqp-operation-binding.expanded.jsonld | 16 +- .../amqp-operation-binding.flattened.jsonld | 18 +- .../async20/asyncApi-2.1-all.expanded.jsonld | 30 ++-- .../async20/asyncApi-2.1-all.flattened.jsonld | 38 ++-- .../async20/asyncApi-2.2-all.expanded.jsonld | 52 +++--- .../async20/asyncApi-2.2-all.flattened.jsonld | 62 ++++--- .../async20/asyncApi-2.3-all.expanded.jsonld | 60 ++++--- .../async20/asyncApi-2.3-all.flattened.jsonld | 76 ++++---- .../async20/asyncApi-2.4-all.expanded.jsonld | 60 ++++--- .../async20/asyncApi-2.4-all.flattened.jsonld | 76 ++++---- .../async20/asyncApi-2.5-all.expanded.jsonld | 60 ++++--- .../async20/asyncApi-2.5-all.flattened.jsonld | 76 ++++---- .../async20/asyncApi-2.6-all.expanded.jsonld | 60 ++++--- .../async20/asyncApi-2.6-all.flattened.jsonld | 76 ++++---- .../channel-parameters.expanded.jsonld | 14 +- .../channel-parameters.flattened.jsonld | 20 ++- .../async-components.expanded.jsonld | 20 ++- .../async-components.flattened.jsonld | 26 +-- .../external-operation-traits.expanded.jsonld | 16 +- ...external-operation-traits.flattened.jsonld | 18 +- .../components/message-traits.expanded.jsonld | 16 +- .../message-traits.flattened.jsonld | 18 +- .../operation-traits.expanded.jsonld | 16 +- .../operation-traits.flattened.jsonld | 18 +- .../async20/draft-7-schemas.expanded.jsonld | 144 +++++++++------- .../async20/draft-7-schemas.flattened.jsonld | 162 ++++++++++-------- ...ty-binding-and-annotations.expanded.jsonld | 14 +- ...y-binding-and-annotations.flattened.jsonld | 20 ++- .../http-message-binding.expanded.jsonld | 16 +- .../http-message-binding.flattened.jsonld | 18 +- .../http-operation-binding.expanded.jsonld | 16 +- .../http-operation-binding.flattened.jsonld | 18 +- .../kafka-message-binding.expanded.jsonld | 16 +- .../kafka-message-binding.flattened.jsonld | 18 +- .../kafka-operation-binding.expanded.jsonld | 16 +- .../kafka-operation-binding.flattened.jsonld | 18 +- .../async20/message-obj.expanded.jsonld | 16 +- .../async20/message-obj.flattened.jsonld | 18 +- .../mqtt-message-binding.expanded.jsonld | 48 +++--- .../mqtt-message-binding.flattened.jsonld | 54 +++--- .../mqtt-operation-binding.expanded.jsonld | 16 +- .../mqtt-operation-binding.flattened.jsonld | 18 +- .../async20/publish-subscribe.expanded.jsonld | 24 +-- .../publish-subscribe.flattened.jsonld | 24 +-- .../chained-include.expanded.jsonld | 4 +- .../chained-include.flattened.jsonld | 4 +- .../include-root-payload.expanded.jsonld | 4 +- .../include-root-payload.flattened.jsonld | 4 +- ...data-type-fragment-invalid.expanded.jsonld | 4 +- ...ata-type-fragment-invalid.flattened.jsonld | 4 +- .../ref-data-type-fragment.expanded.jsonld | 4 +- .../ref-data-type-fragment.flattened.jsonld | 4 +- .../ref-external-yaml.expanded.jsonld | 4 +- .../ref-external-yaml.flattened.jsonld | 4 +- .../ref-type-in-library.expanded.jsonld | 4 +- .../ref-type-in-library.flattened.jsonld | 4 +- .../async20/rpc-server.expanded.jsonld | 42 +++-- .../async20/rpc-server.flattened.jsonld | 50 +++--- ...external-ref-message-trait.expanded.jsonld | 4 +- ...xternal-ref-message-trait.flattened.jsonld | 4 +- ...ternal-ref-operation-trait.expanded.jsonld | 4 +- ...ernal-ref-operation-trait.flattened.jsonld | 4 +- 83 files changed, 1138 insertions(+), 822 deletions(-) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/Async20EndpointParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/Async20EndpointParser.scala index 69e9d12d01..2730528114 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/Async20EndpointParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/Async20EndpointParser.scala @@ -49,7 +49,7 @@ class Async20EndpointParser(entry: YMapEntry, parentId: String, collector: List[ "subscribe|publish", entries => { val operations = parseOperations(entries) - endpoint.setWithoutId(EndPointModel.Operations, AmfArray(operations, Annotations(map)), Annotations(map)) + endpoint.setWithoutId(EndPointModel.Operations, AmfArray(operations, Annotations.virtual()), Annotations.virtual()) } ) diff --git a/amf-cli/shared/src/test/resources/render/governance-mode/async/api.expanded.jsonld b/amf-cli/shared/src/test/resources/render/governance-mode/async/api.expanded.jsonld index 08ddea83da..8b26552c82 100644 --- a/amf-cli/shared/src/test/resources/render/governance-mode/async/api.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/render/governance-mode/async/api.expanded.jsonld @@ -123,6 +123,29 @@ } ] } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "amf://id#6/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "amf://id#6/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ] + } ] } ] diff --git a/amf-cli/shared/src/test/resources/render/governance-mode/async/api.flattened.jsonld b/amf-cli/shared/src/test/resources/render/governance-mode/async/api.flattened.jsonld index 2eb8e897e2..89df7fd064 100644 --- a/amf-cli/shared/src/test/resources/render/governance-mode/async/api.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/render/governance-mode/async/api.flattened.jsonld @@ -36,6 +36,11 @@ { "@id": "amf://id#7" } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "amf://id#6/source-map" + } ] }, { @@ -53,6 +58,17 @@ ], "http://a.ml/vocabularies/apiContract#operationId": "subscribe operation" }, + { + "@id": "amf://id#6/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "amf://id#6/source-map/virtual-element/element_0" + } + ] + }, { "@id": "amf://id#8", "@type": [ @@ -72,6 +88,11 @@ } ] }, + { + "@id": "amf://id#6/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, { "@id": "amf://id#9", "@type": [ diff --git a/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.expanded.jsonld index 123473aad5..78634f0e0c 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.expanded.jsonld @@ -403,9 +403,11 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(23,0)-(31,0)]", - "#3": "[(22,2)-(31,0)]", - "core:description": "[(23,4)-(24,0)]" + "core:description": "[(23,4)-(24,0)]", + "#3": "[(22,2)-(31,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.flattened.jsonld index 90aa17a6d3..8210f3419e 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/channel-servers-implicit.flattened.jsonld @@ -137,9 +137,11 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(23,0)-(31,0)]", - "#3": "[(22,2)-(31,0)]", - "core:description": "[(23,4)-(24,0)]" + "core:description": "[(23,4)-(24,0)]", + "#3": "[(22,2)-(31,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.expanded.jsonld index 0379c0ddaf..35eb401baf 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.expanded.jsonld @@ -372,8 +372,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(8,0)-(24,0)]", "#3": "[(7,2)-(24,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, @@ -710,8 +712,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(25,0)-(38,26)]", "#16": "[(24,2)-(38,26)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.flattened.jsonld index 7f7a6caaf8..6a95d9269e 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/content-type-override.flattened.jsonld @@ -65,8 +65,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(8,0)-(24,0)]", "#3": "[(7,2)-(24,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, @@ -91,8 +93,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(25,0)-(38,26)]", "#16": "[(24,2)-(38,26)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.expanded.jsonld index 133c662f4b..f436ddc4d0 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.expanded.jsonld @@ -853,8 +853,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(31,0)]", "#3": "[(6,2)-(31,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.flattened.jsonld index 3842fff5fa..2139920c91 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/message-example-propagation.flattened.jsonld @@ -51,8 +51,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(31,0)]", "#3": "[(6,2)-(31,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/async20/message-references.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/message-references.expanded.jsonld index 11bb4d2e9b..87cffb38fb 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/message-references.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/message-references.expanded.jsonld @@ -264,8 +264,10 @@ } ], "smaps": { + "virtual-element": { + "apiContract:supportedOperation": "true" + }, "lexical": { - "apiContract:supportedOperation": "[(24,0)-(28,0)]", "#9": "[(23,2)-(28,0)]" } } @@ -507,8 +509,10 @@ } ], "smaps": { + "virtual-element": { + "apiContract:supportedOperation": "true" + }, "lexical": { - "apiContract:supportedOperation": "[(29,0)-(31,49)]", "#13": "[(28,2)-(31,49)]" } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/message-references.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/message-references.flattened.jsonld index d3aef65f73..2395c0ca93 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/message-references.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/message-references.flattened.jsonld @@ -49,8 +49,10 @@ } ], "smaps": { + "virtual-element": { + "apiContract:supportedOperation": "true" + }, "lexical": { - "apiContract:supportedOperation": "[(24,0)-(28,0)]", "#9": "[(23,2)-(28,0)]" } } @@ -68,8 +70,10 @@ } ], "smaps": { + "virtual-element": { + "apiContract:supportedOperation": "true" + }, "lexical": { - "apiContract:supportedOperation": "[(29,0)-(31,49)]", "#13": "[(28,2)-(31,49)]" } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging-and-removed.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging-and-removed.expanded.jsonld index 2a6d920745..5ec96a1401 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging-and-removed.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging-and-removed.expanded.jsonld @@ -120,8 +120,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(15,0)]", "#/async-api/endpoint/aChannel": "[(6,2)-(15,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging-and-removed.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging-and-removed.flattened.jsonld index dd8c53c7dd..9239efc6d5 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging-and-removed.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging-and-removed.flattened.jsonld @@ -51,8 +51,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(15,0)]", "#/async-api/endpoint/aChannel": "[(6,2)-(15,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.expanded.jsonld index cf30e52dcb..4611a2f3db 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.expanded.jsonld @@ -217,8 +217,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(15,0)]", "#7": "[(6,2)-(15,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.flattened.jsonld index 96484ce505..82e1e289b6 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/message-trait-merging.flattened.jsonld @@ -51,8 +51,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(15,0)]", "#7": "[(6,2)-(15,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, 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 d80675041e..ba85183f48 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 @@ -80,8 +80,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(14,0)]", "#/async-api/endpoint/someChannel": "[(6,2)-(14,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } 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 14e8e874ed..c864373dbd 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 @@ -51,8 +51,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(14,0)]", "#/async-api/endpoint/someChannel": "[(6,2)-(14,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.expanded.jsonld index a7aba004c7..23559e37ea 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.expanded.jsonld @@ -183,8 +183,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(14,0)]", "#7": "[(6,2)-(14,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.flattened.jsonld index 4f3e1ddd13..733ec97924 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging.flattened.jsonld @@ -51,8 +51,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(14,0)]", "#7": "[(6,2)-(14,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.expanded.jsonld index 5241272d9b..3b70b1e8aa 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.expanded.jsonld @@ -292,30 +292,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.yaml#/async-api/endpoint/some-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(14,38)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.yaml#/async-api/endpoint/some-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,0)-(14,38)]" + "@value": "[(7,2)-(14,38)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.flattened.jsonld index d3bab0dff1..176474b4c2 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.flattened.jsonld @@ -91,10 +91,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0" } @@ -152,14 +154,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.yaml#/async-api/endpoint/some-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(14,38)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,0)-(14,38)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.yaml#/async-api/endpoint/some-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(14,38)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings", diff --git a/amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.expanded.jsonld index 6419487cb3..a9da0e7010 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.expanded.jsonld @@ -554,30 +554,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.yaml#/async-api/endpoint/some-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(24,19)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.yaml#/async-api/endpoint/some-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,0)-(24,19)]" + "@value": "[(7,2)-(24,19)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.flattened.jsonld index c780bd68fb..82a3927e19 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.flattened.jsonld @@ -109,10 +109,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0" } @@ -201,14 +203,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.yaml#/async-api/endpoint/some-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(24,19)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,0)-(24,19)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.yaml#/async-api/endpoint/some-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(24,19)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/amqp-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/amqp091-operation-010", diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.expanded.jsonld index 14fbaa6b9b..fd9baf0fc2 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.expanded.jsonld @@ -1409,30 +1409,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,2)-(40,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,0)-(40,0)]" + "@value": "[(18,2)-(40,0)]" } ] } @@ -2558,9 +2560,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" @@ -2568,12 +2570,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,0)-(75,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -2599,7 +2603,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel" diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.flattened.jsonld index d1413d6476..5771534a6c 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.flattened.jsonld @@ -203,10 +203,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/lexical/element_0" } @@ -287,18 +289,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_3" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_1" } ] }, @@ -436,14 +440,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(40,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,0)-(40,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/user%2Fsarasa", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(40,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/ibmmq-channel", @@ -580,12 +584,12 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(51,0)-(75,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(61,4)-(62,0)]" }, @@ -595,7 +599,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(51,4)-(61,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.1-all.yaml#/async-api/endpoint/some-other-channel", "http://a.ml/vocabularies/document-source-maps#value": "[(50,2)-(75,0)]" }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.expanded.jsonld index 18eaef9b78..984b85a11c 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.expanded.jsonld @@ -1409,30 +1409,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,2)-(40,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,0)-(40,0)]" + "@value": "[(18,2)-(40,0)]" } ] } @@ -2553,9 +2555,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" @@ -2563,33 +2565,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,0)-(74,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#binding" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(51,4)-(61,0)]" + "@value": "[(50,2)-(74,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel" + "@value": "http://a.ml/vocabularies/apiBinding#binding" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(50,2)-(74,0)]" + "@value": "[(51,4)-(61,0)]" } ] } @@ -3461,9 +3465,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" @@ -3471,12 +3475,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(75,0)-(95,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -3502,7 +3508,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel" diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.flattened.jsonld index 041bf9f659..2b9d53ee62 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.flattened.jsonld @@ -227,10 +227,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/lexical/element_0" } @@ -311,15 +313,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_1" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_0" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_1" } ] }, @@ -367,18 +371,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_3" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_1" } ] }, @@ -516,14 +522,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(40,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,0)-(40,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/user%2Fsarasa", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(40,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-channel/channel-bindings/bindings/ibmmq-channel", @@ -660,20 +666,20 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(51,0)-(74,0)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#binding", - "http://a.ml/vocabularies/document-source-maps#value": "[(51,4)-(61,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel", "http://a.ml/vocabularies/document-source-maps#value": "[(50,2)-(74,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#binding", + "http://a.ml/vocabularies/document-source-maps#value": "[(51,4)-(61,0)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/supportedOperation/publish/expects/request", "@type": [ @@ -762,12 +768,12 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(75,0)-(95,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(80,4)-(81,0)]" }, @@ -777,7 +783,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(75,4)-(80,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.2-all.yaml#/async-api/endpoint/another-channel", "http://a.ml/vocabularies/document-source-maps#value": "[(74,2)-(95,0)]" }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.expanded.jsonld index ec795e1bca..a42e6b5384 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.expanded.jsonld @@ -1409,30 +1409,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(18,2)-(40,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(19,0)-(40,0)]" + "@value": "[(18,2)-(40,0)]" } ] } @@ -2261,9 +2263,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" @@ -2271,12 +2273,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(41,0)-(65,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -2302,7 +2306,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel" @@ -3182,9 +3186,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" @@ -3192,12 +3196,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(66,0)-(86,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -3223,7 +3229,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel" @@ -3719,30 +3725,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(86,2)-(104,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,0)-(104,0)]" + "@value": "[(86,2)-(104,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.flattened.jsonld index b529523f2b..ce3a7196b6 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.flattened.jsonld @@ -230,10 +230,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_0" } @@ -283,18 +285,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_3" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1" } ] }, @@ -342,18 +346,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_3" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1" } ] }, @@ -379,10 +385,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_0" } @@ -522,14 +530,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(40,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(19,0)-(40,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/first-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(40,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request", @@ -622,12 +630,12 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(41,0)-(65,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(64,4)-(65,0)]" }, @@ -637,7 +645,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(41,4)-(51,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/second-channel", "http://a.ml/vocabularies/document-source-maps#value": "[(40,2)-(65,0)]" }, @@ -729,12 +737,12 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(66,0)-(86,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(71,4)-(72,0)]" }, @@ -744,7 +752,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(66,4)-(71,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/third-channel", "http://a.ml/vocabularies/document-source-maps#value": "[(65,2)-(86,0)]" }, @@ -780,14 +788,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(86,2)-(104,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(87,0)-(104,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/endpoint/forth-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(86,2)-(104,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.3-all.yaml#/async-api/server/some.com/server-bindings/bindings/ibmmq-server/source-map", diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.expanded.jsonld index bce4894d9b..382582c58a 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.expanded.jsonld @@ -3367,30 +3367,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,2)-(65,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,0)-(65,0)]" + "@value": "[(39,2)-(65,0)]" } ] } @@ -4219,9 +4221,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" @@ -4229,12 +4231,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(66,0)-(90,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -4260,7 +4264,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel" @@ -5140,9 +5144,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" @@ -5150,12 +5154,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(91,0)-(111,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -5181,7 +5187,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel" @@ -5677,30 +5683,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(111,2)-(129,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(112,0)-(129,0)]" + "@value": "[(111,2)-(129,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.flattened.jsonld index ef91ffe713..945b168928 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.flattened.jsonld @@ -401,10 +401,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_0" } @@ -454,18 +456,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_3" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1" } ] }, @@ -513,18 +517,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_3" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1" } ] }, @@ -550,10 +556,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_0" } @@ -914,14 +922,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,2)-(65,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(40,0)-(65,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/first-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,2)-(65,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request", @@ -1014,12 +1022,12 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(66,0)-(90,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(89,4)-(90,0)]" }, @@ -1029,7 +1037,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(66,4)-(76,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/second-channel", "http://a.ml/vocabularies/document-source-maps#value": "[(65,2)-(90,0)]" }, @@ -1121,12 +1129,12 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(91,0)-(111,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(96,4)-(97,0)]" }, @@ -1136,7 +1144,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(91,4)-(96,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/third-channel", "http://a.ml/vocabularies/document-source-maps#value": "[(90,2)-(111,0)]" }, @@ -1172,14 +1180,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(111,2)-(129,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(112,0)-(129,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/endpoint/forth-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(111,2)-(129,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.4-all.yaml#/async-api/server/some.com/variable/parameter/path/environment/scalar/environment/scalar_1", diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.expanded.jsonld index 7e463846c7..af2302084a 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.expanded.jsonld @@ -3367,30 +3367,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(39,2)-(65,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(40,0)-(65,0)]" + "@value": "[(39,2)-(65,0)]" } ] } @@ -4219,9 +4221,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" @@ -4229,12 +4231,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(66,0)-(90,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -4260,7 +4264,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel" @@ -5140,9 +5144,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" @@ -5150,12 +5154,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(91,0)-(111,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -5181,7 +5187,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel" @@ -5677,30 +5683,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(111,2)-(129,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(112,0)-(129,0)]" + "@value": "[(111,2)-(129,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.flattened.jsonld index ad1f9df3b0..a4bcb6c50f 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.flattened.jsonld @@ -420,10 +420,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_0" } @@ -473,18 +475,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_3" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1" } ] }, @@ -532,18 +536,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_3" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1" } ] }, @@ -569,10 +575,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_0" } @@ -964,14 +972,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(39,2)-(65,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(40,0)-(65,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/first-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,2)-(65,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request", @@ -1064,12 +1072,12 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(66,0)-(90,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(89,4)-(90,0)]" }, @@ -1079,7 +1087,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(66,4)-(76,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/second-channel", "http://a.ml/vocabularies/document-source-maps#value": "[(65,2)-(90,0)]" }, @@ -1171,12 +1179,12 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(91,0)-(111,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(96,4)-(97,0)]" }, @@ -1186,7 +1194,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(91,4)-(96,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/third-channel", "http://a.ml/vocabularies/document-source-maps#value": "[(90,2)-(111,0)]" }, @@ -1222,14 +1230,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(111,2)-(129,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(112,0)-(129,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/forth-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(111,2)-(129,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.5-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-channel-010", diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.expanded.jsonld index dc913d7b2c..d3861212cc 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.expanded.jsonld @@ -3583,30 +3583,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(46,2)-(72,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(47,0)-(72,0)]" + "@value": "[(46,2)-(72,0)]" } ] } @@ -4435,9 +4437,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" @@ -4445,12 +4447,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(73,0)-(97,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -4476,7 +4480,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel" @@ -5356,9 +5360,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" @@ -5366,12 +5370,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(98,0)-(118,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -5397,7 +5403,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel" @@ -5893,30 +5899,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(118,2)-(136,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(119,0)-(136,0)]" + "@value": "[(118,2)-(136,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.flattened.jsonld index 91738c0184..c763115f48 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.flattened.jsonld @@ -498,10 +498,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_0" } @@ -551,18 +553,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_3" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1" } ] }, @@ -610,18 +614,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_3" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1" } ] }, @@ -647,10 +653,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_0" } @@ -1126,14 +1134,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(46,2)-(72,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(47,0)-(72,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/first-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(46,2)-(72,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/supportedOperation/publish/expects/request", @@ -1226,12 +1234,12 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(73,0)-(97,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(96,4)-(97,0)]" }, @@ -1241,7 +1249,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(73,4)-(83,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/second-channel", "http://a.ml/vocabularies/document-source-maps#value": "[(72,2)-(97,0)]" }, @@ -1333,12 +1341,12 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(98,0)-(118,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(103,4)-(104,0)]" }, @@ -1348,7 +1356,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(98,4)-(103,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/third-channel", "http://a.ml/vocabularies/document-source-maps#value": "[(97,2)-(118,0)]" }, @@ -1384,14 +1392,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(118,2)-(136,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(119,0)-(136,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/forth-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(118,2)-(136,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/asyncApi-2.6-all.yaml#/async-api/endpoint/topic-proto-schema/channel-bindings/bindings/googlepubsub-channel-010", diff --git a/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.expanded.jsonld index e1d2a204eb..3bf93aa0d6 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.expanded.jsonld @@ -451,9 +451,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" @@ -461,12 +461,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(10,0)-(22,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -492,7 +494,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel" diff --git a/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.flattened.jsonld index 9b56a21c45..1648a06ac1 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/channel-parameters.flattened.jsonld @@ -128,18 +128,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_3" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1" } ] }, @@ -251,12 +253,12 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(10,0)-(22,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(12,0)]" }, @@ -266,7 +268,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(12,4)-(18,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/channel-parameters.yaml#/async-api/endpoint/some-channel", "http://a.ml/vocabularies/document-source-maps#value": "[(9,2)-(22,0)]" }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/components/async-components.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/components/async-components.expanded.jsonld index a05ff9f5df..698a19d82e 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/components/async-components.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/components/async-components.expanded.jsonld @@ -1145,30 +1145,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#parameter" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(124,4)-(127,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "http://a.ml/vocabularies/apiContract#parameter" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(122,0)-(142,0)]" + "@value": "[(124,4)-(127,0)]" } ] }, @@ -1186,7 +1188,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured" diff --git a/amf-cli/shared/src/test/resources/validations/async20/components/async-components.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/components/async-components.flattened.jsonld index cc09078bb5..60eb1f3f40 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/components/async-components.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/components/async-components.flattened.jsonld @@ -257,18 +257,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_3" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_1" } ] }, @@ -523,14 +525,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#parameter", - "http://a.ml/vocabularies/document-source-maps#value": "[(124,4)-(127,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(122,0)-(142,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#parameter", + "http://a.ml/vocabularies/document-source-maps#value": "[(124,4)-(127,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_0", @@ -538,7 +540,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(122,4)-(124,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/async-components.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2Flighting%2Fmeasured", "http://a.ml/vocabularies/document-source-maps#value": "[(121,2)-(142,0)]" }, 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 ec92f53cf7..7b09a9f171 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 @@ -207,30 +207,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/endpoint/someChannel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/endpoint/someChannel/source-map/virtual-element/element_0", "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/endpoint/someChannel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(10,59)]" + "@value": "true" } ] - }, + } + ], + "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/endpoint/someChannel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/endpoint/someChannel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,0)-(10,59)]" + "@value": "[(6,2)-(10,59)]" } ] } 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 11bed6cfe0..740e071468 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 @@ -92,10 +92,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/endpoint/someChannel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/endpoint/someChannel/source-map/virtual-element/element_0" + } + ], + "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/endpoint/someChannel/source-map/lexical/element_0" } @@ -156,14 +158,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/endpoint/someChannel/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/endpoint/someChannel", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(10,59)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/endpoint/someChannel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/endpoint/someChannel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,0)-(10,59)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/endpoint/someChannel", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(10,59)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/endpoint/someChannel/supportedOperation/publish/something/extends/external-traits.json%23%2FfirstOperationTrait/source-map", 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 5fdd5787c7..a69dec6c24 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 @@ -354,30 +354,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(15,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,0)-(15,0)]" + "@value": "[(6,2)-(15,0)]" } ] } 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 ecf24537c1..1dfb1256f4 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 @@ -92,10 +92,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/source-map/lexical/element_0" } @@ -164,14 +166,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/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/endpoint/aChannel", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(15,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,0)-(15,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(15,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/endpoint/aChannel/supportedOperation/publish/something/expects/request/payload/default", 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 a07c3a8432..3a42a75f75 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 @@ -171,30 +171,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/endpoint/someChannel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/endpoint/someChannel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/endpoint/someChannel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(6,2)-(11,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/endpoint/someChannel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/endpoint/someChannel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,0)-(11,0)]" + "@value": "[(6,2)-(11,0)]" } ] } 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 94376956b6..b10fef1bf7 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 @@ -92,10 +92,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/endpoint/someChannel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/endpoint/someChannel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/endpoint/someChannel/source-map/lexical/element_0" } @@ -158,14 +160,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/endpoint/someChannel/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/endpoint/someChannel", - "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(11,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/endpoint/someChannel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/endpoint/someChannel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,0)-(11,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/endpoint/someChannel", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(11,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/endpoint/someChannel/supportedOperation/publish/something/extends/default-operation/source-map", diff --git a/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.expanded.jsonld index cc2a54617c..7b79915b46 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.expanded.jsonld @@ -358,30 +358,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(14,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,0)-(14,0)]" + "@value": "[(7,2)-(14,0)]" } ] } @@ -2307,30 +2309,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(46,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,0)-(46,0)]" + "@value": "[(14,2)-(46,0)]" } ] } @@ -2667,30 +2671,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(46,2)-(54,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(47,0)-(54,0)]" + "@value": "[(46,2)-(54,0)]" } ] } @@ -3013,30 +3019,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(54,2)-(62,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(55,0)-(62,0)]" + "@value": "[(54,2)-(62,0)]" } ] } @@ -3748,30 +3756,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(62,2)-(79,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(63,0)-(79,0)]" + "@value": "[(62,2)-(79,0)]" } ] } @@ -4035,30 +4045,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(79,2)-(86,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(80,0)-(86,0)]" + "@value": "[(79,2)-(86,0)]" } ] } @@ -4526,30 +4538,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(86,2)-(99,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(87,0)-(99,0)]" + "@value": "[(86,2)-(99,0)]" } ] } @@ -5152,30 +5166,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(99,2)-(114,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(100,0)-(114,0)]" + "@value": "[(99,2)-(114,0)]" } ] } @@ -6266,30 +6282,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(114,2)-(135,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(115,0)-(135,0)]" + "@value": "[(114,2)-(135,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.flattened.jsonld index d64e95d2b7..2ced1d0819 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.flattened.jsonld @@ -259,10 +259,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/source-map/lexical/element_0" } @@ -292,10 +294,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/source-map/lexical/element_0" } @@ -325,10 +329,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/source-map/lexical/element_0" } @@ -358,10 +364,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/source-map/lexical/element_0" } @@ -391,10 +399,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/source-map/lexical/element_0" } @@ -424,10 +434,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/source-map/lexical/element_0" } @@ -457,10 +469,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/source-map/lexical/element_0" } @@ -490,10 +504,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/source-map/lexical/element_0" } @@ -523,10 +539,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/source-map/lexical/element_0" } @@ -586,14 +604,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(14,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,0)-(14,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(14,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/supportedOperation/subscribe/returns/resp/default-response", @@ -629,14 +647,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,2)-(46,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,0)-(46,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/conditional-subschemas", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,2)-(46,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/supportedOperation/subscribe/returns/resp/default-response", @@ -672,14 +690,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction", - "http://a.ml/vocabularies/document-source-maps#value": "[(46,2)-(54,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(47,0)-(54,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/property-names-restriction", + "http://a.ml/vocabularies/document-source-maps#value": "[(46,2)-(54,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/supportedOperation/subscribe/returns/resp/default-response", @@ -715,14 +733,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key", - "http://a.ml/vocabularies/document-source-maps#value": "[(54,2)-(62,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(55,0)-(62,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/contains-key", + "http://a.ml/vocabularies/document-source-maps#value": "[(54,2)-(62,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/supportedOperation/subscribe/returns/resp/default-response", @@ -758,14 +776,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items", - "http://a.ml/vocabularies/document-source-maps#value": "[(62,2)-(79,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(63,0)-(79,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/additional-items", + "http://a.ml/vocabularies/document-source-maps#value": "[(62,2)-(79,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/supportedOperation/subscribe/returns/resp/default-response", @@ -801,14 +819,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments", - "http://a.ml/vocabularies/document-source-maps#value": "[(79,2)-(86,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(80,0)-(86,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/using-comments", + "http://a.ml/vocabularies/document-source-maps#value": "[(79,2)-(86,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/supportedOperation/subscribe/returns/resp/default-response", @@ -844,14 +862,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level", - "http://a.ml/vocabularies/document-source-maps#value": "[(86,2)-(99,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(87,0)-(99,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/readOnly-writeOnly-schema-level", + "http://a.ml/vocabularies/document-source-maps#value": "[(86,2)-(99,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/supportedOperation/subscribe/returns/resp/default-response", @@ -887,14 +905,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues", - "http://a.ml/vocabularies/document-source-maps#value": "[(99,2)-(114,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(100,0)-(114,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/exclusiveWithValues", + "http://a.ml/vocabularies/document-source-maps#value": "[(99,2)-(114,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/supportedOperation/subscribe/returns/resp/default-response", @@ -930,14 +948,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord", - "http://a.ml/vocabularies/document-source-maps#value": "[(114,2)-(135,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(115,0)-(135,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/notKeyWord", + "http://a.ml/vocabularies/document-source-maps#value": "[(114,2)-(135,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/draft-7-schemas.yaml#/async-api/endpoint/const-key-word/supportedOperation/subscribe/returns/resp/default-response/payload/default", diff --git a/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.expanded.jsonld index d5869d4d3d..9e8abec66f 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.expanded.jsonld @@ -2974,9 +2974,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" @@ -2984,12 +2984,14 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,0)-(69,22)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -3015,7 +3017,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel" diff --git a/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.flattened.jsonld index 693b20c677..36bcfafb9f 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.flattened.jsonld @@ -307,18 +307,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_3" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1" } ] }, @@ -856,12 +858,12 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,0)-(69,22)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(41,4)-(42,0)]" }, @@ -871,7 +873,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(27,4)-(41,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/empty-binding-and-annotations.yaml#/async-api/endpoint/some-channel", "http://a.ml/vocabularies/document-source-maps#value": "[(26,2)-(69,22)]" }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.expanded.jsonld index c09939d5fc..23db983a70 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.expanded.jsonld @@ -496,30 +496,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(16,30)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,0)-(16,30)]" + "@value": "[(7,2)-(16,30)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.flattened.jsonld index 409f6f37e8..cb03397b31 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/http-message-binding.flattened.jsonld @@ -91,10 +91,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0" } @@ -152,14 +154,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(16,30)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,0)-(16,30)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(16,30)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings", diff --git a/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.expanded.jsonld index 5b4da80176..e3b17a35bf 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.expanded.jsonld @@ -483,30 +483,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(18,28)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,0)-(18,28)]" + "@value": "[(7,2)-(18,28)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.flattened.jsonld index cf9d273567..5b7af4e737 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.flattened.jsonld @@ -89,10 +89,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0" } @@ -150,14 +152,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(18,28)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,0)-(18,28)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(18,28)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/http-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/http-operation-010", diff --git a/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.expanded.jsonld index a826afff78..2e3c5a88fa 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.expanded.jsonld @@ -362,30 +362,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(15,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,0)-(15,0)]" + "@value": "[(7,2)-(15,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.flattened.jsonld index 38029d6f3c..ffabf10ecc 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding.flattened.jsonld @@ -91,10 +91,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0" } @@ -152,14 +154,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(15,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,0)-(15,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(15,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-message-binding-010.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings", diff --git a/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.expanded.jsonld index 22a5b12593..a018ac916c 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.expanded.jsonld @@ -496,30 +496,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(17,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,0)-(17,0)]" + "@value": "[(7,2)-(17,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.flattened.jsonld index 34b8901c3b..7f4a907efe 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.flattened.jsonld @@ -89,10 +89,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0" } @@ -150,14 +152,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(17,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,0)-(17,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(17,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/kafka-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/kafka-operation", diff --git a/amf-cli/shared/src/test/resources/validations/async20/message-obj.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/message-obj.expanded.jsonld index 2b1f73100d..99a46c8e2f 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/message-obj.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/message-obj.expanded.jsonld @@ -2012,30 +2012,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(11,2)-(47,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(12,0)-(47,0)]" + "@value": "[(11,2)-(47,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/message-obj.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/message-obj.flattened.jsonld index 36243d067c..ba2a3c2ea4 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/message-obj.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/message-obj.flattened.jsonld @@ -136,10 +136,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_0" } @@ -258,14 +260,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured", - "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(47,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(12,0)-(47,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured", + "http://a.ml/vocabularies/document-source-maps#value": "[(11,2)-(47,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/message-obj.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/expects/request/payload/application%2Fjson", diff --git a/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.expanded.jsonld index f3ef02e96c..af8ccb9bec 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.expanded.jsonld @@ -256,30 +256,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(14,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,0)-(14,0)]" + "@value": "[(7,2)-(14,0)]" } ] } @@ -674,30 +676,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(14,2)-(27,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(15,0)-(27,0)]" + "@value": "[(14,2)-(27,0)]" } ] } @@ -1010,30 +1014,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(27,2)-(39,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(28,0)-(39,0)]" + "@value": "[(27,2)-(39,0)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.flattened.jsonld index 8ef148a5ae..58a9974935 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.flattened.jsonld @@ -133,10 +133,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0" } @@ -166,10 +168,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/source-map/lexical/element_0" } @@ -199,10 +203,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_0" } @@ -260,14 +266,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(14,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,0)-(14,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(14,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/supportedOperation/publish/expects/request", @@ -301,14 +307,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(14,2)-(27,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(15,0)-(27,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/other-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(14,2)-(27,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/supportedOperation/publish/expects/request", @@ -342,14 +348,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(27,2)-(39,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(28,0)-(39,0)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-other-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,2)-(39,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-message-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/expects/request/message-bindings", diff --git a/amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.expanded.jsonld index 4c59a95309..d494213555 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.expanded.jsonld @@ -247,30 +247,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(12,23)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,0)-(12,23)]" + "@value": "[(7,2)-(12,23)]" } ] } diff --git a/amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.flattened.jsonld index 3ba3aaef76..e5cbe21b9c 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.flattened.jsonld @@ -89,10 +89,12 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0" } @@ -150,14 +152,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel", - "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(12,23)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,0)-(12,23)]" + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel", + "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(12,23)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/mqtt-operation-binding.yaml#/async-api/endpoint/some-channel/supportedOperation/publish/operation-bindings/bindings/mqtt-operation-010", 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 7f4dfec00d..faccd5314c 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 @@ -701,43 +701,45 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/core#description" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,4)-(10,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(8,0)-(30,0)]" + "@value": "[(7,2)-(30,0)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured" + "@value": "http://a.ml/vocabularies/core#description" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(7,2)-(30,0)]" + "@value": "[(8,4)-(10,0)]" } ] } 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 b00222d26f..96ae5e96d3 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 @@ -126,15 +126,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_1" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_0" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_1" } ] }, @@ -274,20 +276,20 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(10,0)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(8,0)-(30,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/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/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured", "http://a.ml/vocabularies/document-source-maps#value": "[(7,2)-(30,0)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", + "http://a.ml/vocabularies/document-source-maps#value": "[(8,4)-(10,0)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/endpoint/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/supportedOperation/publish/some%20unique%20id/creative-work/www.some-url.com/source-map", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.expanded.jsonld index 3582a69896..1798a8eb4a 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.expanded.jsonld @@ -196,8 +196,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(12,0)-(19,0)]", "#14": "[(11,2)-(19,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.flattened.jsonld index 6f748da364..54e14ac27e 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/chained-include.flattened.jsonld @@ -51,8 +51,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(12,0)-(19,0)]", "#14": "[(11,2)-(19,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.expanded.jsonld index 416c00d468..a3aeb5f7e0 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.expanded.jsonld @@ -127,8 +127,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(12,0)-(16,0)]", "#9": "[(11,2)-(16,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.flattened.jsonld index fbd09b10cb..ffa6edf141 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/include-root-payload.flattened.jsonld @@ -51,8 +51,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(12,0)-(16,0)]", "#9": "[(11,2)-(16,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.expanded.jsonld index 396d429053..cd6bf5a0cf 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.expanded.jsonld @@ -121,8 +121,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(13,0)-(18,0)]", "#7": "[(12,2)-(18,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.flattened.jsonld index e82300d71b..7c61a0ceec 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment-invalid.flattened.jsonld @@ -51,8 +51,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(13,0)-(18,0)]", "#7": "[(12,2)-(18,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment.expanded.jsonld index 16f4d61fb9..fdd6141b59 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment.expanded.jsonld @@ -127,8 +127,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(12,0)]", "#8": "[(6,2)-(12,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment.flattened.jsonld index 1b6d1f656b..e1564ba30e 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-data-type-fragment.flattened.jsonld @@ -51,8 +51,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(12,0)]", "#8": "[(6,2)-(12,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-external-yaml.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-external-yaml.expanded.jsonld index 29ea9d74eb..e61b64e370 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-external-yaml.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-external-yaml.expanded.jsonld @@ -160,8 +160,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(12,0)]", "#6": "[(6,2)-(12,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-external-yaml.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-external-yaml.flattened.jsonld index 26a258ab75..c392835f50 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-external-yaml.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-external-yaml.flattened.jsonld @@ -51,8 +51,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(12,0)]", "#6": "[(6,2)-(12,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.expanded.jsonld index 3d89a7d332..a49d224397 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.expanded.jsonld @@ -127,8 +127,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(12,0)]", "#14": "[(6,2)-(12,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } diff --git a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.flattened.jsonld index 1ef89de5da..68d7c3997e 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/raml-data-type-references/ref-type-in-library.flattened.jsonld @@ -51,8 +51,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(7,0)-(12,0)]", "#14": "[(6,2)-(12,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, 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 0dfba2534c..fd813e0f53 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 @@ -1292,30 +1292,32 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#parameter" + "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,4)-(22,0)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" + "@value": "http://a.ml/vocabularies/apiContract#parameter" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(17,0)-(43,0)]" + "@value": "[(17,4)-(22,0)]" } ] }, @@ -1333,7 +1335,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/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/endpoint/%7Bqueue%7D" @@ -2527,9 +2529,9 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#supportedOperation" @@ -2537,33 +2539,35 @@ ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,0)-(65,23)]" + "@value": "true" } ] - }, + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "http://a.ml/vocabularies/apiBinding#binding" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(44,4)-(49,0)]" + "@value": "[(43,2)-(65,23)]" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue" + "@value": "http://a.ml/vocabularies/apiBinding#binding" } ], "http://a.ml/vocabularies/document-source-maps#value": [ { - "@value": "[(43,2)-(65,23)]" + "@value": "[(44,4)-(49,0)]" } ] } 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 d2c7595531..3c10645518 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 @@ -222,18 +222,20 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], - "http://a.ml/vocabularies/document-source-maps#lexical": [ + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_3" - }, + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/virtual-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_2" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_1" } ] }, @@ -279,15 +281,17 @@ "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], + "http://a.ml/vocabularies/document-source-maps#virtual-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/virtual-element/element_0" + } + ], "http://a.ml/vocabularies/document-source-maps#lexical": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/lexical/element_1" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/lexical/element_0" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/lexical/element_1" } ] }, @@ -488,14 +492,14 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#parameter", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,4)-(22,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/virtual-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(17,0)-(43,0)]" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#parameter", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,4)-(22,0)]" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_0", @@ -503,7 +507,7 @@ "http://a.ml/vocabularies/document-source-maps#value": "[(22,4)-(27,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/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/endpoint/%7Bqueue%7D", "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(43,0)]" }, @@ -583,20 +587,20 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/virtual-element/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#supportedOperation", - "http://a.ml/vocabularies/document-source-maps#value": "[(44,0)-(65,23)]" - }, - { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/lexical/element_0", - "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#binding", - "http://a.ml/vocabularies/document-source-maps#value": "[(44,4)-(49,0)]" + "http://a.ml/vocabularies/document-source-maps#value": "true" }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/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/endpoint/rpc_queue", "http://a.ml/vocabularies/document-source-maps#value": "[(43,2)-(65,23)]" }, + { + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/rpc_queue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#binding", + "http://a.ml/vocabularies/document-source-maps#value": "[(44,4)-(49,0)]" + }, { "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/endpoint/%7Bqueue%7D/supportedOperation/subscribe/sendSumResult/returns/resp/default-response/payload/default", "@type": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.expanded.jsonld index 3f6c81953a..186ca7c237 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.expanded.jsonld @@ -204,8 +204,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(9,0)-(18,0)]", "#13": "[(8,2)-(18,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.flattened.jsonld index a75033c486..3407d8353d 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-message-trait.flattened.jsonld @@ -51,8 +51,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(9,0)-(18,0)]", "#13": "[(8,2)-(18,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.expanded.jsonld index 409acc1c40..fa22b49ef7 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.expanded.jsonld @@ -204,8 +204,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(9,0)-(18,0)]", "#7": "[(8,2)-(18,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } } diff --git a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.flattened.jsonld index df7d14a901..08332f20d4 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/validations/external-reference/external-ref-operation-trait.flattened.jsonld @@ -51,8 +51,10 @@ "apiContract:server": "true" }, "lexical": { - "apiContract:supportedOperation": "[(9,0)-(18,0)]", "#7": "[(8,2)-(18,0)]" + }, + "virtual-element": { + "apiContract:supportedOperation": "true" } } }, From 37a13107ee077887a54ffed08e9ae72234e74a7c Mon Sep 17 00:00:00 2001 From: Loose Date: Wed, 5 Jun 2024 12:22:43 -0300 Subject: [PATCH 05/30] W-15883690 - Adding lexical to server error --- .../async/parser/domain/Async20EndpointParser.scala | 2 +- .../stage/ChannelServersResolutionStage.scala | 11 ++++++++--- .../reports/async20/channel-servers.report | 6 +++--- .../resolution/async/invalid-channel-server.report | 6 +++--- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/Async20EndpointParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/Async20EndpointParser.scala index 2730528114..56d05a7dee 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/Async20EndpointParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/Async20EndpointParser.scala @@ -73,7 +73,7 @@ class Async22EndpointParser( entry => { val nodes = entry.value.as[YSequence].nodes val servers = nodes.map { n => - val server = Server() + val server = Server(Annotations(n)) server.setWithoutId( ServerModel.Name, AmfScalar(n.toString, Annotations(n.value)), diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/transformation/stage/ChannelServersResolutionStage.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/transformation/stage/ChannelServersResolutionStage.scala index 0d7eb98c47..8b36c5e713 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/transformation/stage/ChannelServersResolutionStage.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/transformation/stage/ChannelServersResolutionStage.scala @@ -10,6 +10,7 @@ import amf.core.client.scala.errorhandling.AMFErrorHandler import amf.core.client.scala.model.document.{BaseUnit, Document} import amf.core.client.scala.model.domain.AmfArray import amf.core.client.scala.transform.TransformationStep +import amf.core.internal.annotations.LexicalInformation import amf.core.internal.parser.domain.Annotations /** Replaces dummy servers parsed in channels with the real ones defined in the root servers object @@ -73,9 +74,13 @@ class ChannelServersResolutionStage(profile: ProfileName, val keepEditingInfo: B val nonExistentServers = endpointServers.filterNot(sv => isServerDeclared(sv, declaredServers)) nonExistentServers.foreach { sv => errorHandler.violation( - UndeclaredChannelServer, - sv, - s"Server '${sv.name.value()}' in channel '${endPoint.path.value()}' is not defined in the servers root object" + specification = UndeclaredChannelServer, + node = sv, + property = Some(EndPointModel.Servers.value.iri()), + message = + s"Server '${sv.name.value()}' in channel '${endPoint.path.value()}' is not defined in the servers root object", + lexical = Some(LexicalInformation(sv.annotations.lexical())), + location = sv.annotations.location() ) } } diff --git a/amf-cli/shared/src/test/resources/validations/reports/async20/channel-servers.report b/amf-cli/shared/src/test/resources/validations/reports/async20/channel-servers.report index 61a60084ec..4ee3e9419b 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/async20/channel-servers.report +++ b/amf-cli/shared/src/test/resources/validations/reports/async20/channel-servers.report @@ -9,6 +9,6 @@ Level: Violation Message: Server 'notDefinedServer' in channel 'users/signup' is not defined in the servers root object Severity: Violation Target: file://amf-cli/shared/src/test/resources/validations/async20/validations/channel-servers.yaml#/async-api/endpoint/users%2Fsignup/servers/null_3 - Property: - Range: - Location: + Property: http://a.ml/vocabularies/apiContract#server + Range: [(12,8)-(12,24)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/validations/channel-servers.yaml diff --git a/amf-cli/shared/src/test/resources/validations/reports/resolution/async/invalid-channel-server.report b/amf-cli/shared/src/test/resources/validations/reports/resolution/async/invalid-channel-server.report index 4995ff31b2..0057233784 100644 --- a/amf-cli/shared/src/test/resources/validations/reports/resolution/async/invalid-channel-server.report +++ b/amf-cli/shared/src/test/resources/validations/reports/resolution/async/invalid-channel-server.report @@ -9,6 +9,6 @@ Level: Violation Message: Server 'notDefinedServer' in channel 'users/signup' is not defined in the servers root object Severity: Violation Target: file://amf-cli/shared/src/test/resources/validations/async20/invalid-channel-server.yaml#/async-api/endpoint/users%2Fsignup/servers/null_3 - Property: - Range: - Location: + Property: http://a.ml/vocabularies/apiContract#server + Range: [(12,8)-(12,24)] + Location: file://amf-cli/shared/src/test/resources/validations/async20/invalid-channel-server.yaml From 997fae344e30ca7e26397c51d1dbbd08ce5b06c4 Mon Sep 17 00:00:00 2001 From: arielmirra Date: Sat, 1 Jun 2024 17:44:56 -0300 Subject: [PATCH 06/30] chore: refactor buildConfig cycle test method --- .../scala/amf/cycle/GraphQLFunSuiteCycleTests.scala | 11 ++++------- .../src/test/scala/amf/cycle/GrpcCycleTest.scala | 11 ++++------- .../src/test/scala/amf/io/BuildCycleTests.scala | 11 ++++------- .../parser/GraphQLFederationFunSuiteCycleTests.scala | 11 ++++------- .../src/test/scala/amf/parser/GrpcParserTest.scala | 11 ++++------- 5 files changed, 20 insertions(+), 35 deletions(-) diff --git a/amf-cli/shared/src/test/scala/amf/cycle/GraphQLFunSuiteCycleTests.scala b/amf-cli/shared/src/test/scala/amf/cycle/GraphQLFunSuiteCycleTests.scala index 76dd63fa2e..91fc11a5ef 100644 --- a/amf-cli/shared/src/test/scala/amf/cycle/GraphQLFunSuiteCycleTests.scala +++ b/amf-cli/shared/src/test/scala/amf/cycle/GraphQLFunSuiteCycleTests.scala @@ -8,13 +8,10 @@ import amf.io.FunSuiteCycleTests trait GraphQLFunSuiteCycleTests extends FunSuiteCycleTests { override def buildConfig(options: Option[RenderOptions], eh: Option[AMFErrorHandler]): AMFConfiguration = { - val amfConfig: AMFConfiguration = GraphQLConfiguration.GraphQL() - val renderedConfig: AMFConfiguration = options.fold(amfConfig.withRenderOptions(renderOptions()))(r => { - amfConfig.withRenderOptions(r) - }) - eh.fold(renderedConfig.withErrorHandlerProvider(() => IgnoringErrorHandler))(e => - renderedConfig.withErrorHandlerProvider(() => e) - ) + GraphQLConfiguration + .GraphQL() + .withRenderOptions(options.getOrElse(renderOptions())) + .withErrorHandlerProvider(() => eh.getOrElse(IgnoringErrorHandler)) } override def renderOptions(): RenderOptions = super.renderOptions().withPrettyPrint diff --git a/amf-cli/shared/src/test/scala/amf/cycle/GrpcCycleTest.scala b/amf-cli/shared/src/test/scala/amf/cycle/GrpcCycleTest.scala index 73933d8ad3..179d8be3f3 100644 --- a/amf-cli/shared/src/test/scala/amf/cycle/GrpcCycleTest.scala +++ b/amf-cli/shared/src/test/scala/amf/cycle/GrpcCycleTest.scala @@ -11,13 +11,10 @@ class GrpcCycleTest extends FunSuiteCycleTests { override def basePath: String = "amf-cli/shared/src/test/resources/upanddown/cycle/grpc/" override def buildConfig(options: Option[RenderOptions], eh: Option[AMFErrorHandler]): AMFConfiguration = { - val amfConfig: AMFConfiguration = GRPCConfiguration.GRPC() - val renderedConfig: AMFConfiguration = options.fold(amfConfig.withRenderOptions(renderOptions()))(r => { - amfConfig.withRenderOptions(r) - }) - eh.fold(renderedConfig.withErrorHandlerProvider(() => IgnoringErrorHandler))(e => - renderedConfig.withErrorHandlerProvider(() => e) - ) + GRPCConfiguration + .GRPC() + .withRenderOptions(options.getOrElse(renderOptions())) + .withErrorHandlerProvider(() => eh.getOrElse(IgnoringErrorHandler)) } test("Can cycle through a simple gRPC API") { 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 d87bd1244e..c935b09759 100644 --- a/amf-cli/shared/src/test/scala/amf/io/BuildCycleTests.scala +++ b/amf-cli/shared/src/test/scala/amf/io/BuildCycleTests.scala @@ -147,13 +147,10 @@ trait BuildCycleTestCommon extends FileAssertionTest { def renderOptions(): RenderOptions = RenderOptions().withoutFlattenedJsonLd protected def buildConfig(options: Option[RenderOptions], eh: Option[AMFErrorHandler]): AMFConfiguration = { - val amfConfig: AMFConfiguration = APIConfiguration.API() - val renderedConfig: AMFConfiguration = options.fold(amfConfig.withRenderOptions(renderOptions()))(r => { - amfConfig.withRenderOptions(r) - }) - eh.fold(renderedConfig.withErrorHandlerProvider(() => IgnoringErrorHandler))(e => - renderedConfig.withErrorHandlerProvider(() => e) - ) + APIConfiguration + .API() + .withRenderOptions(options.getOrElse(renderOptions())) + .withErrorHandlerProvider(() => eh.getOrElse(IgnoringErrorHandler)) } protected def buildConfig( diff --git a/amf-cli/shared/src/test/scala/amf/parser/GraphQLFederationFunSuiteCycleTests.scala b/amf-cli/shared/src/test/scala/amf/parser/GraphQLFederationFunSuiteCycleTests.scala index 7cd7e497b7..55f8f3faeb 100644 --- a/amf-cli/shared/src/test/scala/amf/parser/GraphQLFederationFunSuiteCycleTests.scala +++ b/amf-cli/shared/src/test/scala/amf/parser/GraphQLFederationFunSuiteCycleTests.scala @@ -8,13 +8,10 @@ import amf.io.FunSuiteCycleTests trait GraphQLFederationFunSuiteCycleTests extends FunSuiteCycleTests { override def buildConfig(options: Option[RenderOptions], eh: Option[AMFErrorHandler]): AMFConfiguration = { - val amfConfig: AMFConfiguration = GraphQLFederationConfiguration.GraphQLFederation() - val renderedConfig: AMFConfiguration = options.fold(amfConfig.withRenderOptions(renderOptions()))(r => { - amfConfig.withRenderOptions(r) - }) - eh.fold(renderedConfig.withErrorHandlerProvider(() => IgnoringErrorHandler))(e => - renderedConfig.withErrorHandlerProvider(() => e) - ) + GraphQLFederationConfiguration + .GraphQLFederation() + .withRenderOptions(options.getOrElse(renderOptions())) + .withErrorHandlerProvider(() => eh.getOrElse(IgnoringErrorHandler)) } override def renderOptions(): RenderOptions = super.renderOptions().withPrettyPrint diff --git a/amf-cli/shared/src/test/scala/amf/parser/GrpcParserTest.scala b/amf-cli/shared/src/test/scala/amf/parser/GrpcParserTest.scala index e0d1fd96ec..d700375073 100644 --- a/amf-cli/shared/src/test/scala/amf/parser/GrpcParserTest.scala +++ b/amf-cli/shared/src/test/scala/amf/parser/GrpcParserTest.scala @@ -10,13 +10,10 @@ import amf.io.FunSuiteCycleTests trait GrpcFunSuiteCycleTests extends FunSuiteCycleTests { override def buildConfig(options: Option[RenderOptions], eh: Option[AMFErrorHandler]): AMFConfiguration = { - val amfConfig: AMFConfiguration = GRPCConfiguration.GRPC() - val renderedConfig: AMFConfiguration = options.fold(amfConfig.withRenderOptions(renderOptions()))(r => { - amfConfig.withRenderOptions(r) - }) - eh.fold(renderedConfig.withErrorHandlerProvider(() => IgnoringErrorHandler))(e => - renderedConfig.withErrorHandlerProvider(() => e) - ) + GRPCConfiguration + .GRPC() + .withRenderOptions(options.getOrElse(renderOptions())) + .withErrorHandlerProvider(() => eh.getOrElse(IgnoringErrorHandler)) } } From 3596aa278384033f2bd244f77978b4617ead7320 Mon Sep 17 00:00:00 2001 From: arielmirra Date: Sat, 1 Jun 2024 18:32:08 -0300 Subject: [PATCH 07/30] W-15633189: add IsAVROSchema Eternal annotation --- .../shapes/internal/annotations/Annotations.scala | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/annotations/Annotations.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/annotations/Annotations.scala index c12ff28241..6b84ff22c6 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/annotations/Annotations.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/annotations/Annotations.scala @@ -15,6 +15,15 @@ object ParsedJSONSchema extends AnnotationGraphLoader { Some(ParsedJSONSchema(value)) } +case class IsAVROSchema(avroType: String) extends EternalSerializedAnnotation { + override val name: String = "avro-schema" + override val value: String = avroType +} + +object IsAVROSchema { + def unparse(avroType: String): Option[Annotation] = Some(IsAVROSchema(avroType)) +} + case class DocumentDeclarationKey(key: String) extends EternalSerializedAnnotation { override val name: String = "document-declaration-key" override val value: String = key @@ -84,7 +93,7 @@ case class BaseVirtualNode(ast: YPart) extends Annotation case class InputTypeField() extends Annotation -/** When getting a schema from and external file, it's original name may be replaced by a new one. That original name is the one - * stored by this Annotation. Used by ALS to link. +/** When getting a schema from and external file, it's original name may be replaced by a new one. That original name is + * the one stored by this Annotation. Used by ALS to link. */ case class TargetName(name: YPart) extends Annotation From 4f32869c2200d27c1717814e91a58a385158342f Mon Sep 17 00:00:00 2001 From: arielmirra Date: Tue, 4 Jun 2024 16:38:16 -0300 Subject: [PATCH 08/30] chore: refactor JsonSchemaDocumentParser --- .../model/document/JsonSchemaDocument.scala | 10 +++---- .../document/JsonSchemaDocumentParser.scala | 26 ++++++++----------- 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/document/JsonSchemaDocument.scala b/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/document/JsonSchemaDocument.scala index 15e8008489..06452b0216 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/document/JsonSchemaDocument.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/document/JsonSchemaDocument.scala @@ -9,17 +9,13 @@ import amf.shapes.internal.document.metamodel.JsonSchemaDocumentModel.SchemaVers class JsonSchemaDocument(override val fields: Fields, override val annotations: Annotations) extends Document(fields, annotations) { - - override def encodes: Shape = super.encodes.asInstanceOf[Shape] + override def encodes: Shape = super.encodes.asInstanceOf[Shape] + override def meta: JsonSchemaDocumentModel.type = JsonSchemaDocumentModel def schemaVersion: StrField = fields.field(SchemaVersion) - - override def meta = JsonSchemaDocumentModel - } object JsonSchemaDocument { - def apply(): JsonSchemaDocument = apply(Annotations()) - + def apply(): JsonSchemaDocument = apply(Annotations()) def apply(annotations: Annotations): JsonSchemaDocument = new JsonSchemaDocument(Fields(), annotations) } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/parser/document/JsonSchemaDocumentParser.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/parser/document/JsonSchemaDocumentParser.scala index 39fd689d8e..a8fc1c9e73 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/parser/document/JsonSchemaDocumentParser.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/parser/document/JsonSchemaDocumentParser.scala @@ -4,7 +4,7 @@ import amf.aml.internal.parse.common.DeclarationKeyCollector import amf.core.client.scala.model.document.BaseUnitProcessingData import amf.core.client.scala.model.domain.AmfScalar import amf.core.client.scala.parse.document.SyamlParsedDocument -import amf.core.internal.metamodel.document.{BaseUnitModel, DocumentModel} +import amf.core.internal.metamodel.document.DocumentModel import amf.core.internal.parser.domain.Annotations import amf.core.internal.parser.{Root, YMapOps, YNodeLikeOps} import amf.core.internal.remote.Spec @@ -34,48 +34,44 @@ case class JsonSchemaDocumentParser(root: Root)(implicit val ctx: ShapeParserCon extends DeclarationKeyCollector with QuickFieldParserOps { - private val doc: YDocument = root.parsed.asInstanceOf[SyamlParsedDocument].document - def parse(): JsonSchemaDocument = { + val yDocument: YDocument = root.parsed.asInstanceOf[SyamlParsedDocument].document - val document = JsonSchemaDocument(Annotations(doc)) + val doc = JsonSchemaDocument(Annotations(yDocument)) .withLocation(root.location) .withProcessingData(BaseUnitProcessingData().withSourceSpec(Spec.JSONSCHEMA)) - document.set(BaseUnitModel.Location, root.location) - - doc.toOption[YMap].foreach { rootMap => + yDocument.toOption[YMap].foreach { rootMap => ctx.setJsonSchemaAST(rootMap) val fullRef = normalizeRef() val tempShape = temporalShape(rootMap, fullRef) - val (schemaVersion, _) = setSchemaVersion(rootMap, document) + val (schemaVersion, _) = setSchemaVersion(rootMap, doc) val references = - BaseReferencesParser(document, root.location, "uses".asOasExtension, rootMap, root.references).parse() + BaseReferencesParser(doc, root.location, "uses".asOasExtension, rootMap, root.references).parse() - if (references.nonEmpty) document.withReferences(references.baseUnitReferences()) + if (references.nonEmpty) doc.withReferences(references.baseUnitReferences()) // Parsing declaration schemas from "definitions" or "$defs" parseTypeDeclarations( rootMap, declarationsKey(schemaVersion), Some(this), - Some(document), + Some(doc), Option(schemaVersion) ) - addDeclarationsToModel(document, ctx.shapes.values.toList) + addDeclarationsToModel(doc, ctx.shapes.values.toList) val rootSchema = parseRootSchema(rootMap, schemaVersion) - document.set(DocumentModel.Encodes, rootSchema, Annotations.inferred()) + doc.set(DocumentModel.Encodes, rootSchema, Annotations.inferred()) resolveFutureDeclarations(fullRef, tempShape, rootSchema) - } - document + doc } private def normalizeRef(): String = { From f6fa81fa6a749d59a30c5971e0c2564bf68ec8b0 Mon Sep 17 00:00:00 2001 From: arielmirra Date: Mon, 10 Jun 2024 14:11:22 -0300 Subject: [PATCH 09/30] W-15633184: add AVRO fields to AnyShape --- .../domain/metamodel/AnyShapeModel.scala | 22 +++++--- .../domain/metamodel/avro/AvroFields.scala | 41 ++++++++++++++ documentation/model.md | 53 +++++++++++++++++++ 3 files changed, 110 insertions(+), 6 deletions(-) create mode 100644 amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/avro/AvroFields.scala diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/AnyShapeModel.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/AnyShapeModel.scala index 18f223152e..ab896041ee 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/AnyShapeModel.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/AnyShapeModel.scala @@ -3,9 +3,10 @@ package amf.shapes.internal.domain.metamodel import amf.core.client.scala.vocabulary.Namespace.{Core, Shapes} import amf.core.client.scala.vocabulary.ValueType import amf.core.internal.metamodel.Field -import amf.core.internal.metamodel.Type.Str +import amf.core.internal.metamodel.Type.{Array, Str} import amf.core.internal.metamodel.domain.{ExternalSourceElementModel, ModelDoc, ModelVocabularies, ShapeModel} import amf.shapes.client.scala.model.domain.AnyShape +import amf.shapes.internal.domain.metamodel.avro.AvroFields import amf.shapes.internal.domain.metamodel.common.{DocumentationField, ExamplesField} trait AnyShapeModel @@ -13,15 +14,16 @@ trait AnyShapeModel with ExternalSourceElementModel with ExamplesField with DocumentationField - with WithSemanticContext { + with WithSemanticContext + with AvroFields { - val XMLSerialization = Field( + val XMLSerialization: Field = Field( XMLSerializerModel, Shapes + "xmlSerialization", ModelDoc(ModelVocabularies.Shapes, "XmlSerialization", "Information about how to serialize") ) - val Comment = + val Comment: Field = Field( Str, Core + "comment", @@ -35,7 +37,7 @@ trait AnyShapeModel override val `type`: List[ValueType] = List(Shapes + "AnyShape") ++ ShapeModel.`type` - override def modelInstance = AnyShape() + override def modelInstance: AnyShape = AnyShape() } object AnyShapeModel extends AnyShapeModel { @@ -48,5 +50,13 @@ object AnyShapeModel extends AnyShapeModel { ) override val fields: List[Field] = - ShapeModel.fields ++ List(Documentation, XMLSerialization, Comment, Examples) ++ ExternalSourceElementModel.fields + ShapeModel.fields ++ List( + Documentation, + XMLSerialization, + Comment, + Examples, + AvroNamespace, + Aliases, + Size + ) ++ ExternalSourceElementModel.fields } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/avro/AvroFields.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/avro/AvroFields.scala new file mode 100644 index 0000000000..1f7aae5155 --- /dev/null +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/avro/AvroFields.scala @@ -0,0 +1,41 @@ +package amf.shapes.internal.domain.metamodel.avro + +import amf.core.client.scala.vocabulary.Namespace.Shapes +import amf.core.internal.metamodel.Field +import amf.core.internal.metamodel.Type.{Array, Str, Int} +import amf.core.internal.metamodel.domain.{ModelDoc, ModelVocabularies} + +trait AvroFields { + val AvroNamespace: Field = + Field( + Str, + Shapes + "namespace", + ModelDoc( + ModelVocabularies.Shapes, + "namespace", + "(AVRO) a JSON string that qualifies the name" + ) + ) + + val Aliases: Field = + Field( + Array(Str), + Shapes + "aliases", + ModelDoc( + ModelVocabularies.Shapes, + "aliases", + "(AVRO) a JSON array of strings, providing alternate names for this shape" + ) + ) + + val Size: Field = + Field( + Int, + Shapes + "size", + ModelDoc( + ModelVocabularies.Shapes, + "size", + "(AVRO) an integer specifying the number of bytes per value" + ) + ) +} diff --git a/documentation/model.md b/documentation/model.md index a1612e8d30..3c1136d70f 100644 --- a/documentation/model.md +++ b/documentation/model.md @@ -32,6 +32,7 @@ AMF Model Documentation * [ArrayNode](#arraynode) * [ArrayShape](#arrayshape) * [AsyncApi](#asyncapi) +* [AvroSchemaDocument](#avroschemadocument) * [BaseApi](#baseapi) * [BaseIRI](#baseiri) * [BaseUnit](#baseunit) @@ -657,6 +658,9 @@ Types: | xmlSerialization | [XMLSerializer](#xmlserializer) | - | Information about how to serialize | `http://a.ml/vocabularies/shapes#xmlSerialization` | | comment | string | - | A comment on an item. The comment's content is expressed via the text | `http://a.ml/vocabularies/core#comment` | | examples | [[Example](#example)] | false | Examples for a particular domain element | `http://a.ml/vocabularies/apiContract#examples` | + | namespace | string | - | (AVRO) a JSON string that qualifies the name | `http://a.ml/vocabularies/shapes#namespace` | + | aliases | [string] | false | (AVRO) a JSON array of strings, providing alternate names for this shape | `http://a.ml/vocabularies/shapes#aliases` | + | size | int | - | (AVRO) an integer specifying the number of bytes per value | `http://a.ml/vocabularies/shapes#size` | | raw | string | - | Raw textual information that cannot be processed for the current model semantics. | `http://a.ml/vocabularies/document#raw` | | reference-id | url | - | Internal identifier for an inlined fragment | `http://a.ml/vocabularies/document#reference-id` | | location | string | - | Location of an inlined fragment | `http://a.ml/vocabularies/document#location` | @@ -770,6 +774,9 @@ Types: | xmlSerialization | [XMLSerializer](#xmlserializer) | - | Information about how to serialize | `http://a.ml/vocabularies/shapes#xmlSerialization` | | comment | string | - | A comment on an item. The comment's content is expressed via the text | `http://a.ml/vocabularies/core#comment` | | examples | [[Example](#example)] | false | Examples for a particular domain element | `http://a.ml/vocabularies/apiContract#examples` | + | namespace | string | - | (AVRO) a JSON string that qualifies the name | `http://a.ml/vocabularies/shapes#namespace` | + | aliases | [string] | false | (AVRO) a JSON array of strings, providing alternate names for this shape | `http://a.ml/vocabularies/shapes#aliases` | + | size | int | - | (AVRO) an integer specifying the number of bytes per value | `http://a.ml/vocabularies/shapes#size` | | raw | string | - | Raw textual information that cannot be processed for the current model semantics. | `http://a.ml/vocabularies/document#raw` | | reference-id | url | - | Internal identifier for an inlined fragment | `http://a.ml/vocabularies/document#reference-id` | | location | string | - | Location of an inlined fragment | `http://a.ml/vocabularies/document#location` | @@ -802,6 +809,28 @@ Types: | tag | [[Tag](#tag)] | false | Additionally custom tagged information | `http://a.ml/vocabularies/apiContract#tag` | | extends | [[DomainElement](#domainelement)] | false | 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` | +## AvroSchemaDocument +A Document that represents an AVRO Schema Fragment +Types: +* `http://a.ml/vocabularies/document#AvroSchemaDocumentModel` +* `http://a.ml/vocabularies/document#Document` +* `http://a.ml/vocabularies/document#Fragment` +* `http://a.ml/vocabularies/document#Module` +* `http://a.ml/vocabularies/document#Unit` + + | Name | Value | Sorted | Documentation | Namespace | + | ------ | ------ | ------ | ------ | ------ | + | encodes | [DomainElement](#domainelement) | - | The encodes relationship links a parsing Unit with the DomainElement from a particular domain the unit contains. | `http://a.ml/vocabularies/document#encodes` | + | declares | [[DomainElement](#domainelement)] | false | The declares relationship exposes a DomainElement as a re-usable unit that can be referenced from other units. URIs for the declared DomainElement are considered to be stable and safe to reference from other DomainElements. | `http://a.ml/vocabularies/document#declares` | + | version | string | - | Version of the current model | `http://a.ml/vocabularies/document#version` | + | references | [[BaseUnit](#baseunit)] | false | references across base units | `http://a.ml/vocabularies/document#references` | + | 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` | + | processingData | [BaseUnitProcessingData](#baseunitprocessingdata) | - | Field with utility data to be used in Base Unit processing | `http://a.ml/vocabularies/document#processingData` | + | sourceInformation | [BaseUnitSourceInformation](#baseunitsourceinformation) | - | Contains information of the source from which the base unit was generated | `http://a.ml/vocabularies/document#sourceInformation` | + ## BaseApi Top level element describing any kind of API Types: @@ -1646,6 +1675,9 @@ Types: | xmlSerialization | [XMLSerializer](#xmlserializer) | - | Information about how to serialize | `http://a.ml/vocabularies/shapes#xmlSerialization` | | comment | string | - | A comment on an item. The comment's content is expressed via the text | `http://a.ml/vocabularies/core#comment` | | examples | [[Example](#example)] | false | Examples for a particular domain element | `http://a.ml/vocabularies/apiContract#examples` | + | namespace | string | - | (AVRO) a JSON string that qualifies the name | `http://a.ml/vocabularies/shapes#namespace` | + | aliases | [string] | false | (AVRO) a JSON array of strings, providing alternate names for this shape | `http://a.ml/vocabularies/shapes#aliases` | + | size | int | - | (AVRO) an integer specifying the number of bytes per value | `http://a.ml/vocabularies/shapes#size` | | raw | string | - | Raw textual information that cannot be processed for the current model semantics. | `http://a.ml/vocabularies/document#raw` | | reference-id | url | - | Internal identifier for an inlined fragment | `http://a.ml/vocabularies/document#reference-id` | | location | string | - | Location of an inlined fragment | `http://a.ml/vocabularies/document#location` | @@ -2390,6 +2422,9 @@ Types: | xmlSerialization | [XMLSerializer](#xmlserializer) | - | Information about how to serialize | `http://a.ml/vocabularies/shapes#xmlSerialization` | | comment | string | - | A comment on an item. The comment's content is expressed via the text | `http://a.ml/vocabularies/core#comment` | | examples | [[Example](#example)] | false | Examples for a particular domain element | `http://a.ml/vocabularies/apiContract#examples` | + | namespace | string | - | (AVRO) a JSON string that qualifies the name | `http://a.ml/vocabularies/shapes#namespace` | + | aliases | [string] | false | (AVRO) a JSON array of strings, providing alternate names for this shape | `http://a.ml/vocabularies/shapes#aliases` | + | size | int | - | (AVRO) an integer specifying the number of bytes per value | `http://a.ml/vocabularies/shapes#size` | | raw | string | - | Raw textual information that cannot be processed for the current model semantics. | `http://a.ml/vocabularies/document#raw` | | reference-id | url | - | Internal identifier for an inlined fragment | `http://a.ml/vocabularies/document#reference-id` | | location | string | - | Location of an inlined fragment | `http://a.ml/vocabularies/document#location` | @@ -2685,6 +2720,9 @@ Types: | xmlSerialization | [XMLSerializer](#xmlserializer) | - | Information about how to serialize | `http://a.ml/vocabularies/shapes#xmlSerialization` | | comment | string | - | A comment on an item. The comment's content is expressed via the text | `http://a.ml/vocabularies/core#comment` | | examples | [[Example](#example)] | false | Examples for a particular domain element | `http://a.ml/vocabularies/apiContract#examples` | + | namespace | string | - | (AVRO) a JSON string that qualifies the name | `http://a.ml/vocabularies/shapes#namespace` | + | aliases | [string] | false | (AVRO) a JSON array of strings, providing alternate names for this shape | `http://a.ml/vocabularies/shapes#aliases` | + | size | int | - | (AVRO) an integer specifying the number of bytes per value | `http://a.ml/vocabularies/shapes#size` | | raw | string | - | Raw textual information that cannot be processed for the current model semantics. | `http://a.ml/vocabularies/document#raw` | | reference-id | url | - | Internal identifier for an inlined fragment | `http://a.ml/vocabularies/document#reference-id` | | location | string | - | Location of an inlined fragment | `http://a.ml/vocabularies/document#location` | @@ -2777,6 +2815,9 @@ Types: | xmlSerialization | [XMLSerializer](#xmlserializer) | - | Information about how to serialize | `http://a.ml/vocabularies/shapes#xmlSerialization` | | comment | string | - | A comment on an item. The comment's content is expressed via the text | `http://a.ml/vocabularies/core#comment` | | examples | [[Example](#example)] | false | Examples for a particular domain element | `http://a.ml/vocabularies/apiContract#examples` | + | namespace | string | - | (AVRO) a JSON string that qualifies the name | `http://a.ml/vocabularies/shapes#namespace` | + | aliases | [string] | false | (AVRO) a JSON array of strings, providing alternate names for this shape | `http://a.ml/vocabularies/shapes#aliases` | + | size | int | - | (AVRO) an integer specifying the number of bytes per value | `http://a.ml/vocabularies/shapes#size` | | raw | string | - | Raw textual information that cannot be processed for the current model semantics. | `http://a.ml/vocabularies/document#raw` | | reference-id | url | - | Internal identifier for an inlined fragment | `http://a.ml/vocabularies/document#reference-id` | | location | string | - | Location of an inlined fragment | `http://a.ml/vocabularies/document#location` | @@ -3530,6 +3571,9 @@ Types: | xmlSerialization | [XMLSerializer](#xmlserializer) | - | Information about how to serialize | `http://a.ml/vocabularies/shapes#xmlSerialization` | | comment | string | - | A comment on an item. The comment's content is expressed via the text | `http://a.ml/vocabularies/core#comment` | | examples | [[Example](#example)] | false | Examples for a particular domain element | `http://a.ml/vocabularies/apiContract#examples` | + | namespace | string | - | (AVRO) a JSON string that qualifies the name | `http://a.ml/vocabularies/shapes#namespace` | + | aliases | [string] | false | (AVRO) a JSON array of strings, providing alternate names for this shape | `http://a.ml/vocabularies/shapes#aliases` | + | size | int | - | (AVRO) an integer specifying the number of bytes per value | `http://a.ml/vocabularies/shapes#size` | | raw | string | - | Raw textual information that cannot be processed for the current model semantics. | `http://a.ml/vocabularies/document#raw` | | reference-id | url | - | Internal identifier for an inlined fragment | `http://a.ml/vocabularies/document#reference-id` | | location | string | - | Location of an inlined fragment | `http://a.ml/vocabularies/document#location` | @@ -3588,6 +3632,9 @@ Types: | xmlSerialization | [XMLSerializer](#xmlserializer) | - | Information about how to serialize | `http://a.ml/vocabularies/shapes#xmlSerialization` | | comment | string | - | A comment on an item. The comment's content is expressed via the text | `http://a.ml/vocabularies/core#comment` | | examples | [[Example](#example)] | false | Examples for a particular domain element | `http://a.ml/vocabularies/apiContract#examples` | + | namespace | string | - | (AVRO) a JSON string that qualifies the name | `http://a.ml/vocabularies/shapes#namespace` | + | aliases | [string] | false | (AVRO) a JSON array of strings, providing alternate names for this shape | `http://a.ml/vocabularies/shapes#aliases` | + | size | int | - | (AVRO) an integer specifying the number of bytes per value | `http://a.ml/vocabularies/shapes#size` | | raw | string | - | Raw textual information that cannot be processed for the current model semantics. | `http://a.ml/vocabularies/document#raw` | | reference-id | url | - | Internal identifier for an inlined fragment | `http://a.ml/vocabularies/document#reference-id` | | location | string | - | Location of an inlined fragment | `http://a.ml/vocabularies/document#location` | @@ -4247,6 +4294,9 @@ Types: | xmlSerialization | [XMLSerializer](#xmlserializer) | - | Information about how to serialize | `http://a.ml/vocabularies/shapes#xmlSerialization` | | comment | string | - | A comment on an item. The comment's content is expressed via the text | `http://a.ml/vocabularies/core#comment` | | examples | [[Example](#example)] | false | Examples for a particular domain element | `http://a.ml/vocabularies/apiContract#examples` | + | namespace | string | - | (AVRO) a JSON string that qualifies the name | `http://a.ml/vocabularies/shapes#namespace` | + | aliases | [string] | false | (AVRO) a JSON array of strings, providing alternate names for this shape | `http://a.ml/vocabularies/shapes#aliases` | + | size | int | - | (AVRO) an integer specifying the number of bytes per value | `http://a.ml/vocabularies/shapes#size` | | raw | string | - | Raw textual information that cannot be processed for the current model semantics. | `http://a.ml/vocabularies/document#raw` | | reference-id | url | - | Internal identifier for an inlined fragment | `http://a.ml/vocabularies/document#reference-id` | | location | string | - | Location of an inlined fragment | `http://a.ml/vocabularies/document#location` | @@ -4317,6 +4367,9 @@ Types: | xmlSerialization | [XMLSerializer](#xmlserializer) | - | Information about how to serialize | `http://a.ml/vocabularies/shapes#xmlSerialization` | | comment | string | - | A comment on an item. The comment's content is expressed via the text | `http://a.ml/vocabularies/core#comment` | | examples | [[Example](#example)] | false | Examples for a particular domain element | `http://a.ml/vocabularies/apiContract#examples` | + | namespace | string | - | (AVRO) a JSON string that qualifies the name | `http://a.ml/vocabularies/shapes#namespace` | + | aliases | [string] | false | (AVRO) a JSON array of strings, providing alternate names for this shape | `http://a.ml/vocabularies/shapes#aliases` | + | size | int | - | (AVRO) an integer specifying the number of bytes per value | `http://a.ml/vocabularies/shapes#size` | | raw | string | - | Raw textual information that cannot be processed for the current model semantics. | `http://a.ml/vocabularies/document#raw` | | reference-id | url | - | Internal identifier for an inlined fragment | `http://a.ml/vocabularies/document#reference-id` | | location | string | - | Location of an inlined fragment | `http://a.ml/vocabularies/document#location` | From 2a9bd81bf5769c1b8c053b3b68c82d48fa3c52a3 Mon Sep 17 00:00:00 2001 From: arielmirra Date: Mon, 10 Jun 2024 14:12:10 -0300 Subject: [PATCH 10/30] W-15633184: add AvroSchemaDocument (model and instances) --- .../model/document/AvroSchemaDocument.scala | 14 +++++++++ .../model/document/AvroSchemaDocument.scala | 17 +++++++++++ .../internal/convert/ShapesRegister.scala | 11 ++++--- .../metamodel/AvroSchemaDocumentModel.scala | 29 +++++++++++++++++++ .../internal/entities/ShapeEntities.scala | 4 ++- 5 files changed, 70 insertions(+), 5 deletions(-) create mode 100644 amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/document/AvroSchemaDocument.scala create mode 100644 amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/document/AvroSchemaDocument.scala create mode 100644 amf-shapes/shared/src/main/scala/amf/shapes/internal/document/metamodel/AvroSchemaDocumentModel.scala diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/document/AvroSchemaDocument.scala b/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/document/AvroSchemaDocument.scala new file mode 100644 index 0000000000..d27e608a58 --- /dev/null +++ b/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/document/AvroSchemaDocument.scala @@ -0,0 +1,14 @@ +package amf.shapes.client.platform.model.document + +import amf.core.client.platform.model.document.Document +import amf.shapes.client.scala.model.document.{AvroSchemaDocument => InternalAvroSchemaDocument} + +import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} + +@JSExportAll +case class AvroSchemaDocument(override private[amf] val _internal: InternalAvroSchemaDocument) + extends Document(_internal) { + + @JSExportTopLevel("AvroSchemaDocument") + def this() = this(InternalAvroSchemaDocument()) +} diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/document/AvroSchemaDocument.scala b/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/document/AvroSchemaDocument.scala new file mode 100644 index 0000000000..7199e67d70 --- /dev/null +++ b/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/document/AvroSchemaDocument.scala @@ -0,0 +1,17 @@ +package amf.shapes.client.scala.model.document + +import amf.core.client.scala.model.document.Document +import amf.core.client.scala.model.domain.Shape +import amf.core.internal.parser.domain.{Annotations, Fields} +import amf.shapes.internal.document.metamodel.AvroSchemaDocumentModel + +class AvroSchemaDocument(override val fields: Fields, override val annotations: Annotations) + extends Document(fields, annotations) { + override def encodes: Shape = super.encodes.asInstanceOf[Shape] + override def meta: AvroSchemaDocumentModel.type = AvroSchemaDocumentModel +} + +object AvroSchemaDocument { + def apply(): AvroSchemaDocument = apply(Annotations()) + def apply(annotations: Annotations): AvroSchemaDocument = new AvroSchemaDocument(Fields(), annotations) +} diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/convert/ShapesRegister.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/convert/ShapesRegister.scala index 413ebcb85b..8378d93bae 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/convert/ShapesRegister.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/convert/ShapesRegister.scala @@ -4,11 +4,11 @@ import amf.core.client.platform.model.domain.RecursiveShape import amf.core.internal.convert.UniqueInitializer import amf.core.internal.remote.Platform import amf.core.internal.unsafe.PlatformSecrets -import amf.shapes.client.platform.model.document.JsonSchemaDocument +import amf.shapes.client.platform.model.document.{AvroSchemaDocument, JsonSchemaDocument} import amf.shapes.client.platform.model.domain._ import amf.shapes.client.platform.model.domain.federation._ import amf.shapes.client.scala.model -import amf.shapes.internal.document.metamodel.JsonSchemaDocumentModel +import amf.shapes.internal.document.metamodel.{AvroSchemaDocumentModel, JsonSchemaDocumentModel} import amf.shapes.internal.domain.metamodel._ import amf.shapes.internal.domain.metamodel.federation._ import amf.shapes.internal.domain.metamodel.operations._ @@ -99,8 +99,8 @@ private[amf] object ShapesRegister extends UniqueInitializer with PlatformSecret case s: amf.shapes.client.scala.model.domain.operations.ShapeParameter => amf.shapes.client.platform.model.domain.operations.ShapeParameter(s) } - platform.registerWrapper(KeyModel) { - case s: amf.shapes.client.scala.model.domain.federation.Key => Key(s) + platform.registerWrapper(KeyModel) { case s: amf.shapes.client.scala.model.domain.federation.Key => + Key(s) } platform.registerWrapper(PropertyKeyMappingModel) { case s: amf.shapes.client.scala.model.domain.federation.PropertyKeyMapping => PropertyKeyMapping(s) @@ -111,6 +111,9 @@ private[amf] object ShapesRegister extends UniqueInitializer with PlatformSecret platform.registerWrapper(JsonSchemaDocumentModel) { case s: amf.shapes.client.scala.model.document.JsonSchemaDocument => JsonSchemaDocument(s) } + platform.registerWrapper(AvroSchemaDocumentModel) { + case s: amf.shapes.client.scala.model.document.AvroSchemaDocument => AvroSchemaDocument(s) + } } } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/document/metamodel/AvroSchemaDocumentModel.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/document/metamodel/AvroSchemaDocumentModel.scala new file mode 100644 index 0000000000..a299285a8b --- /dev/null +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/document/metamodel/AvroSchemaDocumentModel.scala @@ -0,0 +1,29 @@ +package amf.shapes.internal.document.metamodel + +import amf.core.client.scala.model.domain.AmfObject +import amf.core.client.scala.vocabulary.Namespace.Document +import amf.core.client.scala.vocabulary.{Namespace, ValueType} +import amf.core.internal.metamodel.Field +import amf.core.internal.metamodel.Type.Str +import amf.core.internal.metamodel.document.DocumentModel +import amf.core.internal.metamodel.domain.{ModelDoc, ModelVocabularies} +import amf.shapes.client.scala.model.document.{AvroSchemaDocument, JsonSchemaDocument} + +/** AVRO Schema Fragment metamodel + * + * An AVRO Schema Fragment is a parsing Unit that encodes a single Shape. It main purpose is to expose the encoded + * shape so it can be re-used + */ +object AvroSchemaDocumentModel extends DocumentModel { + override val `type`: List[ValueType] = Namespace.Document + "AvroSchemaDocumentModel" :: DocumentModel.`type` + + override val fields: List[Field] = DocumentModel.fields + + override def modelInstance: AmfObject = AvroSchemaDocument() + + override val doc: ModelDoc = ModelDoc( + ModelVocabularies.AmlDoc, + "AvroSchemaDocument", + "A Document that represents an AVRO Schema Fragment" + ) +} diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/entities/ShapeEntities.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/entities/ShapeEntities.scala index 4a7d96d0b8..c9e5e90031 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/entities/ShapeEntities.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/entities/ShapeEntities.scala @@ -4,6 +4,7 @@ import amf.core.internal.entities.Entities import amf.core.internal.metamodel.ModelDefaultBuilder import amf.core.internal.metamodel.domain.extensions.{PropertyShapeModel, ShapeExtensionModel} import amf.shapes.internal.document.metamodel.{ + AvroSchemaDocumentModel, DataTypeFragmentModel, JsonLDInstanceDocumentModel, JsonSchemaDocumentModel @@ -56,6 +57,7 @@ private[amf] object ShapeEntities extends Entities { KeyModel, PropertyKeyMappingModel, JsonLDInstanceDocumentModel, - JsonLDElementModel + JsonLDElementModel, + AvroSchemaDocumentModel ) } From 37eb12ef591e53676664c339d79533caa0a98fe6 Mon Sep 17 00:00:00 2001 From: arielmirra Date: Mon, 10 Jun 2024 16:46:15 -0300 Subject: [PATCH 11/30] W-15633184: add Avro schema parsing --- .../client/scala/AMFConfiguration.scala | 6 + .../emitters/domain/AsyncSchemaEmitter.scala | 18 +- .../parser/domain/AsyncApiTypeParser.scala | 11 +- .../internal/spec/avro/AvroParsePlugin.scala | 23 ++ .../internal/spec/avro/AvroSettings.scala | 30 +++ .../parser/context/AvroSchemaContext.scala | 17 ++ .../parser/document/AvroDocumentParser.scala | 32 +++ .../parser/domain/AvroArrayShapeParser.scala | 12 + .../domain/AvroCollectionShapeParser.scala | 23 ++ .../avro/parser/domain/AvroEnumParser.scala | 34 +++ .../parser/domain/AvroFixedShapeParser.scala | 23 ++ .../parser/domain/AvroMapShapeParser.scala | 12 + .../avro/parser/domain/AvroRecordParser.scala | 52 ++++ .../parser/domain/AvroScalarShapeParser.scala | 28 +++ .../parser/domain/AvroShapeBaseParser.scala | 26 ++ .../avro/parser/domain/AvroShapeParser.scala | 50 ++++ .../avro/parser/domain/AvroTextParser.scala | 12 + .../parser/domain/AvroUnionShapeParser.scala | 16 ++ .../reference/ApiReferenceHandler.scala | 1 + .../resources/upanddown/cycle/avro/array.json | 5 + .../upanddown/cycle/avro/array.jsonld | 87 +++++++ .../resources/upanddown/cycle/avro/enum.json | 10 + .../upanddown/cycle/avro/enum.jsonld | 161 +++++++++++++ .../resources/upanddown/cycle/avro/fixed.json | 5 + .../upanddown/cycle/avro/fixed.jsonld | 80 +++++++ .../resources/upanddown/cycle/avro/map.json | 5 + .../resources/upanddown/cycle/avro/map.jsonld | 87 +++++++ .../upanddown/cycle/avro/record.json | 20 ++ .../upanddown/cycle/avro/record.jsonld | 226 ++++++++++++++++++ .../avro/valid-avro-in-components.yaml | 50 ++++ .../validations/avro/valid-avro-schema.yaml | 45 ++++ .../scala/amf/cycle/AvroSchemaCycleTest.scala | 41 ++++ .../validation/AMFModelAssertionTest.scala | 14 +- .../internal/spec/common/SchemaVersion.scala | 3 + 34 files changed, 1258 insertions(+), 7 deletions(-) create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/AvroParsePlugin.scala create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/AvroSettings.scala create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/context/AvroSchemaContext.scala create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/document/AvroDocumentParser.scala create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroArrayShapeParser.scala create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroFixedShapeParser.scala create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroMapShapeParser.scala create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextParser.scala create mode 100644 amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.jsonld create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.jsonld create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld create mode 100644 amf-cli/shared/src/test/resources/validations/avro/valid-avro-in-components.yaml create mode 100644 amf-cli/shared/src/test/resources/validations/avro/valid-avro-schema.yaml create mode 100644 amf-cli/shared/src/test/scala/amf/cycle/AvroSchemaCycleTest.scala 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 32ecd483f9..78d398ab20 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 @@ -8,6 +8,7 @@ import amf.apicontract.internal.convert.ApiRegister import amf.apicontract.internal.entities.{APIEntities, FragmentEntities} import amf.apicontract.internal.plugins.ApiContractFallbackPlugin import amf.apicontract.internal.spec.async.{Async20ElementRenderPlugin, Async20ParsePlugin, Async20RenderPlugin} +import amf.apicontract.internal.spec.avro.AvroParsePlugin import amf.apicontract.internal.spec.oas._ import amf.apicontract.internal.spec.raml._ import amf.apicontract.internal.transformation._ @@ -156,6 +157,11 @@ object RAMLConfiguration extends APIConfigurationBuilder { } } +object AvroConfiguration extends APIConfigurationBuilder { + def Avro(): AMFConfiguration = + common().withPlugins(List(AvroParsePlugin)) // TODO: add validation profiles and serialization +} + /** [[APIConfigurationBuilder.common common()]] configuration with all configurations needed for OAS like: * - Validation rules * - Parse and emit plugins diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/domain/AsyncSchemaEmitter.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/domain/AsyncSchemaEmitter.scala index 5a6057c0f5..f64f809a0f 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/domain/AsyncSchemaEmitter.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/domain/AsyncSchemaEmitter.scala @@ -11,7 +11,7 @@ import amf.core.client.scala.model.domain.Shape import amf.core.internal.render.BaseEmitters.pos import amf.core.internal.render.SpecOrdering import amf.core.internal.render.emitters.EntryEmitter -import amf.shapes.internal.spec.common.{RAML10SchemaVersion, SchemaVersion} +import amf.shapes.internal.spec.common.{AVROSchema, RAML10SchemaVersion, SchemaVersion} import amf.shapes.internal.spec.oas.emitter.OasTypePartEmitter import amf.shapes.internal.spec.raml.emitter.Raml10TypeEmitter import org.yaml.model.YDocument.EntryBuilder @@ -27,8 +27,9 @@ case class AsyncSchemaEmitter( override def emit(b: EntryBuilder): Unit = { val schemaVersion = AsyncSchemaFormats.getSchemaVersion(mediaType)(spec.eh) schemaVersion match { - case RAML10SchemaVersion => emitAsRaml(b) - case _ => emitAsOas(b, schemaVersion) + case RAML10SchemaVersion => emitAsRaml(b) + case AVROSchema(avroType) => emitAsAvro(b, schemaVersion, avroType) // todo: is it necessary? + case _ => emitAsOas(b, schemaVersion) } } @@ -53,5 +54,16 @@ case class AsyncSchemaEmitter( ) } + private def emitAsAvro(b: EntryBuilder, schemaVersion: SchemaVersion, avroType: String): Unit = { + b.entry( + key, + b => { + val newCtx = new Async20SpecEmitterContext(spec.eh, config = spec.renderConfig, schemaVersion = schemaVersion) + OasTypePartEmitter(shape, ordering, references = references)(OasLikeShapeEmitterContextAdapter(newCtx)) + .emit(b) + } + ) + } + override def position(): Position = pos(shape.annotations) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncApiTypeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncApiTypeParser.scala index 92a4863ac1..8cf1311501 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncApiTypeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncApiTypeParser.scala @@ -1,6 +1,9 @@ package amf.apicontract.internal.spec.async.parser.domain import amf.apicontract.client.scala.model.domain.Payload +import amf.apicontract.internal.spec.avro.AvroSettings +import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.apicontract.internal.spec.avro.parser.domain.AvroShapeParser import amf.apicontract.internal.spec.common.WebApiDeclarations import amf.apicontract.internal.spec.oas.parser.context.OasLikeWebApiContext import amf.apicontract.internal.spec.spec.toRaml @@ -46,8 +49,8 @@ object AsyncSchemaFormats { value match { case Some(format) if oas30Schema.contains(format) => OAS30SchemaVersion(SchemaPosition.Schema) case Some(format) if ramlSchema.contains(format) => RAML10SchemaVersion - // async20 schemas are handled with draft 7. Avro schema is not supported - case _ => JSONSchemaDraft7SchemaVersion + case Some(format) if avroSchema.contains(format) => AVROSchema() + case _ => JSONSchemaDraft7SchemaVersion // async20 schemas are handled with draft 7 by default } } @@ -57,7 +60,9 @@ case class AsyncApiTypeParser(entry: YMapEntry, adopt: Shape => Unit, version: S def parse(): Option[Shape] = version match { case RAML10SchemaVersion => CustomRamlReferenceParser(YMapEntryLike(entry), adopt).parse() - case _ => OasTypeParser(entry, adopt, version).parse() + case AVROSchema(_) => + new AvroShapeParser(YMapEntryLike(entry).asMap)(new AvroSchemaContext(ctx, AvroSettings)).parse() + case _ => OasTypeParser(entry, adopt, version).parse() } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/AvroParsePlugin.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/AvroParsePlugin.scala new file mode 100644 index 0000000000..372aca4065 --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/AvroParsePlugin.scala @@ -0,0 +1,23 @@ +package amf.apicontract.internal.spec.avro + +import amf.apicontract.internal.plugins.ApiParsePlugin +import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.apicontract.internal.spec.avro.parser.document.AvroDocumentParser +import amf.core.client.scala.model.document.BaseUnit +import amf.core.client.scala.parse.document.ParserContext +import amf.core.internal.parser.Root +import amf.core.internal.remote.{Mimes, Spec} + +object AvroParsePlugin extends ApiParsePlugin { + + override def spec: Spec = Spec.AVRO_SCHEMA + + override def parse(document: Root, ctx: ParserContext): BaseUnit = { + new AvroDocumentParser(document)(new AvroSchemaContext(ctx, AvroSettings)).parseDocument() + } + + /** media types which specifies vendors that are parsed by this plugin. */ + override def mediaTypes: Seq[String] = Seq(Mimes.`application/json`) + + override def applies(element: Root): Boolean = element.mediatype == Mimes.`application/json` +} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/AvroSettings.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/AvroSettings.scala new file mode 100644 index 0000000000..1509d82db8 --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/AvroSettings.scala @@ -0,0 +1,30 @@ +package amf.apicontract.internal.spec.avro + +import amf.core.client.scala.parse.document.ParserContext +import amf.core.internal.plugins.syntax.SyamlAMFErrorHandler +import amf.core.internal.remote.Spec +import amf.core.internal.remote.Spec.AVRO_SCHEMA +import amf.shapes.internal.spec.common.parser._ +import amf.shapes.internal.spec.common.{OAS20SchemaVersion, SchemaPosition, SchemaVersion} +import amf.shapes.internal.spec.raml.parser.RamlWebApiContextType.RamlWebApiContextType +import org.yaml.model.YNode + +object AvroSettings extends SpecSettings { + override val spec: Spec = AVRO_SCHEMA + + override def link(node: YNode)(implicit eh: SyamlAMFErrorHandler): Either[String, YNode] = Left(node.toString) + + override def ignoreCriteria: IgnoreCriteria = IgnoreAllCriteria + + override def ramlContextType: Option[RamlWebApiContextType] = None + + override val defaultSchemaVersion: SchemaVersion = OAS20SchemaVersion.apply(SchemaPosition.Other) + override val annotationValidatorBuilder: AnnotationSchemaValidatorBuilder = IgnoreAnnotationSchemaValidatorBuilder + + override def shouldLinkTypes(parent: ParserContext): Boolean = parent match { + case ctx: ShapeParserContext if ctx.isRamlContext => false + case _ => true + } + + override val syntax: SpecSyntax = SpecSyntax.empty +} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/context/AvroSchemaContext.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/context/AvroSchemaContext.scala new file mode 100644 index 0000000000..929d5df270 --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/context/AvroSchemaContext.scala @@ -0,0 +1,17 @@ +package amf.apicontract.internal.spec.avro.parser.context + +import amf.core.client.scala.parse.document.ParserContext +import amf.shapes.internal.spec.common.parser.{ShapeParserContext, SpecSettings} + +import scala.collection.mutable + +class AvroSchemaContext(ctx: ParserContext, settings: SpecSettings) + extends ShapeParserContext( + ctx.rootContextDocument, + ctx.refs, + ctx.parsingOptions, + ctx, + None, + mutable.Map.empty, + settings + ) {} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/document/AvroDocumentParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/document/AvroDocumentParser.scala new file mode 100644 index 0000000000..adff976fe2 --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/document/AvroDocumentParser.scala @@ -0,0 +1,32 @@ +package amf.apicontract.internal.spec.avro.parser.document + +import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.apicontract.internal.spec.avro.parser.domain.AvroShapeParser +import amf.core.client.scala.model.document.BaseUnitProcessingData +import amf.core.client.scala.parse.document.SyamlParsedDocument +import amf.core.internal.metamodel.document.DocumentModel +import amf.core.internal.parser.domain.Annotations +import amf.core.internal.parser.{Root, YMapOps} +import amf.core.internal.remote.Spec +import amf.shapes.client.scala.model.document.AvroSchemaDocument +import amf.shapes.client.scala.model.domain.AnyShape +import amf.shapes.internal.spec.common.parser.QuickFieldParserOps +import org.yaml.model.YMap + +class AvroDocumentParser(root: Root)(implicit ctx: AvroSchemaContext) extends QuickFieldParserOps { + + def parseDocument(): AvroSchemaDocument = { + val map = root.parsed.asInstanceOf[SyamlParsedDocument].document.as[YMap] + val doc = AvroSchemaDocument(Annotations(map)) + .withLocation(ctx.loc) + .withProcessingData(BaseUnitProcessingData().withSourceSpec(Spec.AVRO_SCHEMA)) + + map.key("namespace", (DocumentModel.Package in doc).allowingAnnotations) + + val parsedShape = parseType(map) + parsedShape.foreach(shape => doc.withEncodes(shape)) + doc + } + + def parseType(map: YMap): Option[AnyShape] = new AvroShapeParser(map).parse() +} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroArrayShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroArrayShapeParser.scala new file mode 100644 index 0000000000..09399f3e68 --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroArrayShapeParser.scala @@ -0,0 +1,12 @@ +package amf.apicontract.internal.spec.avro.parser.domain +import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.shapes.client.scala.model.domain.{AnyShape, ArrayShape} +import org.yaml.model.{YMap, YMapEntry} + +case class AvroArrayShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) + extends AvroCollectionShapeParser[ArrayShape](map, "items") { + // TODO: parse defaults + override val shape: ArrayShape = ArrayShape(map) + override def setMembers(anyShape: AnyShape): Unit = shape.withItems(anyShape) + override def parseMembers(e: YMapEntry): AnyShape = AvroTextParser(e.value).parse() +} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala new file mode 100644 index 0000000000..0b4eca27c9 --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala @@ -0,0 +1,23 @@ +package amf.apicontract.internal.spec.avro.parser.domain + +import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.core.internal.parser.YMapOps +import amf.shapes.client.scala.model.domain.AnyShape +import org.yaml.model.{YMap, YMapEntry} + +abstract class AvroCollectionShapeParser[T <: AnyShape](map: YMap, membersKey: String)(implicit ctx: AvroSchemaContext) + extends AvroShapeBaseParser(map) { + val shape: T + + protected def setMembers(anyShape: AnyShape): Unit + + def parse(): AnyShape = { + map + .key(membersKey) + .map(parseMembers) + .foreach(setMembers) + shape + } + + protected def parseMembers(e: YMapEntry): AnyShape = AvroScalarShapeParser(e.value.as[String], None).parse() +} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala new file mode 100644 index 0000000000..0bc6ce0ef6 --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala @@ -0,0 +1,34 @@ +package amf.apicontract.internal.spec.avro.parser.domain + +import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.core.client.scala.model.domain.ScalarNode +import amf.core.client.scala.vocabulary.Namespace.XsdTypes +import amf.core.internal.parser.{YMapOps, YScalarYRead} +import amf.shapes.client.scala.model.domain.AnyShape +import amf.shapes.internal.domain.metamodel.AnyShapeModel +import org.yaml.model._ + +class AvroEnumParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroScalarShapeParser("string", Some(map)) { + + override def parse(): AnyShape = { + val shape = super.parse() + map.key("name", (AnyShapeModel.Name in shape).allowingAnnotations) + map.key("namespace", (AnyShapeModel.AvroNamespace in shape).allowingAnnotations) + map.key("aliases", (AnyShapeModel.Aliases in shape).allowingAnnotations) + map.key("doc", (AnyShapeModel.Description in shape).allowingAnnotations) + map + .key("symbols") + .map(parseSymbols) + .map(shape.withValues) + + // todo: parse default + shape + } + + private def parseSymbols(e: YMapEntry): Seq[ScalarNode] = { + val symbols = e.value.as[YSequence] + symbols.nodes.map(buildDataNode) + } + + private def buildDataNode(symbol: YNode) = ScalarNode(symbol.as[YScalar].text, Some(XsdTypes.xsdString.iri()), symbol) +} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroFixedShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroFixedShapeParser.scala new file mode 100644 index 0000000000..c2f23968d0 --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroFixedShapeParser.scala @@ -0,0 +1,23 @@ +package amf.apicontract.internal.spec.avro.parser.domain + +import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.core.client.scala.vocabulary.Namespace.Xsd +import amf.core.internal.parser.YMapOps +import amf.core.internal.parser.domain.Annotations +import amf.shapes.client.scala.model.domain.{AnyShape, ScalarShape} +import amf.shapes.internal.domain.metamodel.AnyShapeModel +import org.yaml.model.YMap + +case class AvroFixedShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroShapeBaseParser(map) { + + override def parse(): AnyShape = { + val datatype = Xsd.base + "fixed" // todo: is this correct? necessary? same question as scalar shape parser + val shape = ScalarShape(Annotations(map)).withDataType(datatype, Annotations(map.entries.head)) + map.key("name", AnyShapeModel.Name in shape) + map.key("namespace", (AnyShapeModel.AvroNamespace in shape).allowingAnnotations) + map.key("aliases", (AnyShapeModel.Aliases in shape).allowingAnnotations) + map.key("doc", (AnyShapeModel.Description in shape).allowingAnnotations) + map.key("size", (AnyShapeModel.Size in shape).allowingAnnotations) + shape + } +} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroMapShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroMapShapeParser.scala new file mode 100644 index 0000000000..0838c4672b --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroMapShapeParser.scala @@ -0,0 +1,12 @@ +package amf.apicontract.internal.spec.avro.parser.domain + +import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.shapes.client.scala.model.domain.{AnyShape, NodeShape} +import org.yaml.model.YMap + +case class AvroMapShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) + extends AvroCollectionShapeParser[NodeShape](map, "values") { + // TODO: parse defaults + override val shape: NodeShape = NodeShape(map) + override def setMembers(anyShape: AnyShape): Unit = shape.withAdditionalPropertiesSchema(anyShape) +} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala new file mode 100644 index 0000000000..259a39adcf --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala @@ -0,0 +1,52 @@ +package amf.apicontract.internal.spec.avro.parser.domain + +import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.core.client.scala.model.domain.extensions.PropertyShape +import amf.core.internal.metamodel.domain.ShapeModel +import amf.core.internal.metamodel.domain.extensions.PropertyShapeModel +import amf.core.internal.parser.YMapOps +import amf.core.internal.parser.domain.Annotations +import amf.shapes.client.scala.model.domain.{AnyShape, NodeShape} +import amf.shapes.internal.domain.metamodel.AnyShapeModel +import org.yaml.model.{YMap, YMapEntry, YNode} + +class AvroRecordParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroShapeBaseParser(map) { + private val shape = NodeShape(map) + + override def parse(): NodeShape = { + map.key("name", (AnyShapeModel.Name in shape).allowingAnnotations) + map.key("namespace", (AnyShapeModel.AvroNamespace in shape).allowingAnnotations) + map.key("doc", (ShapeModel.Description in shape).allowingAnnotations) + map.key("aliases", (AnyShapeModel.Aliases in shape).allowingAnnotations) + map.key("fields", parseFieldsEntry) + // todo: parse default + shape + } + + def parseFieldsEntry(e: YMapEntry): Unit = { + val fields = e.value.as[Seq[YMap]].flatMap(parseField) + shape.withProperties(fields) + } + + def parseField(map: YMap): Option[PropertyShape] = { + val maybeShape: Option[PropertyShape] = AvroRecordFieldParser(map).parse().map(buildProperty) + maybeShape.foreach { p => + map.key("order", PropertyShapeModel.SerializationOrder in p) + } + maybeShape + } + + def buildProperty(anyShape: AnyShape): PropertyShape = + PropertyShape(Annotations.virtual()).withName("field").withRange(anyShape) + +} + +// todo: analyze defaulting to base shape parser instead +case class AvroRecordFieldParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroShapeParser(map) { + override def parseTypeEntry(value: YNode): Option[AnyShape] = { + value.asOption[YMap] match { + case Some(map) => AvroRecordFieldParser(map).parse() + case _ => super.parseTypeEntry(value) + } + } +} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala new file mode 100644 index 0000000000..6b8d843515 --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala @@ -0,0 +1,28 @@ +package amf.apicontract.internal.spec.avro.parser.domain + +import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.core.client.scala.vocabulary.Namespace.Xsd +import amf.core.internal.parser.domain.Annotations +import amf.shapes.client.scala.model.domain.{AnyShape, NilShape, ScalarShape} +import amf.shapes.internal.domain.parser.XsdTypeDefMapping +import org.yaml.model.YMap + +/** parses primitive avro types such as null, boolean, int, long, float, double, bytes */ +case class AvroScalarShapeParser(`type`: String, maybeMap: Option[YMap])(implicit ctx: AvroSchemaContext) + extends AvroShapeBaseParser(maybeMap.getOrElse(YMap.empty)) { + + private val defaultAnnotations = (Annotations.virtual(), Annotations.inferred()) + private val (annotations, typeAnnotations): (Annotations, Annotations) = + maybeMap.map(annotationsFromMap).getOrElse(defaultAnnotations) + + private def annotationsFromMap(map: YMap) = (Annotations(map), Annotations(map.entries.head)) + private def nilShape = NilShape(annotations).withName(`type`) + private def scalarShape = ScalarShape(annotations).withName(`type`).withDataType(dataType, typeAnnotations) + private def dataType: String = { + // todo: bytes is ok as xsd#bytes? or shall we use format? + // todo: maybe use TypeDef? investigate map to see if it has the info inside, validate that is a valid AVRO primitive type + XsdTypeDefMapping.xsdFromString(`type`)._1.getOrElse(Xsd.base + `type`) + } + + override def parse(): AnyShape = if (`type` == "null") nilShape else scalarShape +} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala new file mode 100644 index 0000000000..2fd625c589 --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala @@ -0,0 +1,26 @@ +package amf.apicontract.internal.spec.avro.parser.domain + +import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.core.internal.parser.YMapOps +import amf.shapes.client.scala.model.domain.AnyShape +import amf.shapes.internal.spec.common.parser.QuickFieldParserOps +import org.yaml.model.{YMap, YNode} + +abstract class AvroShapeBaseParser(map: YMap)(implicit ctx: AvroSchemaContext) + extends QuickFieldParserOps + with AvroKeyExtractor { + + def parse(): AnyShape +} + +trait AvroKeyExtractor { + implicit class YMapKeys(map: YMap) { + def typeValue: Option[YNode] = map.key("type").map(_.value) + def `type`: Option[String] = typeValue.flatMap(_.asScalar).map(_.text) + } + + implicit class StringAvroOps(value: String) { + def isPrimitive: Boolean = + Seq("null", "boolean", "int", "long", "float", "double", "bytes", "string").contains(value) + } +} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala new file mode 100644 index 0000000000..e6f5c18ffb --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala @@ -0,0 +1,50 @@ +package amf.apicontract.internal.spec.avro.parser.domain +import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.apicontract.internal.validation.definitions.ParserSideValidations.InvalidTypesType +import amf.shapes.client.scala.model.domain.AnyShape +import amf.shapes.internal.annotations.IsAVROSchema +import org.yaml.model.{YMap, YNode, YScalar, YType} + +class AvroShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroKeyExtractor { + val typeValue: Option[YNode] = map.typeValue + + def parse(): Option[AnyShape] = typeValue.flatMap(parseTypeEntry) + + def parseTypeEntry(value: YNode): Option[AnyShape] = { + val (maybeShape, avroType) = value.tagType match { + case YType.Seq => + val union = parseUnion(value.as[Seq[YNode]]) + (Some(union), "union") + case YType.Str => + val specificType = value.as[YScalar].text + (Some(parseType(specificType)), specificType) + case other => + ctx.violation(InvalidTypesType, "", s"Invalid tag type $other for type name", value.location) + (None, "invalid avro type") + } + maybeShape.map(_.annotations += IsAVROSchema(avroType)) + maybeShape + } + + private def parseUnion(members: Seq[YNode]): AnyShape = AvroUnionShapeParser(members, map).parse() + + private def parseType(name: String): AnyShape = { + name match { + case "map" => parseMap() + case "array" => parseArray() + case "record" => parseRecord() + case "enum" => parseEnum() + case "fixed" => parseFixed() + case _ if name.isPrimitive => parsePrimitiveType(name) + case _ => AnyShape() // ignore todo: validate UnsuppportedTypeValidation() + } + } + + private def parseRecord() = new AvroRecordParser(map).parse() + + private def parseEnum(): AnyShape = new AvroEnumParser(map).parse() + private def parsePrimitiveType(`type`: String): AnyShape = AvroScalarShapeParser(`type`, Some(map)).parse() + private def parseFixed(): AnyShape = AvroFixedShapeParser(map).parse() + private def parseMap(): AnyShape = AvroMapShapeParser(map).parse() + private def parseArray(): AnyShape = AvroArrayShapeParser(map).parse() +} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextParser.scala new file mode 100644 index 0000000000..948ae4d3e4 --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextParser.scala @@ -0,0 +1,12 @@ +package amf.apicontract.internal.spec.avro.parser.domain + +import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.shapes.client.scala.model.domain.AnyShape +import org.yaml.model.{YNode, YScalar} + +case class AvroTextParser(node: YNode)(implicit ctx: AvroSchemaContext) extends AvroKeyExtractor { + def parse(): AnyShape = { + val name = node.as[YScalar].text + AvroScalarShapeParser(name, None).parse() + } +} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala new file mode 100644 index 0000000000..ba280afad1 --- /dev/null +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala @@ -0,0 +1,16 @@ +package amf.apicontract.internal.spec.avro.parser.domain + +import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.shapes.client.scala.model.domain.{AnyShape, UnionShape} +import org.yaml.model.YNode + +case class AvroUnionShapeParser(members: Seq[YNode], node: YNode)(implicit ctx: AvroSchemaContext) { + + // todo: parse default, should be the default value of the first element of the union (usually null) + def parse(): AnyShape = { + val shape = UnionShape(node).withName("union") + val parsedMembers = members.map(node => AvroTextParser(node).parse()) + shape.withAnyOf(parsedMembers) + } + +} 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 da8087fc97..1e564bc7b0 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 @@ -85,6 +85,7 @@ class ApiReferenceHandler(spec: String) extends ReferenceHandler { case Raml10.id | Raml08.id => ramlLinks(part) case Oas20.id | Oas30.id | AwsOas30.id => oasLinks(part) case JsonSchema.id => oasLinks(part) + case AvroSchema.id => oasLinks(part) // TODO: what to put here? case AsyncApi20.id => oasLinks(part) ramlLinks(part) diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json new file mode 100644 index 0000000000..5b9ceb910a --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json @@ -0,0 +1,5 @@ +{ + "type": "array", + "items": "string", + "default": [] +} \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld new file mode 100644 index 0000000000..7b5666572e --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld @@ -0,0 +1,87 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/array.json#/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/cycle/avro/array.json#/array/default-array/scalar/string", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "string" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/array/default-array/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/array/default-array/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "array" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json new file mode 100644 index 0000000000..070b7cacb4 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json @@ -0,0 +1,10 @@ +{ + "type": "enum", + "name": "Suit", + "symbols": [ + "SPADES", + "HEARTS", + "DIAMONDS", + "CLUBS" + ] +} \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.jsonld new file mode 100644 index 0000000000..f5d02b8e76 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.jsonld @@ -0,0 +1,161 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/enum.json#/scalar/Suit", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "Suit" + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit/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/cycle/avro/enum.json#/scalar/Suit/in/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "SPADES" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit/in/data-node_1", + "@type": [ + "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": "HEARTS" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit/in/data-node_2", + "@type": [ + "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": "DIAMONDS" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit/in/data-node_3", + "@type": [ + "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": "CLUBS" + } + ], + "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/cycle/avro/enum.json#/scalar/Suit/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "enum" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json new file mode 100644 index 0000000000..698d0f7997 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json @@ -0,0 +1,5 @@ +{ + "type": "fixed", + "size": 16, + "name": "md5" +} \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.jsonld new file mode 100644 index 0000000000..3a51b0d2dc --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.jsonld @@ -0,0 +1,80 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/fixed.json#/scalar/md5", + "@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#fixed" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "md5" + } + ], + "http://a.ml/vocabularies/shapes#size": [ + { + "@value": 16 + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json#/scalar/md5/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json#/scalar/md5/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json#/scalar/md5" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "fixed" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json new file mode 100644 index 0000000000..578248d387 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json @@ -0,0 +1,5 @@ +{ + "type": "map", + "values": "long", + "default": {} +} \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld new file mode 100644 index 0000000000..f17aa26913 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld @@ -0,0 +1,87 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/map.json#/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#additionalPropertiesSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/scalar/long", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "long" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "map" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json new file mode 100644 index 0000000000..bde7971588 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json @@ -0,0 +1,20 @@ +{ + "type": "record", + "name": "LongList", + "aliases": [ + "LinkedLongs" + ], + "fields": [ + { + "name": "value", + "type": "long" + }, + { + "name": "next", + "type": [ + "null", + "LongList" + ] + } + ] +} \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld new file mode 100644 index 0000000000..e4cb0d6cbe --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld @@ -0,0 +1,226 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/record.json#/shape/LongList", + "@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/cycle/avro/record.json#/shape/LongList/property/property/field", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/long", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "long" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/long/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/long/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/long" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "long" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union", + "@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/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union/anyOf/scalar/LongList", + "@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#LongList" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "LongList" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "union" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "LongList" + } + ], + "http://a.ml/vocabularies/shapes#aliases": [ + { + "@value": "LinkedLongs" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/validations/avro/valid-avro-in-components.yaml b/amf-cli/shared/src/test/resources/validations/avro/valid-avro-in-components.yaml new file mode 100644 index 0000000000..2de38e74a9 --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/avro/valid-avro-in-components.yaml @@ -0,0 +1,50 @@ +asyncapi: 2.4.0 +info: + title: My API + version: '1.0.0' + +channels: + myChannel: + publish: + message: + $ref: '#/components/messages/testMessage' # todo: ref to brother file + +components: + messages: + testMessage: + schemaFormat: 'application/vnd.apache.avro;version=1.9.0' + payload: + name: Person + type: record + fields: + - name: name + type: string + example: Donkey + - name: age + type: + - 'null' + - int + default: + example: 123 + - name: favoriteProgrammingLanguage + type: + name: ProgrammingLanguage + type: enum + symbols: + - JS + - Java + - Go + - Rust + - C + default: JS + - name: address + type: + name: Address + type: record + fields: + - name: zipcode + type: int + example: 53003 + - name: someid + type: string + logicalType: uuid \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/validations/avro/valid-avro-schema.yaml b/amf-cli/shared/src/test/resources/validations/avro/valid-avro-schema.yaml new file mode 100644 index 0000000000..533ad04d0d --- /dev/null +++ b/amf-cli/shared/src/test/resources/validations/avro/valid-avro-schema.yaml @@ -0,0 +1,45 @@ +asyncapi: 2.4.0 +info: + title: My API + version: '1.0.0' + +channels: + myChannel: + publish: + message: + schemaFormat: 'application/vnd.apache.avro;version=1.9.0' + payload: + name: Person + type: record + fields: + - name: name + type: string + example: Donkey + - name: age + type: + - 'null' + - int + default: + example: 123 + - name: favoriteProgrammingLanguage + type: + name: ProgrammingLanguage + type: enum + symbols: + - JS + - Java + - Go + - Rust + - C + default: JS + - name: address + type: + name: Address + type: record + fields: + - name: zipcode + type: int + example: 53003 + - name: someid + type: string + logicalType: uuid \ No newline at end of file diff --git a/amf-cli/shared/src/test/scala/amf/cycle/AvroSchemaCycleTest.scala b/amf-cli/shared/src/test/scala/amf/cycle/AvroSchemaCycleTest.scala new file mode 100644 index 0000000000..2d68c7b501 --- /dev/null +++ b/amf-cli/shared/src/test/scala/amf/cycle/AvroSchemaCycleTest.scala @@ -0,0 +1,41 @@ +package amf.cycle +import amf.apicontract.client.scala.{AMFConfiguration, AvroConfiguration} +import amf.core.client.scala.config.RenderOptions +import amf.core.client.scala.errorhandling.{AMFErrorHandler, IgnoringErrorHandler} +import amf.core.internal.remote.{AmfJsonHint, AvroHint} +import amf.io.FunSuiteCycleTests +import org.scalatest.Assertion + +import scala.concurrent.Future +class AvroSchemaCycleTest extends FunSuiteCycleTests { + override def buildConfig(options: Option[RenderOptions], eh: Option[AMFErrorHandler]): AMFConfiguration = { + AvroConfiguration + .Avro() + .withRenderOptions(renderOptions().withPrettyPrint) + .withErrorHandlerProvider(() => IgnoringErrorHandler) + } + + override def basePath: String = "amf-cli/shared/src/test/resources/upanddown/cycle/avro/" + + def cycle(source: String, target: String): Future[Assertion] = cycle(source, target, AvroHint, AmfJsonHint) + + test("Can parse an array") { + cycle("array.json", "array.jsonld") + } + + test("Can parse an enum") { + cycle("enum.json", "enum.jsonld") + } + + test("Can parse a fixed shape") { + cycle("fixed.json", "fixed.jsonld") + } + + test("Can parse a map") { + cycle("map.json", "map.jsonld") + } + + test("Can parse a record") { + cycle("record.json", "record.jsonld") + } +} diff --git a/amf-cli/shared/src/test/scala/amf/validation/AMFModelAssertionTest.scala b/amf-cli/shared/src/test/scala/amf/validation/AMFModelAssertionTest.scala index 8733fe10da..ae3e01e666 100644 --- a/amf-cli/shared/src/test/scala/amf/validation/AMFModelAssertionTest.scala +++ b/amf-cli/shared/src/test/scala/amf/validation/AMFModelAssertionTest.scala @@ -14,7 +14,7 @@ import amf.core.internal.parser.domain.Annotations import amf.core.internal.remote.Mimes import amf.graphql.client.scala.GraphQLConfiguration import amf.shapes.client.scala.model.domain._ -import amf.shapes.internal.annotations.{BaseVirtualNode, TargetName} +import amf.shapes.internal.annotations.{BaseVirtualNode, IsAVROSchema, TargetName} import amf.shapes.internal.domain.metamodel.AnyShapeModel import amf.testing.BaseUnitUtils._ import amf.testing.ConfigProvider.configFor @@ -677,4 +677,16 @@ class AMFModelAssertionTest extends AsyncFunSuite with Matchers { } } } + + // W-15633176 + test("parse AVRO Schema in an Async API") { + val api = s"$basePath/avro/valid-avro-schema.yaml" + asyncClient.parse(api) flatMap { parseResult => + val transformResult = asyncClient.transform(parseResult.baseUnit) + val transformBU = transformResult.baseUnit + + val schema = getFirstRequestPayload(transformBU, isWebApi = false).schema + schema.annotations.contains(classOf[IsAVROSchema]) shouldBe true + } + } } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/SchemaVersion.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/SchemaVersion.scala index e51d82cdc3..67ed3e9727 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/SchemaVersion.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/SchemaVersion.scala @@ -84,3 +84,6 @@ object JSONSchemaDraft7SchemaVersion extends JSONSchemaVersion("draft-7", "http: object JSONSchemaDraft201909SchemaVersion extends JSONSchemaVersion("draft-2019-09", "http://json-schema.org/draft/2019-09/schema#") object JSONSchemaUnspecifiedVersion extends JSONSchemaVersion("", "") + +// ~~~~~~~~~~~~~~~~~~~~~~~~ AVRO ~~~~~~~~~~~~~~~~~~~~~~~~ +case class AVROSchema(avroType: String = "") extends SchemaVersion("avro") From 2ccc324c846dfa4c7f01541727386cee81086a03 Mon Sep 17 00:00:00 2001 From: arielmirra Date: Tue, 11 Jun 2024 16:49:26 -0300 Subject: [PATCH 12/30] W-15633184: refactor ScalarShapeParser to use DataType --- .../avro/parser/domain/AvroRecordParser.scala | 1 + .../parser/domain/AvroScalarShapeParser.scala | 18 ++--- .../upanddown/cycle/avro/record.jsonld | 13 +--- .../domain/parser/XsdTypeDefMapping.scala | 68 +++++++++---------- 4 files changed, 45 insertions(+), 55 deletions(-) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala index 259a39adcf..f2b88397c4 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala @@ -29,6 +29,7 @@ class AvroRecordParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroS } def parseField(map: YMap): Option[PropertyShape] = { + // todo: support name and aliases parsed in field types val maybeShape: Option[PropertyShape] = AvroRecordFieldParser(map).parse().map(buildProperty) maybeShape.foreach { p => map.key("order", PropertyShapeModel.SerializationOrder in p) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala index 6b8d843515..3d9cdadc65 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala @@ -1,28 +1,28 @@ package amf.apicontract.internal.spec.avro.parser.domain import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.core.client.scala.model.DataType import amf.core.client.scala.vocabulary.Namespace.Xsd import amf.core.internal.parser.domain.Annotations import amf.shapes.client.scala.model.domain.{AnyShape, NilShape, ScalarShape} import amf.shapes.internal.domain.parser.XsdTypeDefMapping import org.yaml.model.YMap -/** parses primitive avro types such as null, boolean, int, long, float, double, bytes */ +/** parses primitive avro types such as null, boolean, int, long, float, double, bytes, string */ case class AvroScalarShapeParser(`type`: String, maybeMap: Option[YMap])(implicit ctx: AvroSchemaContext) extends AvroShapeBaseParser(maybeMap.getOrElse(YMap.empty)) { + private val avroPrimitiveTypes = Set("null", "boolean", "int", "long", "float", "double", "bytes", "string") private val defaultAnnotations = (Annotations.virtual(), Annotations.inferred()) private val (annotations, typeAnnotations): (Annotations, Annotations) = maybeMap.map(annotationsFromMap).getOrElse(defaultAnnotations) private def annotationsFromMap(map: YMap) = (Annotations(map), Annotations(map.entries.head)) - private def nilShape = NilShape(annotations).withName(`type`) - private def scalarShape = ScalarShape(annotations).withName(`type`).withDataType(dataType, typeAnnotations) - private def dataType: String = { - // todo: bytes is ok as xsd#bytes? or shall we use format? - // todo: maybe use TypeDef? investigate map to see if it has the info inside, validate that is a valid AVRO primitive type - XsdTypeDefMapping.xsdFromString(`type`)._1.getOrElse(Xsd.base + `type`) - } - override def parse(): AnyShape = if (`type` == "null") nilShape else scalarShape + override def parse(): AnyShape = `type` match { + case "null" => NilShape(annotations).withName(`type`) + case s if avroPrimitiveTypes.contains(s) => + ScalarShape(annotations).withName(`type`).withDataType(DataType(`type`), typeAnnotations) + case _ => AnyShape(annotations) + } } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld index e4cb0d6cbe..637e726e6b 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld @@ -112,23 +112,12 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union/anyOf/scalar/LongList", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union/anyOf/any/default-any", "@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#LongList" - } - ], - "http://www.w3.org/ns/shacl#name": [ - { - "@value": "LongList" - } ] } ], diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/parser/XsdTypeDefMapping.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/parser/XsdTypeDefMapping.scala index 719ad2a351..e60e45e1d4 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/parser/XsdTypeDefMapping.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/parser/XsdTypeDefMapping.scala @@ -28,7 +28,7 @@ object XsdTypeDefMapping { case _ => throw new RuntimeException("Unknown mapping") } - /** for 0.8 */ + /** for RAML 0.8 */ def xsdFromString(text: String): (Option[String], Option[String]) = text match { case "string" => (Some(DataType.String), Some("")) @@ -56,47 +56,47 @@ object TypeDefXsdMapping { def typeDef08(iri: String): String = iri match { - case s if s == DataType.String => "string" - case s if s == DataType.Integer => "integer" - case s if s == DataType.Number => "number" - case s if s == DataType.Float => "number" - case s if s == DataType.Double => "number" - case s if s == DataType.Boolean => "boolean" - case s if s == DataType.DateTime => "date" - case s if s == DataType.File => "file" - case s => throw new RuntimeException(s"Unknown mapping: $s") + case DataType.String => "string" + case DataType.Integer => "integer" + case DataType.Number => "number" + case DataType.Float => "number" + case DataType.Double => "number" + case DataType.Boolean => "boolean" + case DataType.DateTime => "date" + case DataType.File => "file" + case s => throw new RuntimeException(s"Unknown mapping: $s") } def type08Def(iri: String): TypeDef = iri match { - case s if s == DataType.String => StrType - case s if s == DataType.Integer => IntType - case s if s == DataType.Float => FloatType - case s if s == DataType.Number => NumberType - case s if s == DataType.Boolean => BoolType - case s if s == DataType.DateTime => DateTimeType - case s if s == DataType.File => FileType - case s => throw new RuntimeException(s"Unknown mapping: $s") + case DataType.String => StrType + case DataType.Integer => IntType + case DataType.Float => FloatType + case DataType.Number => NumberType + case DataType.Boolean => BoolType + case DataType.DateTime => DateTimeType + case DataType.File => FileType + case s => throw new RuntimeException(s"Unknown mapping: $s") } def typeDef(iri: String): TypeDef = iri match { - case s if s == DataType.String => StrType - case s if s == DataType.Integer => IntType - case s if s == DataType.Long => LongType - case s if s == DataType.Float => FloatType - case s if s == DataType.Double => DoubleType - case s if s == DataType.Number => NumberType - case s if s == DataType.Boolean => BoolType - case s if s == DataType.DateTime => DateTimeType - case s if s == DataType.DateTimeOnly => DateTimeOnlyType - case s if s == DataType.Time => TimeOnlyType - case s if s == DataType.Date => DateOnlyType - case s if s == DataType.Byte => ByteType - case s if s == DataType.Binary => BinaryType - case s if s == DataType.Password => PasswordType - case s if s == DataType.Nil => NilType - case _ => UndefinedType + case DataType.String => StrType + case DataType.Integer => IntType + case DataType.Long => LongType + case DataType.Float => FloatType + case DataType.Double => DoubleType + case DataType.Number => NumberType + case DataType.Boolean => BoolType + case DataType.DateTime => DateTimeType + case DataType.DateTimeOnly => DateTimeOnlyType + case DataType.Time => TimeOnlyType + case DataType.Date => DateOnlyType + case DataType.Byte => ByteType + case DataType.Binary => BinaryType + case DataType.Password => PasswordType + case DataType.Nil => NilType + case _ => UndefinedType } def typeDef(iri: String, format: String): TypeDef = typeDef(iri) match { From a45d3d0e1f98f381dd246b28dde8c1c8892aa871 Mon Sep 17 00:00:00 2001 From: arielmirra Date: Tue, 11 Jun 2024 18:00:56 -0300 Subject: [PATCH 13/30] fix: rename avro schema annotation --- .../internal/spec/avro/parser/domain/AvroShapeParser.scala | 4 ++-- .../test/scala/amf/validation/AMFModelAssertionTest.scala | 4 ++-- .../scala/amf/shapes/internal/annotations/Annotations.scala | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala index e6f5c18ffb..d77cba02a1 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala @@ -2,7 +2,7 @@ package amf.apicontract.internal.spec.avro.parser.domain import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext import amf.apicontract.internal.validation.definitions.ParserSideValidations.InvalidTypesType import amf.shapes.client.scala.model.domain.AnyShape -import amf.shapes.internal.annotations.IsAVROSchema +import amf.shapes.internal.annotations.AVROSchemaType import org.yaml.model.{YMap, YNode, YScalar, YType} class AvroShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroKeyExtractor { @@ -22,7 +22,7 @@ class AvroShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroKe ctx.violation(InvalidTypesType, "", s"Invalid tag type $other for type name", value.location) (None, "invalid avro type") } - maybeShape.map(_.annotations += IsAVROSchema(avroType)) + maybeShape.map(_.annotations += AVROSchemaType(avroType)) maybeShape } diff --git a/amf-cli/shared/src/test/scala/amf/validation/AMFModelAssertionTest.scala b/amf-cli/shared/src/test/scala/amf/validation/AMFModelAssertionTest.scala index ae3e01e666..46d5d008a1 100644 --- a/amf-cli/shared/src/test/scala/amf/validation/AMFModelAssertionTest.scala +++ b/amf-cli/shared/src/test/scala/amf/validation/AMFModelAssertionTest.scala @@ -14,7 +14,7 @@ import amf.core.internal.parser.domain.Annotations import amf.core.internal.remote.Mimes import amf.graphql.client.scala.GraphQLConfiguration import amf.shapes.client.scala.model.domain._ -import amf.shapes.internal.annotations.{BaseVirtualNode, IsAVROSchema, TargetName} +import amf.shapes.internal.annotations.{BaseVirtualNode, AVROSchemaType, TargetName} import amf.shapes.internal.domain.metamodel.AnyShapeModel import amf.testing.BaseUnitUtils._ import amf.testing.ConfigProvider.configFor @@ -686,7 +686,7 @@ class AMFModelAssertionTest extends AsyncFunSuite with Matchers { val transformBU = transformResult.baseUnit val schema = getFirstRequestPayload(transformBU, isWebApi = false).schema - schema.annotations.contains(classOf[IsAVROSchema]) shouldBe true + schema.annotations.contains(classOf[AVROSchemaType]) shouldBe true } } } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/annotations/Annotations.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/annotations/Annotations.scala index 6b84ff22c6..ea6da71667 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/annotations/Annotations.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/annotations/Annotations.scala @@ -15,13 +15,13 @@ object ParsedJSONSchema extends AnnotationGraphLoader { Some(ParsedJSONSchema(value)) } -case class IsAVROSchema(avroType: String) extends EternalSerializedAnnotation { +case class AVROSchemaType(avroType: String) extends EternalSerializedAnnotation { override val name: String = "avro-schema" override val value: String = avroType } -object IsAVROSchema { - def unparse(avroType: String): Option[Annotation] = Some(IsAVROSchema(avroType)) +object AVROSchemaType { + def unparse(avroType: String): Option[Annotation] = Some(AVROSchemaType(avroType)) } case class DocumentDeclarationKey(key: String) extends EternalSerializedAnnotation { From b6a1d305c6fb95e1edf65a547451107034d1536e Mon Sep 17 00:00:00 2001 From: arielmirra Date: Tue, 11 Jun 2024 18:04:02 -0300 Subject: [PATCH 14/30] fix: PR feedback, fix code smells --- .../spec/async/emitters/domain/AsyncSchemaEmitter.scala | 1 + .../internal/spec/avro/parser/domain/AvroShapeParser.scala | 6 +++--- .../spec/common/reference/ApiReferenceHandler.scala | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/domain/AsyncSchemaEmitter.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/domain/AsyncSchemaEmitter.scala index f64f809a0f..eb0c8c69b4 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/domain/AsyncSchemaEmitter.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/emitters/domain/AsyncSchemaEmitter.scala @@ -59,6 +59,7 @@ case class AsyncSchemaEmitter( key, b => { val newCtx = new Async20SpecEmitterContext(spec.eh, config = spec.renderConfig, schemaVersion = schemaVersion) + // todo: call a specific AVRO Schema emitter (tbd in W-15633198) OasTypePartEmitter(shape, ordering, references = references)(OasLikeShapeEmitterContextAdapter(newCtx)) .emit(b) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala index d77cba02a1..cc2650e7ce 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala @@ -36,12 +36,12 @@ class AvroShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroKe case "enum" => parseEnum() case "fixed" => parseFixed() case _ if name.isPrimitive => parsePrimitiveType(name) - case _ => AnyShape() // ignore todo: validate UnsuppportedTypeValidation() + // todo: should validate invalid type when using the AVRO Validator, maybe save raw json in an annotation. + case _ => AnyShape() // ignore } } - private def parseRecord() = new AvroRecordParser(map).parse() - + private def parseRecord() = new AvroRecordParser(map).parse() private def parseEnum(): AnyShape = new AvroEnumParser(map).parse() private def parsePrimitiveType(`type`: String): AnyShape = AvroScalarShapeParser(`type`, Some(map)).parse() private def parseFixed(): AnyShape = AvroFixedShapeParser(map).parse() 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 1e564bc7b0..f30c76d99e 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 @@ -85,10 +85,10 @@ class ApiReferenceHandler(spec: String) extends ReferenceHandler { case Raml10.id | Raml08.id => ramlLinks(part) case Oas20.id | Oas30.id | AwsOas30.id => oasLinks(part) case JsonSchema.id => oasLinks(part) - case AvroSchema.id => oasLinks(part) // TODO: what to put here? case AsyncApi20.id => oasLinks(part) ramlLinks(part) + case _ => // ignore } } From 55eb2139b7a7a0f02c029e4356b98645ed04d075 Mon Sep 17 00:00:00 2001 From: arielmirra Date: Tue, 11 Jun 2024 19:25:43 -0300 Subject: [PATCH 15/30] W-15633184: parse common avro fields in base parser --- .../domain/AvroCollectionShapeParser.scala | 2 +- .../avro/parser/domain/AvroEnumParser.scala | 18 ++++++++---------- .../parser/domain/AvroFixedShapeParser.scala | 11 +++-------- .../avro/parser/domain/AvroRecordParser.scala | 17 +++++------------ .../parser/domain/AvroScalarShapeParser.scala | 12 +++++++----- .../parser/domain/AvroShapeBaseParser.scala | 13 ++++++++++++- .../avro/parser/domain/AvroShapeParser.scala | 4 ++-- .../parser/domain/AvroUnionShapeParser.scala | 1 - .../upanddown/cycle/avro/record.jsonld | 13 +++++++------ 9 files changed, 45 insertions(+), 46 deletions(-) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala index 0b4eca27c9..623acac137 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala @@ -11,7 +11,7 @@ abstract class AvroCollectionShapeParser[T <: AnyShape](map: YMap, membersKey: S protected def setMembers(anyShape: AnyShape): Unit - def parse(): AnyShape = { + override def parse(): AnyShape = { map .key(membersKey) .map(parseMembers) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala index 0bc6ce0ef6..f8028dc66b 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala @@ -1,28 +1,26 @@ package amf.apicontract.internal.spec.avro.parser.domain import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.core.client.scala.model.DataType import amf.core.client.scala.model.domain.ScalarNode -import amf.core.client.scala.vocabulary.Namespace.XsdTypes import amf.core.internal.parser.{YMapOps, YScalarYRead} import amf.shapes.client.scala.model.domain.AnyShape -import amf.shapes.internal.domain.metamodel.AnyShapeModel import org.yaml.model._ class AvroEnumParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroScalarShapeParser("string", Some(map)) { override def parse(): AnyShape = { val shape = super.parse() - map.key("name", (AnyShapeModel.Name in shape).allowingAnnotations) - map.key("namespace", (AnyShapeModel.AvroNamespace in shape).allowingAnnotations) - map.key("aliases", (AnyShapeModel.Aliases in shape).allowingAnnotations) - map.key("doc", (AnyShapeModel.Description in shape).allowingAnnotations) + parseSpecificFields() + shape + } + + override def parseSpecificFields(): Unit = { + // todo: parse default map .key("symbols") .map(parseSymbols) .map(shape.withValues) - - // todo: parse default - shape } private def parseSymbols(e: YMapEntry): Seq[ScalarNode] = { @@ -30,5 +28,5 @@ class AvroEnumParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroSca symbols.nodes.map(buildDataNode) } - private def buildDataNode(symbol: YNode) = ScalarNode(symbol.as[YScalar].text, Some(XsdTypes.xsdString.iri()), symbol) + private def buildDataNode(symbol: YNode) = ScalarNode(symbol.as[YScalar].text, Some(DataType.String), symbol) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroFixedShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroFixedShapeParser.scala index c2f23968d0..04c780cc80 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroFixedShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroFixedShapeParser.scala @@ -9,15 +9,10 @@ import amf.shapes.internal.domain.metamodel.AnyShapeModel import org.yaml.model.YMap case class AvroFixedShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroShapeBaseParser(map) { + override val shape: AnyShape = + ScalarShape(Annotations(map)).withDataType(Xsd.base + "fixed", Annotations(map.entries.head)) - override def parse(): AnyShape = { - val datatype = Xsd.base + "fixed" // todo: is this correct? necessary? same question as scalar shape parser - val shape = ScalarShape(Annotations(map)).withDataType(datatype, Annotations(map.entries.head)) - map.key("name", AnyShapeModel.Name in shape) - map.key("namespace", (AnyShapeModel.AvroNamespace in shape).allowingAnnotations) - map.key("aliases", (AnyShapeModel.Aliases in shape).allowingAnnotations) - map.key("doc", (AnyShapeModel.Description in shape).allowingAnnotations) + override def parseSpecificFields(): Unit = { map.key("size", (AnyShapeModel.Size in shape).allowingAnnotations) - shape } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala index f2b88397c4..aceb917179 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala @@ -2,28 +2,21 @@ package amf.apicontract.internal.spec.avro.parser.domain import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext import amf.core.client.scala.model.domain.extensions.PropertyShape -import amf.core.internal.metamodel.domain.ShapeModel import amf.core.internal.metamodel.domain.extensions.PropertyShapeModel import amf.core.internal.parser.YMapOps import amf.core.internal.parser.domain.Annotations import amf.shapes.client.scala.model.domain.{AnyShape, NodeShape} -import amf.shapes.internal.domain.metamodel.AnyShapeModel import org.yaml.model.{YMap, YMapEntry, YNode} class AvroRecordParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroShapeBaseParser(map) { - private val shape = NodeShape(map) + override val shape: NodeShape = NodeShape(map) - override def parse(): NodeShape = { - map.key("name", (AnyShapeModel.Name in shape).allowingAnnotations) - map.key("namespace", (AnyShapeModel.AvroNamespace in shape).allowingAnnotations) - map.key("doc", (ShapeModel.Description in shape).allowingAnnotations) - map.key("aliases", (AnyShapeModel.Aliases in shape).allowingAnnotations) - map.key("fields", parseFieldsEntry) + override def parseSpecificFields(): Unit = { // todo: parse default - shape + map.key("fields", parseFieldsEntry) } - def parseFieldsEntry(e: YMapEntry): Unit = { + private def parseFieldsEntry(e: YMapEntry): Unit = { val fields = e.value.as[Seq[YMap]].flatMap(parseField) shape.withProperties(fields) } @@ -37,7 +30,7 @@ class AvroRecordParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroS maybeShape } - def buildProperty(anyShape: AnyShape): PropertyShape = + private def buildProperty(anyShape: AnyShape): PropertyShape = PropertyShape(Annotations.virtual()).withName("field").withRange(anyShape) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala index 3d9cdadc65..913d78b028 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala @@ -2,11 +2,10 @@ package amf.apicontract.internal.spec.avro.parser.domain import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext import amf.core.client.scala.model.DataType -import amf.core.client.scala.vocabulary.Namespace.Xsd +import amf.core.internal.parser.YMapOps import amf.core.internal.parser.domain.Annotations import amf.shapes.client.scala.model.domain.{AnyShape, NilShape, ScalarShape} -import amf.shapes.internal.domain.parser.XsdTypeDefMapping -import org.yaml.model.YMap +import org.yaml.model.{YMap, YScalar} /** parses primitive avro types such as null, boolean, int, long, float, double, bytes, string */ case class AvroScalarShapeParser(`type`: String, maybeMap: Option[YMap])(implicit ctx: AvroSchemaContext) @@ -19,10 +18,13 @@ case class AvroScalarShapeParser(`type`: String, maybeMap: Option[YMap])(implici private def annotationsFromMap(map: YMap) = (Annotations(map), Annotations(map.entries.head)) + override val shape: ScalarShape = ScalarShape(annotations) + override def parse(): AnyShape = `type` match { case "null" => NilShape(annotations).withName(`type`) case s if avroPrimitiveTypes.contains(s) => - ScalarShape(annotations).withName(`type`).withDataType(DataType(`type`), typeAnnotations) - case _ => AnyShape(annotations) + val name: String = maybeMap.flatMap(_.key("name").map(_.value.as[YScalar].text)).getOrElse(`type`) + shape.withName(name).withDataType(DataType(`type`), typeAnnotations) + case _ => shape } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala index 2fd625c589..5429c1a1c4 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala @@ -3,14 +3,25 @@ package amf.apicontract.internal.spec.avro.parser.domain import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext import amf.core.internal.parser.YMapOps import amf.shapes.client.scala.model.domain.AnyShape +import amf.shapes.internal.domain.metamodel.AnyShapeModel import amf.shapes.internal.spec.common.parser.QuickFieldParserOps import org.yaml.model.{YMap, YNode} abstract class AvroShapeBaseParser(map: YMap)(implicit ctx: AvroSchemaContext) extends QuickFieldParserOps with AvroKeyExtractor { + val shape: AnyShape - def parse(): AnyShape + def parse(): AnyShape = { + map.key("name", AnyShapeModel.Name in shape) + map.key("namespace", (AnyShapeModel.AvroNamespace in shape).allowingAnnotations) + map.key("aliases", (AnyShapeModel.Aliases in shape).allowingAnnotations) + map.key("doc", (AnyShapeModel.Description in shape).allowingAnnotations) + parseSpecificFields() + shape + } + + def parseSpecificFields(): Unit = {} } trait AvroKeyExtractor { diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala index cc2650e7ce..9f7da611fa 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala @@ -18,8 +18,8 @@ class AvroShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroKe case YType.Str => val specificType = value.as[YScalar].text (Some(parseType(specificType)), specificType) - case other => - ctx.violation(InvalidTypesType, "", s"Invalid tag type $other for type name", value.location) + case _ => + // todo: should validate invalid type when using the AVRO Validator (None, "invalid avro type") } maybeShape.map(_.annotations += AVROSchemaType(avroType)) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala index ba280afad1..f0993175db 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala @@ -12,5 +12,4 @@ case class AvroUnionShapeParser(members: Seq[YNode], node: YNode)(implicit ctx: val parsedMembers = members.map(node => AvroTextParser(node).parse()) shape.withAnyOf(parsedMembers) } - } diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld index 637e726e6b..d68d5b6e02 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld @@ -29,7 +29,7 @@ ], "http://a.ml/vocabularies/shapes#range": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/long", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/value", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -44,21 +44,21 @@ ], "http://www.w3.org/ns/shacl#name": [ { - "@value": "long" + "@value": "value" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/long/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/value/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#avro-schema": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/long/source-map/avro-schema/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/value/source-map/avro-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/long" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/value" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -112,8 +112,9 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union/anyOf/any/default-any", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union/anyOf/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", From fe206056654969b96bf2e0e8d0699ab762ab88bd Mon Sep 17 00:00:00 2001 From: arielmirra Date: Wed, 12 Jun 2024 14:56:50 -0300 Subject: [PATCH 16/30] W-15633184: extract common fields parsing in base parser --- .../spec/avro/parser/domain/AvroRecordParser.scala | 4 ++-- .../avro/parser/domain/AvroScalarShapeParser.scala | 4 ++-- .../spec/avro/parser/domain/AvroShapeBaseParser.scala | 11 ++++++++--- .../spec/avro/parser/domain/AvroShapeParser.scala | 1 - .../spec/avro/parser/domain/AvroTextParser.scala | 4 ++-- .../avro/parser/domain/AvroUnionShapeParser.scala | 9 +++++---- 6 files changed, 19 insertions(+), 14 deletions(-) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala index aceb917179..e23ecac239 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala @@ -8,7 +8,8 @@ import amf.core.internal.parser.domain.Annotations import amf.shapes.client.scala.model.domain.{AnyShape, NodeShape} import org.yaml.model.{YMap, YMapEntry, YNode} -class AvroRecordParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroShapeBaseParser(map) { +class AvroRecordParser(map: YMap, types: Map[String, AnyShape] = Map())(implicit ctx: AvroSchemaContext) + extends AvroShapeBaseParser(map, types) { override val shape: NodeShape = NodeShape(map) override def parseSpecificFields(): Unit = { @@ -32,7 +33,6 @@ class AvroRecordParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroS private def buildProperty(anyShape: AnyShape): PropertyShape = PropertyShape(Annotations.virtual()).withName("field").withRange(anyShape) - } // todo: analyze defaulting to base shape parser instead diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala index 913d78b028..38f7068711 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala @@ -23,8 +23,8 @@ case class AvroScalarShapeParser(`type`: String, maybeMap: Option[YMap])(implici override def parse(): AnyShape = `type` match { case "null" => NilShape(annotations).withName(`type`) case s if avroPrimitiveTypes.contains(s) => - val name: String = maybeMap.flatMap(_.key("name").map(_.value.as[YScalar].text)).getOrElse(`type`) - shape.withName(name).withDataType(DataType(`type`), typeAnnotations) + parseCommonFields() + shape.withDataType(DataType(`type`), typeAnnotations) case _ => shape } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala index 5429c1a1c4..d5fea80a49 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala @@ -7,20 +7,25 @@ import amf.shapes.internal.domain.metamodel.AnyShapeModel import amf.shapes.internal.spec.common.parser.QuickFieldParserOps import org.yaml.model.{YMap, YNode} -abstract class AvroShapeBaseParser(map: YMap)(implicit ctx: AvroSchemaContext) +abstract class AvroShapeBaseParser(map: YMap, types: Map[String, AnyShape] = Map())(implicit ctx: AvroSchemaContext) extends QuickFieldParserOps with AvroKeyExtractor { val shape: AnyShape def parse(): AnyShape = { + parseCommonFields() + parseSpecificFields() + shape + } + + def parseCommonFields(): Unit = { map.key("name", AnyShapeModel.Name in shape) map.key("namespace", (AnyShapeModel.AvroNamespace in shape).allowingAnnotations) map.key("aliases", (AnyShapeModel.Aliases in shape).allowingAnnotations) map.key("doc", (AnyShapeModel.Description in shape).allowingAnnotations) - parseSpecificFields() - shape } + // each specific parser should override and parse it's specific fields def parseSpecificFields(): Unit = {} } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala index 9f7da611fa..d1a82faf46 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala @@ -1,6 +1,5 @@ package amf.apicontract.internal.spec.avro.parser.domain import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext -import amf.apicontract.internal.validation.definitions.ParserSideValidations.InvalidTypesType import amf.shapes.client.scala.model.domain.AnyShape import amf.shapes.internal.annotations.AVROSchemaType import org.yaml.model.{YMap, YNode, YScalar, YType} diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextParser.scala index 948ae4d3e4..9001832920 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextParser.scala @@ -6,7 +6,7 @@ import org.yaml.model.{YNode, YScalar} case class AvroTextParser(node: YNode)(implicit ctx: AvroSchemaContext) extends AvroKeyExtractor { def parse(): AnyShape = { - val name = node.as[YScalar].text - AvroScalarShapeParser(name, None).parse() + val `type` = node.as[YScalar].text + AvroScalarShapeParser(`type`, None).parse() } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala index f0993175db..2b325a34e0 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala @@ -2,13 +2,14 @@ package amf.apicontract.internal.spec.avro.parser.domain import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext import amf.shapes.client.scala.model.domain.{AnyShape, UnionShape} -import org.yaml.model.YNode +import org.yaml.model.{YMap, YNode} -case class AvroUnionShapeParser(members: Seq[YNode], node: YNode)(implicit ctx: AvroSchemaContext) { +case class AvroUnionShapeParser(members: Seq[YNode], node: YNode)(implicit ctx: AvroSchemaContext) + extends AvroShapeBaseParser(node.as[YMap]) { + override val shape: UnionShape = UnionShape(node).withName("union") // todo: parse default, should be the default value of the first element of the union (usually null) - def parse(): AnyShape = { - val shape = UnionShape(node).withName("union") + override def parseSpecificFields(): Unit = { val parsedMembers = members.map(node => AvroTextParser(node).parse()) shape.withAnyOf(parsedMembers) } From 7d2770e523692338029527bcde5785cef51df8c1 Mon Sep 17 00:00:00 2001 From: arielmirra Date: Wed, 12 Jun 2024 14:57:02 -0300 Subject: [PATCH 17/30] W-15633184: improve record fields parsing --- .../avro/parser/domain/AvroRecordParser.scala | 1 - .../parser/domain/AvroScalarShapeParser.scala | 3 +- .../parser/domain/AvroUnionShapeParser.scala | 2 +- .../upanddown/cycle/avro/array.jsonld | 7 +- .../resources/upanddown/cycle/avro/map.jsonld | 165 +++++++++--------- .../upanddown/cycle/avro/record.json | 6 + .../upanddown/cycle/avro/record.jsonld | 49 +++++- .../scala/amf/cycle/AvroSchemaCycleTest.scala | 2 +- 8 files changed, 132 insertions(+), 103 deletions(-) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala index e23ecac239..8976b4aedb 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala @@ -23,7 +23,6 @@ class AvroRecordParser(map: YMap, types: Map[String, AnyShape] = Map())(implicit } def parseField(map: YMap): Option[PropertyShape] = { - // todo: support name and aliases parsed in field types val maybeShape: Option[PropertyShape] = AvroRecordFieldParser(map).parse().map(buildProperty) maybeShape.foreach { p => map.key("order", PropertyShapeModel.SerializationOrder in p) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala index 38f7068711..aa0f38d899 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala @@ -2,10 +2,9 @@ package amf.apicontract.internal.spec.avro.parser.domain import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext import amf.core.client.scala.model.DataType -import amf.core.internal.parser.YMapOps import amf.core.internal.parser.domain.Annotations import amf.shapes.client.scala.model.domain.{AnyShape, NilShape, ScalarShape} -import org.yaml.model.{YMap, YScalar} +import org.yaml.model.YMap /** parses primitive avro types such as null, boolean, int, long, float, double, bytes, string */ case class AvroScalarShapeParser(`type`: String, maybeMap: Option[YMap])(implicit ctx: AvroSchemaContext) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala index 2b325a34e0..649caeb158 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala @@ -1,7 +1,7 @@ package amf.apicontract.internal.spec.avro.parser.domain import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext -import amf.shapes.client.scala.model.domain.{AnyShape, UnionShape} +import amf.shapes.client.scala.model.domain.UnionShape import org.yaml.model.{YMap, YNode} case class AvroUnionShapeParser(members: Seq[YNode], node: YNode)(implicit ctx: AvroSchemaContext) diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld index 7b5666572e..6c6f5e2978 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld @@ -20,7 +20,7 @@ ], "http://a.ml/vocabularies/shapes#items": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/array/default-array/scalar/string", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/array/default-array/scalar/default-scalar", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -32,11 +32,6 @@ { "@id": "http://www.w3.org/2001/XMLSchema#string" } - ], - "http://www.w3.org/ns/shacl#name": [ - { - "@value": "string" - } ] } ], diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld index f17aa26913..56063c6bb1 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld @@ -1,87 +1,82 @@ [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json", - "@type": [ - "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", - "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/cycle/avro/map.json#/shape/default-node", - "@type": [ - "http://www.w3.org/ns/shacl#NodeShape", - "http://a.ml/vocabularies/shapes#AnyShape", - "http://www.w3.org/ns/shacl#Shape", - "http://a.ml/vocabularies/shapes#Shape", - "http://a.ml/vocabularies/document#DomainElement" - ], - "http://www.w3.org/ns/shacl#additionalPropertiesSchema": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/scalar/long", - "@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://www.w3.org/ns/shacl#name": [ - { - "@value": "long" - } - ] - } - ], - "http://a.ml/vocabularies/document-source-maps#sources": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/source-map", - "@type": [ - "http://a.ml/vocabularies/document-source-maps#SourceMap" - ], - "http://a.ml/vocabularies/document-source-maps#avro-schema": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/source-map/avro-schema/element_0", - "http://a.ml/vocabularies/document-source-maps#element": [ - { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node" - } - ], - "http://a.ml/vocabularies/document-source-maps#value": [ - { - "@value": "map" - } - ] - } - ] - } - ] - } - ], - "http://a.ml/vocabularies/document#root": [ - { - "@value": true - } - ], - "http://a.ml/vocabularies/document#processingData": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/BaseUnitProcessingData", - "@type": [ - "http://a.ml/vocabularies/document#BaseUnitProcessingData" - ], - "http://a.ml/vocabularies/document#sourceSpec": [ - { - "@value": "Avro" - } - ] - } - ] - } +{ +"@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json", +"@type": [ +"http://a.ml/vocabularies/document#AvroSchemaDocumentModel", +"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/cycle/avro/map.json#/shape/default-node", +"@type": [ +"http://www.w3.org/ns/shacl#NodeShape", +"http://a.ml/vocabularies/shapes#AnyShape", +"http://www.w3.org/ns/shacl#Shape", +"http://a.ml/vocabularies/shapes#Shape", +"http://a.ml/vocabularies/document#DomainElement" +], +"http://www.w3.org/ns/shacl#additionalPropertiesSchema": [ +{ +"@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/scalar/default-scalar", +"@type": [ +"http://a.ml/vocabularies/shapes#ScalarShape", +"http://a.ml/vocabularies/shapes#AnyShape", +"http://www.w3.org/ns/shacl#Shape", +"http://a.ml/vocabularies/shapes#Shape", +"http://a.ml/vocabularies/document#DomainElement" +], +"http://www.w3.org/ns/shacl#datatype": [ +{ +"@id": "http://www.w3.org/2001/XMLSchema#long" +} +] +} +], +"http://a.ml/vocabularies/document-source-maps#sources": [ +{ +"@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/source-map", +"@type": [ +"http://a.ml/vocabularies/document-source-maps#SourceMap" +], +"http://a.ml/vocabularies/document-source-maps#avro-schema": [ +{ +"@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/source-map/avro-schema/element_0", +"http://a.ml/vocabularies/document-source-maps#element": [ +{ +"@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node" +} +], +"http://a.ml/vocabularies/document-source-maps#value": [ +{ +"@value": "map" +} +] +} +] +} +] +} +], +"http://a.ml/vocabularies/document#root": [ +{ +"@value": true +} +], +"http://a.ml/vocabularies/document#processingData": [ +{ +"@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/BaseUnitProcessingData", +"@type": [ +"http://a.ml/vocabularies/document#BaseUnitProcessingData" +], +"http://a.ml/vocabularies/document#sourceSpec": [ +{ +"@value": "Avro" +} +] +} +] +} ] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json index bde7971588..60ffe0b3ac 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json @@ -1,16 +1,22 @@ { "type": "record", "name": "LongList", + "namespace": "root", "aliases": [ "LinkedLongs" ], + "doc": "this is a documentation for the record type", "fields": [ { "name": "value", + "namespace": "fields", + "doc": "this is a documentation for the primitive type", "type": "long" }, { "name": "next", + "doc": "this is a documentation for the union type", + "namespace": "fields", "type": [ "null", "LongList" diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld index d68d5b6e02..f638c6129d 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld @@ -47,6 +47,16 @@ "@value": "value" } ], + "http://a.ml/vocabularies/core#description": [ + { + "@value": "this is a documentation for the primitive type" + } + ], + "http://a.ml/vocabularies/shapes#namespace": [ + { + "@value": "fields" + } + ], "http://a.ml/vocabularies/document-source-maps#sources": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/value/source-map", @@ -88,7 +98,7 @@ ], "http://a.ml/vocabularies/shapes#range": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next", "@type": [ "http://a.ml/vocabularies/shapes#UnionShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -98,7 +108,7 @@ ], "http://a.ml/vocabularies/shapes#anyOf": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union/anyOf/nil/null", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next/anyOf/nil/null", "@type": [ "http://a.ml/vocabularies/shapes#NilShape", "http://www.w3.org/ns/shacl#Shape", @@ -112,7 +122,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union/anyOf/scalar/default-scalar", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next/anyOf/scalar/default-scalar", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -124,21 +134,31 @@ ], "http://www.w3.org/ns/shacl#name": [ { - "@value": "union" + "@value": "next" + } + ], + "http://a.ml/vocabularies/core#description": [ + { + "@value": "this is a documentation for the union type" + } + ], + "http://a.ml/vocabularies/shapes#namespace": [ + { + "@value": "fields" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#avro-schema": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union/source-map/avro-schema/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next/source-map/avro-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/union" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -164,6 +184,16 @@ "@value": "LongList" } ], + "http://a.ml/vocabularies/core#description": [ + { + "@value": "this is a documentation for the record type" + } + ], + "http://a.ml/vocabularies/shapes#namespace": [ + { + "@value": "root" + } + ], "http://a.ml/vocabularies/shapes#aliases": [ { "@value": "LinkedLongs" @@ -199,6 +229,11 @@ "@value": true } ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "root" + } + ], "http://a.ml/vocabularies/document#processingData": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/BaseUnitProcessingData", diff --git a/amf-cli/shared/src/test/scala/amf/cycle/AvroSchemaCycleTest.scala b/amf-cli/shared/src/test/scala/amf/cycle/AvroSchemaCycleTest.scala index 2d68c7b501..59d46fcd4e 100644 --- a/amf-cli/shared/src/test/scala/amf/cycle/AvroSchemaCycleTest.scala +++ b/amf-cli/shared/src/test/scala/amf/cycle/AvroSchemaCycleTest.scala @@ -35,7 +35,7 @@ class AvroSchemaCycleTest extends FunSuiteCycleTests { cycle("map.json", "map.jsonld") } - test("Can parse a record") { + test("Can parse a record with a recursive reference") { cycle("record.json", "record.jsonld") } } From 91f50f57b427ec34db2f62a779aef7c05487d7c2 Mon Sep 17 00:00:00 2001 From: arielmirra Date: Thu, 13 Jun 2024 17:15:59 -0300 Subject: [PATCH 18/30] fix: improve base cycle tests render options --- .../amf/cycle/GraphQLFunSuiteCycleTests.scala | 2 -- .../test/scala/amf/io/BuildCycleTests.scala | 3 ++- .../GraphQLDatagraphSetParsingTest.scala | 2 -- .../GraphQLFederationFunSuiteCycleTests.scala | 2 -- .../GraphQLFederationTCKParsingTest.scala | 2 -- .../amf/parser/GraphQLTCKParsingTest.scala | 10 +++++++--- .../amf/parser/GraphQLTCKResolutionTest.scala | 18 ++++++++++-------- 7 files changed, 19 insertions(+), 20 deletions(-) diff --git a/amf-cli/shared/src/test/scala/amf/cycle/GraphQLFunSuiteCycleTests.scala b/amf-cli/shared/src/test/scala/amf/cycle/GraphQLFunSuiteCycleTests.scala index 91fc11a5ef..d2c013b7f3 100644 --- a/amf-cli/shared/src/test/scala/amf/cycle/GraphQLFunSuiteCycleTests.scala +++ b/amf-cli/shared/src/test/scala/amf/cycle/GraphQLFunSuiteCycleTests.scala @@ -13,6 +13,4 @@ trait GraphQLFunSuiteCycleTests extends FunSuiteCycleTests { .withRenderOptions(options.getOrElse(renderOptions())) .withErrorHandlerProvider(() => eh.getOrElse(IgnoringErrorHandler)) } - - override def renderOptions(): RenderOptions = super.renderOptions().withPrettyPrint } 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 c935b09759..09d1ed9fb1 100644 --- a/amf-cli/shared/src/test/scala/amf/io/BuildCycleTests.scala +++ b/amf-cli/shared/src/test/scala/amf/io/BuildCycleTests.scala @@ -144,7 +144,8 @@ trait BuildCycleTestCommon extends FileAssertionTest { def render(unit: BaseUnit, config: CycleConfig, amfConfig: AMFConfiguration): String = { amfConfig.baseUnitClient().render(unit, config.targetMediaType) } - def renderOptions(): RenderOptions = RenderOptions().withoutFlattenedJsonLd + + def renderOptions(): RenderOptions = RenderOptions().withoutFlattenedJsonLd.withPrettyPrint protected def buildConfig(options: Option[RenderOptions], eh: Option[AMFErrorHandler]): AMFConfiguration = { APIConfiguration diff --git a/amf-cli/shared/src/test/scala/amf/parser/GraphQLDatagraphSetParsingTest.scala b/amf-cli/shared/src/test/scala/amf/parser/GraphQLDatagraphSetParsingTest.scala index 7ceb975bf1..1383876570 100644 --- a/amf-cli/shared/src/test/scala/amf/parser/GraphQLDatagraphSetParsingTest.scala +++ b/amf-cli/shared/src/test/scala/amf/parser/GraphQLDatagraphSetParsingTest.scala @@ -21,6 +21,4 @@ trait GraphQLDatagraphSetParsingTest extends GraphQLFunSuiteCycleTests { cycle(api, dumpedGraphQL, GraphQLHint, GraphQLHint) } } - - override def renderOptions(): RenderOptions = RenderOptions().withoutFlattenedJsonLd.withPrettyPrint } diff --git a/amf-cli/shared/src/test/scala/amf/parser/GraphQLFederationFunSuiteCycleTests.scala b/amf-cli/shared/src/test/scala/amf/parser/GraphQLFederationFunSuiteCycleTests.scala index 55f8f3faeb..39de9ec93c 100644 --- a/amf-cli/shared/src/test/scala/amf/parser/GraphQLFederationFunSuiteCycleTests.scala +++ b/amf-cli/shared/src/test/scala/amf/parser/GraphQLFederationFunSuiteCycleTests.scala @@ -13,6 +13,4 @@ trait GraphQLFederationFunSuiteCycleTests extends FunSuiteCycleTests { .withRenderOptions(options.getOrElse(renderOptions())) .withErrorHandlerProvider(() => eh.getOrElse(IgnoringErrorHandler)) } - - override def renderOptions(): RenderOptions = super.renderOptions().withPrettyPrint } diff --git a/amf-cli/shared/src/test/scala/amf/parser/GraphQLFederationTCKParsingTest.scala b/amf-cli/shared/src/test/scala/amf/parser/GraphQLFederationTCKParsingTest.scala index 4ff5f98449..a31eae67a5 100644 --- a/amf-cli/shared/src/test/scala/amf/parser/GraphQLFederationTCKParsingTest.scala +++ b/amf-cli/shared/src/test/scala/amf/parser/GraphQLFederationTCKParsingTest.scala @@ -18,6 +18,4 @@ class GraphQLFederationTCKParsingTest extends GraphQLFederationFunSuiteCycleTest } } } - - override def renderOptions(): RenderOptions = RenderOptions().withoutFlattenedJsonLd.withPrettyPrint } diff --git a/amf-cli/shared/src/test/scala/amf/parser/GraphQLTCKParsingTest.scala b/amf-cli/shared/src/test/scala/amf/parser/GraphQLTCKParsingTest.scala index 63c8e11974..9dadf46fb8 100644 --- a/amf-cli/shared/src/test/scala/amf/parser/GraphQLTCKParsingTest.scala +++ b/amf-cli/shared/src/test/scala/amf/parser/GraphQLTCKParsingTest.scala @@ -31,8 +31,12 @@ class GraphQLTCKParsingTest extends GraphQLFunSuiteCycleTests { } test("GraphQL TCK > Apis > Valid > directive-repeatable.graphql: dumped Flattened JSON matches golden") { - cycle("directive-repeatable.graphql", "directive-repeatable.flattened.jsonld", GraphQLHint, AmfJsonHint, renderOptions = Some(RenderOptions().withFlattenedJsonLd.withPrettyPrint)) + cycle( + "directive-repeatable.graphql", + "directive-repeatable.flattened.jsonld", + GraphQLHint, + AmfJsonHint, + renderOptions = Some(RenderOptions().withFlattenedJsonLd.withPrettyPrint) + ) } - - override def renderOptions(): RenderOptions = RenderOptions().withoutFlattenedJsonLd.withPrettyPrint } diff --git a/amf-cli/shared/src/test/scala/amf/parser/GraphQLTCKResolutionTest.scala b/amf-cli/shared/src/test/scala/amf/parser/GraphQLTCKResolutionTest.scala index f108f4c473..5846ed74db 100644 --- a/amf-cli/shared/src/test/scala/amf/parser/GraphQLTCKResolutionTest.scala +++ b/amf-cli/shared/src/test/scala/amf/parser/GraphQLTCKResolutionTest.scala @@ -10,11 +10,10 @@ import amf.cycle.GraphQLFunSuiteCycleTests class GraphQLTCKResolutionTest extends GraphQLFunSuiteCycleTests { override def basePath: String = s"amf-cli/shared/src/test/resources/graphql/tck/apis/valid/" - /** - * We should not resolve inheritance in GraphQL, only validate it - * We should detect recursions + /** We should not resolve inheritance in GraphQL, only validate it We should detect recursions * - * Calling ShapeNormalization will resolve inheritance and detect recursions. We only want the later. Skipping recursive tests + * Calling ShapeNormalization will resolve inheritance and detect recursions. We only want the later. Skipping + * recursive tests */ private val ignored = Seq( "is-input-type-fields.graphql", @@ -25,14 +24,17 @@ class GraphQLTCKResolutionTest extends GraphQLFunSuiteCycleTests { fs.syncFile(s"$basePath").list.foreach { api => if (api.endsWith(".graphql") && !api.endsWith(".dumped.graphql") && !ignored.contains(api)) { test(s"GraphQL TCK > Apis > Valid > $api: resolved dumped JSON matches golden") { - cycle(api, api.replace(".graphql", ".resolved.jsonld"), GraphQLHint, AmfJsonHint, transformWith = Some(Spec.GRAPHQL)) + cycle( + api, + api.replace(".graphql", ".resolved.jsonld"), + GraphQLHint, + AmfJsonHint, + transformWith = Some(Spec.GRAPHQL) + ) } } } - - override def renderOptions(): RenderOptions = RenderOptions().withPrettyPrint.withoutFlattenedJsonLd - /** Method for transforming parsed unit. Override if necessary. */ override def transform(unit: BaseUnit, config: CycleConfig, amfConfig: AMFConfiguration): BaseUnit = { amfConfig.baseUnitClient().transform(unit, PipelineId.Cache).baseUnit From f013d9f57d5113e12acdbb3d887d0f59ac4a535a Mon Sep 17 00:00:00 2001 From: arielmirra Date: Thu, 13 Jun 2024 17:18:15 -0300 Subject: [PATCH 19/30] W-15633184: add avro cycle test suites --- .../scala/amf/avro/AsyncAvroCycleTest.scala | 23 ++++++++++++++++ .../amf/avro/AsyncAvroTCKCycleTest.scala | 5 ++++ .../{cycle => avro}/AvroSchemaCycleTest.scala | 27 +++---------------- .../amf/avro/AvroSchemaParsingTest.scala | 23 ++++++++++++++++ 4 files changed, 55 insertions(+), 23 deletions(-) create mode 100644 amf-cli/shared/src/test/scala/amf/avro/AsyncAvroCycleTest.scala create mode 100644 amf-cli/shared/src/test/scala/amf/avro/AsyncAvroTCKCycleTest.scala rename amf-cli/shared/src/test/scala/amf/{cycle => avro}/AvroSchemaCycleTest.scala (58%) create mode 100644 amf-cli/shared/src/test/scala/amf/avro/AvroSchemaParsingTest.scala diff --git a/amf-cli/shared/src/test/scala/amf/avro/AsyncAvroCycleTest.scala b/amf-cli/shared/src/test/scala/amf/avro/AsyncAvroCycleTest.scala new file mode 100644 index 0000000000..f8b0f1518c --- /dev/null +++ b/amf-cli/shared/src/test/scala/amf/avro/AsyncAvroCycleTest.scala @@ -0,0 +1,23 @@ +package amf.avro + +import amf.apicontract.client.scala.{AMFConfiguration, AsyncAPIConfiguration} +import amf.core.client.scala.config.RenderOptions +import amf.core.client.scala.errorhandling.{AMFErrorHandler, IgnoringErrorHandler} +import amf.core.internal.remote.{AmfJsonHint, Async20YamlHint} +import amf.io.FunSuiteCycleTests +import org.scalatest.Assertion + +import scala.concurrent.Future + +class AsyncAvroCycleTest extends FunSuiteCycleTests { + override def buildConfig(options: Option[RenderOptions], eh: Option[AMFErrorHandler]): AMFConfiguration = { + AsyncAPIConfiguration + .Async20() + .withRenderOptions(options.getOrElse(renderOptions())) + .withErrorHandlerProvider(() => eh.getOrElse(IgnoringErrorHandler)) + } + + override def basePath: String = "amf-cli/shared/src/test/resources/upanddown/cycle/avro/" + + def cycle(source: String, target: String): Future[Assertion] = cycle(source, target, Async20YamlHint, AmfJsonHint) +} diff --git a/amf-cli/shared/src/test/scala/amf/avro/AsyncAvroTCKCycleTest.scala b/amf-cli/shared/src/test/scala/amf/avro/AsyncAvroTCKCycleTest.scala new file mode 100644 index 0000000000..d9d96d9aad --- /dev/null +++ b/amf-cli/shared/src/test/scala/amf/avro/AsyncAvroTCKCycleTest.scala @@ -0,0 +1,5 @@ +package amf.avro + +class AsyncAvroTCKCycleTest extends AsyncAvroCycleTest { + override def basePath: String = "amf-cli/shared/src/test/resources/upanddown/cycle/avro/" +} diff --git a/amf-cli/shared/src/test/scala/amf/cycle/AvroSchemaCycleTest.scala b/amf-cli/shared/src/test/scala/amf/avro/AvroSchemaCycleTest.scala similarity index 58% rename from amf-cli/shared/src/test/scala/amf/cycle/AvroSchemaCycleTest.scala rename to amf-cli/shared/src/test/scala/amf/avro/AvroSchemaCycleTest.scala index 59d46fcd4e..9dbf75be0b 100644 --- a/amf-cli/shared/src/test/scala/amf/cycle/AvroSchemaCycleTest.scala +++ b/amf-cli/shared/src/test/scala/amf/avro/AvroSchemaCycleTest.scala @@ -1,4 +1,5 @@ -package amf.cycle +package amf.avro + import amf.apicontract.client.scala.{AMFConfiguration, AvroConfiguration} import amf.core.client.scala.config.RenderOptions import amf.core.client.scala.errorhandling.{AMFErrorHandler, IgnoringErrorHandler} @@ -11,31 +12,11 @@ class AvroSchemaCycleTest extends FunSuiteCycleTests { override def buildConfig(options: Option[RenderOptions], eh: Option[AMFErrorHandler]): AMFConfiguration = { AvroConfiguration .Avro() - .withRenderOptions(renderOptions().withPrettyPrint) - .withErrorHandlerProvider(() => IgnoringErrorHandler) + .withRenderOptions(options.getOrElse(renderOptions())) + .withErrorHandlerProvider(() => eh.getOrElse(IgnoringErrorHandler)) } override def basePath: String = "amf-cli/shared/src/test/resources/upanddown/cycle/avro/" def cycle(source: String, target: String): Future[Assertion] = cycle(source, target, AvroHint, AmfJsonHint) - - test("Can parse an array") { - cycle("array.json", "array.jsonld") - } - - test("Can parse an enum") { - cycle("enum.json", "enum.jsonld") - } - - test("Can parse a fixed shape") { - cycle("fixed.json", "fixed.jsonld") - } - - test("Can parse a map") { - cycle("map.json", "map.jsonld") - } - - test("Can parse a record with a recursive reference") { - cycle("record.json", "record.jsonld") - } } diff --git a/amf-cli/shared/src/test/scala/amf/avro/AvroSchemaParsingTest.scala b/amf-cli/shared/src/test/scala/amf/avro/AvroSchemaParsingTest.scala new file mode 100644 index 0000000000..b676950f34 --- /dev/null +++ b/amf-cli/shared/src/test/scala/amf/avro/AvroSchemaParsingTest.scala @@ -0,0 +1,23 @@ +package amf.avro + +class AvroSchemaParsingTest extends AvroSchemaCycleTest { + test("Can parse an array") { + cycle("array.json", "array.jsonld") + } + + test("Can parse an enum") { + cycle("enum.json", "enum.jsonld") + } + + test("Can parse a fixed shape") { + cycle("fixed.json", "fixed.jsonld") + } + + test("Can parse a map") { + cycle("map.json", "map.jsonld") + } + + test("Can parse a record with a recursive reference") { + cycle("record.json", "record.jsonld") + } +} From 80ad29a7327c30b959b001a22a7ec0203d5c1b9e Mon Sep 17 00:00:00 2001 From: arielmirra Date: Fri, 14 Jun 2024 20:52:03 -0300 Subject: [PATCH 20/30] W-15633184: support recursive fields in records --- .../avro/parser/domain/AvroRecordParser.scala | 3 +-- .../parser/domain/AvroScalarShapeParser.scala | 5 ++++- .../avro/parser/domain/AvroShapeBaseParser.scala | 14 ++++++++++++-- .../resources/upanddown/cycle/avro/record.json | 2 +- .../resources/upanddown/cycle/avro/record.jsonld | 16 +++++++++++++--- 5 files changed, 31 insertions(+), 9 deletions(-) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala index 8976b4aedb..0511a5265d 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala @@ -8,8 +8,7 @@ import amf.core.internal.parser.domain.Annotations import amf.shapes.client.scala.model.domain.{AnyShape, NodeShape} import org.yaml.model.{YMap, YMapEntry, YNode} -class AvroRecordParser(map: YMap, types: Map[String, AnyShape] = Map())(implicit ctx: AvroSchemaContext) - extends AvroShapeBaseParser(map, types) { +class AvroRecordParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroShapeBaseParser(map) { override val shape: NodeShape = NodeShape(map) override def parseSpecificFields(): Unit = { diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala index aa0f38d899..68fd9cd122 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala @@ -3,7 +3,7 @@ package amf.apicontract.internal.spec.avro.parser.domain import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext import amf.core.client.scala.model.DataType import amf.core.internal.parser.domain.Annotations -import amf.shapes.client.scala.model.domain.{AnyShape, NilShape, ScalarShape} +import amf.shapes.client.scala.model.domain.{AnyShape, NilShape, NodeShape, ScalarShape} import org.yaml.model.YMap /** parses primitive avro types such as null, boolean, int, long, float, double, bytes, string */ @@ -24,6 +24,9 @@ case class AvroScalarShapeParser(`type`: String, maybeMap: Option[YMap])(implici case s if avroPrimitiveTypes.contains(s) => parseCommonFields() shape.withDataType(DataType(`type`), typeAnnotations) + case _ if ctx.globalSpace.contains(`type`) => + val originalShape = ctx.globalSpace(`type`).asInstanceOf[NodeShape] + originalShape.link(`type`, originalShape.annotations) case _ => shape } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala index d5fea80a49..4c226ef393 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala @@ -5,14 +5,15 @@ import amf.core.internal.parser.YMapOps import amf.shapes.client.scala.model.domain.AnyShape import amf.shapes.internal.domain.metamodel.AnyShapeModel import amf.shapes.internal.spec.common.parser.QuickFieldParserOps -import org.yaml.model.{YMap, YNode} +import org.yaml.model._ -abstract class AvroShapeBaseParser(map: YMap, types: Map[String, AnyShape] = Map())(implicit ctx: AvroSchemaContext) +abstract class AvroShapeBaseParser(map: YMap)(implicit ctx: AvroSchemaContext) extends QuickFieldParserOps with AvroKeyExtractor { val shape: AnyShape def parse(): AnyShape = { + addTypeToCache() parseCommonFields() parseSpecificFields() shape @@ -27,6 +28,15 @@ abstract class AvroShapeBaseParser(map: YMap, types: Map[String, AnyShape] = Map // each specific parser should override and parse it's specific fields def parseSpecificFields(): Unit = {} + + private def addTypeToCache(): Unit = { + def getText(node: YNode) = node.as[YScalar].text + def getAliases(entry: YMapEntry): IndexedSeq[String] = entry.value.as[YSequence].nodes.map(getText) + val name = map.key("name").map(name => getText(name.value)) + val aliases = map.key("aliases").map(getAliases) + name.foreach(ctx.globalSpace.put(_, shape)) + aliases.foreach(_.foreach(alias => ctx.globalSpace.put(alias, shape))) + } } trait AvroKeyExtractor { diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json index 60ffe0b3ac..97dcef3e2f 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json @@ -15,7 +15,7 @@ }, { "name": "next", - "doc": "this is a documentation for the union type", + "doc": "this is a documentation for the union type with recursive element", "namespace": "fields", "type": [ "null", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld index f638c6129d..8e5bb9a75a 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld @@ -122,13 +122,23 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next/anyOf/scalar/default-scalar", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next/anyOf/shape/default-node", "@type": [ - "http://a.ml/vocabularies/shapes#ScalarShape", + "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/cycle/avro/record.json#/shape/LongList" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "LongList" + } ] } ], @@ -139,7 +149,7 @@ ], "http://a.ml/vocabularies/core#description": [ { - "@value": "this is a documentation for the union type" + "@value": "this is a documentation for the union type with recursive element" } ], "http://a.ml/vocabularies/shapes#namespace": [ From 19d058654b65d0c7f409fd244c1598e9e042164b Mon Sep 17 00:00:00 2001 From: arielmirra Date: Tue, 18 Jun 2024 13:14:28 -0300 Subject: [PATCH 21/30] chore: rename and refactor avro base parsers --- .../domain/AvroCollectionShapeParser.scala | 4 +- ...ser.scala => AvroComplexShapeParser.scala} | 2 +- .../avro/parser/domain/AvroEnumParser.scala | 3 +- .../parser/domain/AvroFixedShapeParser.scala | 2 +- .../avro/parser/domain/AvroRecordParser.scala | 7 +- .../avro/parser/domain/AvroShapeParser.scala | 23 +-- .../avro/parser/domain/AvroTextParser.scala | 2 +- ...eParser.scala => AvroTextTypeParser.scala} | 13 +- .../parser/domain/AvroUnionShapeParser.scala | 2 +- .../resources/upanddown/cycle/avro/map.jsonld | 160 +++++++++--------- 10 files changed, 110 insertions(+), 108 deletions(-) rename amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/{AvroShapeBaseParser.scala => AvroComplexShapeParser.scala} (95%) rename amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/{AvroScalarShapeParser.scala => AvroTextTypeParser.scala} (70%) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala index 623acac137..4db9165ad4 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala @@ -6,7 +6,7 @@ import amf.shapes.client.scala.model.domain.AnyShape import org.yaml.model.{YMap, YMapEntry} abstract class AvroCollectionShapeParser[T <: AnyShape](map: YMap, membersKey: String)(implicit ctx: AvroSchemaContext) - extends AvroShapeBaseParser(map) { + extends AvroComplexShapeParser(map) { val shape: T protected def setMembers(anyShape: AnyShape): Unit @@ -19,5 +19,5 @@ abstract class AvroCollectionShapeParser[T <: AnyShape](map: YMap, membersKey: S shape } - protected def parseMembers(e: YMapEntry): AnyShape = AvroScalarShapeParser(e.value.as[String], None).parse() + protected def parseMembers(e: YMapEntry): AnyShape = AvroTextTypeParser(e.value.as[String], None).parse() } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroComplexShapeParser.scala similarity index 95% rename from amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala rename to amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroComplexShapeParser.scala index 4c226ef393..e71da7b908 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeBaseParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroComplexShapeParser.scala @@ -7,7 +7,7 @@ import amf.shapes.internal.domain.metamodel.AnyShapeModel import amf.shapes.internal.spec.common.parser.QuickFieldParserOps import org.yaml.model._ -abstract class AvroShapeBaseParser(map: YMap)(implicit ctx: AvroSchemaContext) +abstract class AvroComplexShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends QuickFieldParserOps with AvroKeyExtractor { val shape: AnyShape diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala index f8028dc66b..3f81d38c89 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala @@ -7,10 +7,11 @@ import amf.core.internal.parser.{YMapOps, YScalarYRead} import amf.shapes.client.scala.model.domain.AnyShape import org.yaml.model._ -class AvroEnumParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroScalarShapeParser("string", Some(map)) { +class AvroEnumParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroTextTypeParser("string", Some(map)) { override def parse(): AnyShape = { val shape = super.parse() + parseCommonFields() parseSpecificFields() shape } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroFixedShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroFixedShapeParser.scala index 04c780cc80..e25a0169d3 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroFixedShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroFixedShapeParser.scala @@ -8,7 +8,7 @@ import amf.shapes.client.scala.model.domain.{AnyShape, ScalarShape} import amf.shapes.internal.domain.metamodel.AnyShapeModel import org.yaml.model.YMap -case class AvroFixedShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroShapeBaseParser(map) { +case class AvroFixedShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroComplexShapeParser(map) { override val shape: AnyShape = ScalarShape(Annotations(map)).withDataType(Xsd.base + "fixed", Annotations(map.entries.head)) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala index 0511a5265d..942cef7b45 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala @@ -8,7 +8,7 @@ import amf.core.internal.parser.domain.Annotations import amf.shapes.client.scala.model.domain.{AnyShape, NodeShape} import org.yaml.model.{YMap, YMapEntry, YNode} -class AvroRecordParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroShapeBaseParser(map) { +class AvroRecordParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroComplexShapeParser(map) { override val shape: NodeShape = NodeShape(map) override def parseSpecificFields(): Unit = { @@ -33,12 +33,11 @@ class AvroRecordParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroS PropertyShape(Annotations.virtual()).withName("field").withRange(anyShape) } -// todo: analyze defaulting to base shape parser instead case class AvroRecordFieldParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroShapeParser(map) { - override def parseTypeEntry(value: YNode): Option[AnyShape] = { + override def parseTypeEntry(value: YNode, isRecordField: Boolean = false): Option[AnyShape] = { value.asOption[YMap] match { case Some(map) => AvroRecordFieldParser(map).parse() - case _ => super.parseTypeEntry(value) + case _ => super.parseTypeEntry(value, isRecordField = true) } } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala index d1a82faf46..d9c2474190 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala @@ -7,16 +7,16 @@ import org.yaml.model.{YMap, YNode, YScalar, YType} class AvroShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroKeyExtractor { val typeValue: Option[YNode] = map.typeValue - def parse(): Option[AnyShape] = typeValue.flatMap(parseTypeEntry) + def parse(): Option[AnyShape] = typeValue.flatMap(parseTypeEntry(_)) - def parseTypeEntry(value: YNode): Option[AnyShape] = { + def parseTypeEntry(value: YNode, isRecordField: Boolean = false): Option[AnyShape] = { val (maybeShape, avroType) = value.tagType match { case YType.Seq => val union = parseUnion(value.as[Seq[YNode]]) (Some(union), "union") case YType.Str => val specificType = value.as[YScalar].text - (Some(parseType(specificType)), specificType) + (Some(parseType(specificType, isRecordField)), specificType) case _ => // todo: should validate invalid type when using the AVRO Validator (None, "invalid avro type") @@ -27,23 +27,24 @@ class AvroShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroKe private def parseUnion(members: Seq[YNode]): AnyShape = AvroUnionShapeParser(members, map).parse() - private def parseType(name: String): AnyShape = { + private def parseType(name: String, isRecordField: Boolean = false): AnyShape = { name match { case "map" => parseMap() case "array" => parseArray() case "record" => parseRecord() case "enum" => parseEnum() case "fixed" => parseFixed() - case _ if name.isPrimitive => parsePrimitiveType(name) + case _ if name.isPrimitive => parsePrimitiveType(name, isRecordField) // todo: should validate invalid type when using the AVRO Validator, maybe save raw json in an annotation. case _ => AnyShape() // ignore } } - private def parseRecord() = new AvroRecordParser(map).parse() - private def parseEnum(): AnyShape = new AvroEnumParser(map).parse() - private def parsePrimitiveType(`type`: String): AnyShape = AvroScalarShapeParser(`type`, Some(map)).parse() - private def parseFixed(): AnyShape = AvroFixedShapeParser(map).parse() - private def parseMap(): AnyShape = AvroMapShapeParser(map).parse() - private def parseArray(): AnyShape = AvroArrayShapeParser(map).parse() + private def parseRecord() = new AvroRecordParser(map).parse() + private def parseEnum(): AnyShape = new AvroEnumParser(map).parse() + private def parsePrimitiveType(`type`: String, isRecordField: Boolean = false): AnyShape = + AvroTextTypeParser(`type`, Some(map), isRecordField).parse() + private def parseFixed(): AnyShape = AvroFixedShapeParser(map).parse() + private def parseMap(): AnyShape = AvroMapShapeParser(map).parse() + private def parseArray(): AnyShape = AvroArrayShapeParser(map).parse() } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextParser.scala index 9001832920..ccf8cb217b 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextParser.scala @@ -7,6 +7,6 @@ import org.yaml.model.{YNode, YScalar} case class AvroTextParser(node: YNode)(implicit ctx: AvroSchemaContext) extends AvroKeyExtractor { def parse(): AnyShape = { val `type` = node.as[YScalar].text - AvroScalarShapeParser(`type`, None).parse() + AvroTextTypeParser(`type`, None).parse() } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextTypeParser.scala similarity index 70% rename from amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala rename to amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextTypeParser.scala index 68fd9cd122..e0d55cfc12 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroScalarShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextTypeParser.scala @@ -7,22 +7,23 @@ import amf.shapes.client.scala.model.domain.{AnyShape, NilShape, NodeShape, Scal import org.yaml.model.YMap /** parses primitive avro types such as null, boolean, int, long, float, double, bytes, string */ -case class AvroScalarShapeParser(`type`: String, maybeMap: Option[YMap])(implicit ctx: AvroSchemaContext) - extends AvroShapeBaseParser(maybeMap.getOrElse(YMap.empty)) { +case class AvroTextTypeParser(`type`: String, maybeMap: Option[YMap], isRecordField: Boolean = false)(implicit + ctx: AvroSchemaContext +) extends AvroComplexShapeParser(maybeMap.getOrElse(YMap.empty)) { private val avroPrimitiveTypes = Set("null", "boolean", "int", "long", "float", "double", "bytes", "string") - private val defaultAnnotations = (Annotations.virtual(), Annotations.inferred()) - private val (annotations, typeAnnotations): (Annotations, Annotations) = + private lazy val defaultAnnotations = (Annotations.virtual(), Annotations.inferred()) + private lazy val (annotations, typeAnnotations): (Annotations, Annotations) = maybeMap.map(annotationsFromMap).getOrElse(defaultAnnotations) private def annotationsFromMap(map: YMap) = (Annotations(map), Annotations(map.entries.head)) - override val shape: ScalarShape = ScalarShape(annotations) + override lazy val shape: ScalarShape = ScalarShape(annotations) override def parse(): AnyShape = `type` match { case "null" => NilShape(annotations).withName(`type`) case s if avroPrimitiveTypes.contains(s) => - parseCommonFields() + if (isRecordField) parseCommonFields() shape.withDataType(DataType(`type`), typeAnnotations) case _ if ctx.globalSpace.contains(`type`) => val originalShape = ctx.globalSpace(`type`).asInstanceOf[NodeShape] diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala index 649caeb158..8138bd2cf4 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala @@ -5,7 +5,7 @@ import amf.shapes.client.scala.model.domain.UnionShape import org.yaml.model.{YMap, YNode} case class AvroUnionShapeParser(members: Seq[YNode], node: YNode)(implicit ctx: AvroSchemaContext) - extends AvroShapeBaseParser(node.as[YMap]) { + extends AvroComplexShapeParser(node.as[YMap]) { override val shape: UnionShape = UnionShape(node).withName("union") // todo: parse default, should be the default value of the first element of the union (usually null) diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld index 56063c6bb1..282d9d9a81 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld @@ -1,82 +1,82 @@ [ -{ -"@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json", -"@type": [ -"http://a.ml/vocabularies/document#AvroSchemaDocumentModel", -"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/cycle/avro/map.json#/shape/default-node", -"@type": [ -"http://www.w3.org/ns/shacl#NodeShape", -"http://a.ml/vocabularies/shapes#AnyShape", -"http://www.w3.org/ns/shacl#Shape", -"http://a.ml/vocabularies/shapes#Shape", -"http://a.ml/vocabularies/document#DomainElement" -], -"http://www.w3.org/ns/shacl#additionalPropertiesSchema": [ -{ -"@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/scalar/default-scalar", -"@type": [ -"http://a.ml/vocabularies/shapes#ScalarShape", -"http://a.ml/vocabularies/shapes#AnyShape", -"http://www.w3.org/ns/shacl#Shape", -"http://a.ml/vocabularies/shapes#Shape", -"http://a.ml/vocabularies/document#DomainElement" -], -"http://www.w3.org/ns/shacl#datatype": [ -{ -"@id": "http://www.w3.org/2001/XMLSchema#long" -} -] -} -], -"http://a.ml/vocabularies/document-source-maps#sources": [ -{ -"@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/source-map", -"@type": [ -"http://a.ml/vocabularies/document-source-maps#SourceMap" -], -"http://a.ml/vocabularies/document-source-maps#avro-schema": [ -{ -"@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/source-map/avro-schema/element_0", -"http://a.ml/vocabularies/document-source-maps#element": [ -{ -"@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node" -} -], -"http://a.ml/vocabularies/document-source-maps#value": [ -{ -"@value": "map" -} -] -} -] -} -] -} -], -"http://a.ml/vocabularies/document#root": [ -{ -"@value": true -} -], -"http://a.ml/vocabularies/document#processingData": [ -{ -"@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/BaseUnitProcessingData", -"@type": [ -"http://a.ml/vocabularies/document#BaseUnitProcessingData" -], -"http://a.ml/vocabularies/document#sourceSpec": [ -{ -"@value": "Avro" -} -] -} -] -} + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/map.json#/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#additionalPropertiesSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#long" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "map" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } ] From dd324ad36ac029c36ccd180ce26a788708d8199c Mon Sep 17 00:00:00 2001 From: arielmirra Date: Tue, 18 Jun 2024 15:49:22 -0300 Subject: [PATCH 22/30] W-15633184: parse defaults in avro shapes --- .../parser/domain/AvroArrayShapeParser.scala | 3 +- .../domain/AvroCollectionShapeParser.scala | 1 + .../domain/AvroComplexShapeParser.scala | 16 +++++- .../avro/parser/domain/AvroEnumParser.scala | 2 +- .../parser/domain/AvroMapShapeParser.scala | 3 +- .../parser/domain/AvroTextTypeParser.scala | 7 ++- .../parser/domain/AvroUnionShapeParser.scala | 1 - .../upanddown/cycle/avro/array.jsonld | 17 +++++++ .../resources/upanddown/cycle/avro/enum.json | 3 +- .../upanddown/cycle/avro/enum.jsonld | 25 ++++++++++ .../resources/upanddown/cycle/avro/map.jsonld | 15 ++++++ .../upanddown/cycle/avro/record.json | 6 ++- .../upanddown/cycle/avro/record.jsonld | 50 +++++++++++++++++++ 13 files changed, 140 insertions(+), 9 deletions(-) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroArrayShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroArrayShapeParser.scala index 09399f3e68..d53ffb4dca 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroArrayShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroArrayShapeParser.scala @@ -5,8 +5,9 @@ import org.yaml.model.{YMap, YMapEntry} case class AvroArrayShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroCollectionShapeParser[ArrayShape](map, "items") { - // TODO: parse defaults override val shape: ArrayShape = ArrayShape(map) override def setMembers(anyShape: AnyShape): Unit = shape.withItems(anyShape) override def parseMembers(e: YMapEntry): AnyShape = AvroTextParser(e.value).parse() + + override def parseSpecificFields(): Unit = {} } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala index 4db9165ad4..1b088f19e4 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroCollectionShapeParser.scala @@ -16,6 +16,7 @@ abstract class AvroCollectionShapeParser[T <: AnyShape](map: YMap, membersKey: S .key(membersKey) .map(parseMembers) .foreach(setMembers) + parseDefault() shape } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroComplexShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroComplexShapeParser.scala index e71da7b908..c81e1c625f 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroComplexShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroComplexShapeParser.scala @@ -1,7 +1,10 @@ package amf.apicontract.internal.spec.avro.parser.domain import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext +import amf.core.internal.datanode.DataNodeParser +import amf.core.internal.metamodel.domain.ShapeModel import amf.core.internal.parser.YMapOps +import amf.core.internal.parser.domain.Annotations import amf.shapes.client.scala.model.domain.AnyShape import amf.shapes.internal.domain.metamodel.AnyShapeModel import amf.shapes.internal.spec.common.parser.QuickFieldParserOps @@ -16,6 +19,7 @@ abstract class AvroComplexShapeParser(map: YMap)(implicit ctx: AvroSchemaContext addTypeToCache() parseCommonFields() parseSpecificFields() + parseDefault() shape } @@ -27,7 +31,17 @@ abstract class AvroComplexShapeParser(map: YMap)(implicit ctx: AvroSchemaContext } // each specific parser should override and parse it's specific fields - def parseSpecificFields(): Unit = {} + def parseSpecificFields(): Unit + + def parseDefault(): Unit = { + map.key( + "default", + entry => { + val dataNode = DataNodeParser(entry.value).parse() + shape.set(ShapeModel.Default, dataNode, Annotations(entry)) + } + ) + } private def addTypeToCache(): Unit = { def getText(node: YNode) = node.as[YScalar].text diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala index 3f81d38c89..2debf11526 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroEnumParser.scala @@ -13,11 +13,11 @@ class AvroEnumParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroTex val shape = super.parse() parseCommonFields() parseSpecificFields() + parseDefault() shape } override def parseSpecificFields(): Unit = { - // todo: parse default map .key("symbols") .map(parseSymbols) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroMapShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroMapShapeParser.scala index 0838c4672b..8b82c26ae1 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroMapShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroMapShapeParser.scala @@ -6,7 +6,8 @@ import org.yaml.model.YMap case class AvroMapShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroCollectionShapeParser[NodeShape](map, "values") { - // TODO: parse defaults override val shape: NodeShape = NodeShape(map) override def setMembers(anyShape: AnyShape): Unit = shape.withAdditionalPropertiesSchema(anyShape) + + override def parseSpecificFields(): Unit = {} } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextTypeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextTypeParser.scala index e0d55cfc12..76020d4dc1 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextTypeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextTypeParser.scala @@ -23,11 +23,16 @@ case class AvroTextTypeParser(`type`: String, maybeMap: Option[YMap], isRecordFi override def parse(): AnyShape = `type` match { case "null" => NilShape(annotations).withName(`type`) case s if avroPrimitiveTypes.contains(s) => - if (isRecordField) parseCommonFields() + if (isRecordField) { + parseCommonFields() + parseDefault() + } shape.withDataType(DataType(`type`), typeAnnotations) case _ if ctx.globalSpace.contains(`type`) => val originalShape = ctx.globalSpace(`type`).asInstanceOf[NodeShape] originalShape.link(`type`, originalShape.annotations) case _ => shape } + + override def parseSpecificFields(): Unit = {} } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala index 8138bd2cf4..6d1b62a2db 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroUnionShapeParser.scala @@ -8,7 +8,6 @@ case class AvroUnionShapeParser(members: Seq[YNode], node: YNode)(implicit ctx: extends AvroComplexShapeParser(node.as[YMap]) { override val shape: UnionShape = UnionShape(node).withName("union") - // todo: parse default, should be the default value of the first element of the union (usually null) override def parseSpecificFields(): Unit = { val parsedMembers = members.map(node => AvroTextParser(node).parse()) shape.withAnyOf(parsedMembers) diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld index 6c6f5e2978..cbc290449d 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld @@ -35,6 +35,23 @@ ] } ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/array/default-array/array_1", + "@type": [ + "http://a.ml/vocabularies/data#Array", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/2000/01/rdf-schema#member": [], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "array_1" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#sources": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/array/default-array/source-map", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json index 070b7cacb4..73ff3ec2f4 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json @@ -6,5 +6,6 @@ "HEARTS", "DIAMONDS", "CLUBS" - ] + ], + "default": "SPADES" } \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.jsonld index f5d02b8e76..d4015d122b 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.jsonld @@ -28,6 +28,31 @@ "@value": "Suit" } ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit/scalar_1", + "@type": [ + "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": "SPADES" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], "http://www.w3.org/ns/shacl#in": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit/list", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld index 282d9d9a81..f8f24277a0 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld @@ -35,6 +35,21 @@ ] } ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/object_1", + "@type": [ + "http://a.ml/vocabularies/data#Object", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "object_1" + } + ] + } + ], "http://a.ml/vocabularies/document-source-maps#sources": [ { "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/source-map", diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json index 97dcef3e2f..898276b773 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json @@ -11,7 +11,8 @@ "name": "value", "namespace": "fields", "doc": "this is a documentation for the primitive type", - "type": "long" + "type": "long", + "default": 123 }, { "name": "next", @@ -20,7 +21,8 @@ "type": [ "null", "LongList" - ] + ], + "default": null } ] } \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld index 8e5bb9a75a..e32e4a41f6 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld @@ -52,6 +52,31 @@ "@value": "this is a documentation for the primitive type" } ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/value/scalar_1", + "@type": [ + "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": "123" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#integer" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], "http://a.ml/vocabularies/shapes#namespace": [ { "@value": "fields" @@ -152,6 +177,31 @@ "@value": "this is a documentation for the union type with recursive element" } ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], "http://a.ml/vocabularies/shapes#namespace": [ { "@value": "fields" From bcbab278cb83db7a966d4cecb4c3521daf07cf75 Mon Sep 17 00:00:00 2001 From: arielmirra Date: Mon, 1 Jul 2024 16:12:13 -0300 Subject: [PATCH 23/30] W-15633176: fix record fields parsing --- .../avro/parser/domain/AvroRecordParser.scala | 17 ++- .../avro/parser/domain/AvroShapeParser.scala | 14 +- .../parser/domain/AvroTextTypeParser.scala | 6 +- .../upanddown/cycle/avro/record.jsonld | 130 ++++++++++-------- 4 files changed, 98 insertions(+), 69 deletions(-) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala index 942cef7b45..2884d81488 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroRecordParser.scala @@ -2,10 +2,13 @@ package amf.apicontract.internal.spec.avro.parser.domain import amf.apicontract.internal.spec.avro.parser.context.AvroSchemaContext import amf.core.client.scala.model.domain.extensions.PropertyShape +import amf.core.internal.datanode.DataNodeParser +import amf.core.internal.metamodel.domain.ShapeModel import amf.core.internal.metamodel.domain.extensions.PropertyShapeModel import amf.core.internal.parser.YMapOps import amf.core.internal.parser.domain.Annotations import amf.shapes.client.scala.model.domain.{AnyShape, NodeShape} +import amf.shapes.internal.domain.metamodel.AnyShapeModel import org.yaml.model.{YMap, YMapEntry, YNode} class AvroRecordParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroComplexShapeParser(map) { @@ -24,7 +27,17 @@ class AvroRecordParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroC def parseField(map: YMap): Option[PropertyShape] = { val maybeShape: Option[PropertyShape] = AvroRecordFieldParser(map).parse().map(buildProperty) maybeShape.foreach { p => + map.key("name", AnyShapeModel.Name in p) + map.key("aliases", AnyShapeModel.Aliases in p) + map.key("doc", AnyShapeModel.Description in p) map.key("order", PropertyShapeModel.SerializationOrder in p) + map.key( + "default", + entry => { + val dataNode = DataNodeParser(entry.value).parse() + p.set(ShapeModel.Default, dataNode, Annotations(entry)) + } + ) } maybeShape } @@ -34,10 +47,10 @@ class AvroRecordParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroC } case class AvroRecordFieldParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroShapeParser(map) { - override def parseTypeEntry(value: YNode, isRecordField: Boolean = false): Option[AnyShape] = { + override def parseTypeEntry(value: YNode): Option[AnyShape] = { value.asOption[YMap] match { case Some(map) => AvroRecordFieldParser(map).parse() - case _ => super.parseTypeEntry(value, isRecordField = true) + case _ => super.parseTypeEntry(value) } } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala index d9c2474190..81eaa23277 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroShapeParser.scala @@ -7,16 +7,16 @@ import org.yaml.model.{YMap, YNode, YScalar, YType} class AvroShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroKeyExtractor { val typeValue: Option[YNode] = map.typeValue - def parse(): Option[AnyShape] = typeValue.flatMap(parseTypeEntry(_)) + def parse(): Option[AnyShape] = typeValue.flatMap(parseTypeEntry) - def parseTypeEntry(value: YNode, isRecordField: Boolean = false): Option[AnyShape] = { + def parseTypeEntry(value: YNode): Option[AnyShape] = { val (maybeShape, avroType) = value.tagType match { case YType.Seq => val union = parseUnion(value.as[Seq[YNode]]) (Some(union), "union") case YType.Str => val specificType = value.as[YScalar].text - (Some(parseType(specificType, isRecordField)), specificType) + (Some(parseType(specificType)), specificType) case _ => // todo: should validate invalid type when using the AVRO Validator (None, "invalid avro type") @@ -27,14 +27,14 @@ class AvroShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroKe private def parseUnion(members: Seq[YNode]): AnyShape = AvroUnionShapeParser(members, map).parse() - private def parseType(name: String, isRecordField: Boolean = false): AnyShape = { + private def parseType(name: String): AnyShape = { name match { case "map" => parseMap() case "array" => parseArray() case "record" => parseRecord() case "enum" => parseEnum() case "fixed" => parseFixed() - case _ if name.isPrimitive => parsePrimitiveType(name, isRecordField) + case _ if name.isPrimitive => parsePrimitiveType(name) // todo: should validate invalid type when using the AVRO Validator, maybe save raw json in an annotation. case _ => AnyShape() // ignore } @@ -42,8 +42,8 @@ class AvroShapeParser(map: YMap)(implicit ctx: AvroSchemaContext) extends AvroKe private def parseRecord() = new AvroRecordParser(map).parse() private def parseEnum(): AnyShape = new AvroEnumParser(map).parse() - private def parsePrimitiveType(`type`: String, isRecordField: Boolean = false): AnyShape = - AvroTextTypeParser(`type`, Some(map), isRecordField).parse() + private def parsePrimitiveType(`type`: String): AnyShape = + AvroTextTypeParser(`type`, Some(map)).parse() private def parseFixed(): AnyShape = AvroFixedShapeParser(map).parse() private def parseMap(): AnyShape = AvroMapShapeParser(map).parse() private def parseArray(): AnyShape = AvroArrayShapeParser(map).parse() diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextTypeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextTypeParser.scala index 76020d4dc1..e23d7cf658 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextTypeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/avro/parser/domain/AvroTextTypeParser.scala @@ -7,7 +7,7 @@ import amf.shapes.client.scala.model.domain.{AnyShape, NilShape, NodeShape, Scal import org.yaml.model.YMap /** parses primitive avro types such as null, boolean, int, long, float, double, bytes, string */ -case class AvroTextTypeParser(`type`: String, maybeMap: Option[YMap], isRecordField: Boolean = false)(implicit +case class AvroTextTypeParser(`type`: String, maybeMap: Option[YMap])(implicit ctx: AvroSchemaContext ) extends AvroComplexShapeParser(maybeMap.getOrElse(YMap.empty)) { private val avroPrimitiveTypes = Set("null", "boolean", "int", "long", "float", "double", "bytes", "string") @@ -23,10 +23,6 @@ case class AvroTextTypeParser(`type`: String, maybeMap: Option[YMap], isRecordFi override def parse(): AnyShape = `type` match { case "null" => NilShape(annotations).withName(`type`) case s if avroPrimitiveTypes.contains(s) => - if (isRecordField) { - parseCommonFields() - parseDefault() - } shape.withDataType(DataType(`type`), typeAnnotations) case _ if ctx.globalSpace.contains(`type`) => val originalShape = ctx.globalSpace(`type`).asInstanceOf[NodeShape] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld index e32e4a41f6..8205197b58 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld @@ -20,7 +20,7 @@ ], "http://www.w3.org/ns/shacl#property": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/value", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -29,7 +29,7 @@ ], "http://a.ml/vocabularies/shapes#range": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/value", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/value/scalar/default-scalar", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -42,58 +42,18 @@ "@id": "http://www.w3.org/2001/XMLSchema#long" } ], - "http://www.w3.org/ns/shacl#name": [ - { - "@value": "value" - } - ], - "http://a.ml/vocabularies/core#description": [ - { - "@value": "this is a documentation for the primitive type" - } - ], - "http://www.w3.org/ns/shacl#defaultValue": [ - { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/value/scalar_1", - "@type": [ - "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": "123" - } - ], - "http://www.w3.org/ns/shacl#datatype": [ - { - "@id": "http://www.w3.org/2001/XMLSchema#integer" - } - ], - "http://a.ml/vocabularies/core#name": [ - { - "@value": "scalar_1" - } - ] - } - ], - "http://a.ml/vocabularies/shapes#namespace": [ - { - "@value": "fields" - } - ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/value/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/value/scalar/default-scalar/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#avro-schema": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/value/source-map/avro-schema/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/value/scalar/default-scalar/source-map/avro-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field/scalar/value" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/value/scalar/default-scalar" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -109,12 +69,42 @@ ], "http://www.w3.org/ns/shacl#name": [ { - "@value": "field" + "@value": "value" + } + ], + "http://a.ml/vocabularies/core#description": [ + { + "@value": "this is a documentation for the primitive type" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/value/scalar_1", + "@type": [ + "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": "123" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#integer" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -123,7 +113,7 @@ ], "http://a.ml/vocabularies/shapes#range": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/union/next", "@type": [ "http://a.ml/vocabularies/shapes#UnionShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -133,7 +123,7 @@ ], "http://a.ml/vocabularies/shapes#anyOf": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next/anyOf/nil/null", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/union/next/anyOf/nil/null", "@type": [ "http://a.ml/vocabularies/shapes#NilShape", "http://www.w3.org/ns/shacl#Shape", @@ -147,7 +137,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next/anyOf/shape/default-node", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/union/next/anyOf/shape/default-node", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -179,7 +169,7 @@ ], "http://www.w3.org/ns/shacl#defaultValue": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next/scalar_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/union/next/scalar_1", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -209,16 +199,16 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/union/next/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#avro-schema": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next/source-map/avro-schema/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/union/next/source-map/avro-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/field_1/union/next" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/union/next" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -234,7 +224,37 @@ ], "http://www.w3.org/ns/shacl#name": [ { - "@value": "field" + "@value": "next" + } + ], + "http://a.ml/vocabularies/core#description": [ + { + "@value": "this is a documentation for the union type with recursive element" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] } ] } From c92fe4796ec2b9c31fa85f02249763485f0e66f8 Mon Sep 17 00:00:00 2001 From: Damian Pedra Date: Mon, 1 Jul 2024 18:57:30 -0300 Subject: [PATCH 24/30] W-15633213: Add TCK for avro schemas --- .../tck/apis/invalid/avro-invalid-ref.jsonld | 110 ++ .../tck/apis/invalid/avro-invalid-ref.yaml | 11 + .../avro/tck/apis/invalid/avro-invalid.jsonld | 168 +++ .../avro/tck/apis/invalid/avro-invalid.yaml | 18 + .../invalid/avro-ref-broken-schema.jsonld | 110 ++ .../apis/invalid/avro-ref-broken-schema.yaml | 11 + .../avro/tck/apis/invalid/person-broken.avsc | 21 + .../apis/valid/async-2.4-avro-valid.jsonld | 719 +++++++++++ .../tck/apis/valid/async-2.4-avro-valid.yaml | 49 + .../async-avro-component-ref.dumped.yaml | 15 + .../valid/async-avro-component-ref.jsonld | 164 +++ .../apis/valid/async-avro-component-ref.yaml | 36 + .../tck/apis/valid/avro-components.jsonld | 719 +++++++++++ .../avro/tck/apis/valid/avro-components.yaml | 50 + .../tck/apis/valid/avro-inline.dumped.yaml | 10 + .../avro/tck/apis/valid/avro-inline.jsonld | 126 ++ .../avro/tck/apis/valid/avro-inline.yaml | 32 + .../tck/apis/valid/avro-ref-1.8.2.dumped.yaml | 11 + .../avro/tck/apis/valid/avro-ref-1.8.2.jsonld | 185 +++ .../avro/tck/apis/valid/avro-ref-1.8.2.yaml | 14 + .../avro/tck/apis/valid/schema-1.8.2.avsc | 20 + .../avro/valid-avro-in-components.yaml | 50 + .../resources/avro/valid-avro-schema.yaml | 45 + .../cycle/avro/invalid/enum-schema.json | 19 + .../cycle/avro/invalid/enum-schema.jsonld | 517 ++++++++ .../cycle/avro/invalid/invalid-type.jsonld | 0 .../cycle/avro/invalid/invalid-types.json | 42 + .../nested-schema-invalid-default.json | 45 + .../nested-schema-invalid-default.jsonld | 340 +++++ .../cycle/avro/invalid/non-standar.json | 35 + .../cycle/avro/invalid/non-standar.jsonld | 1028 +++++++++++++++ .../cycle/avro/invalid/person-invalid.json | 77 ++ .../cycle/avro/invalid/person.invalid.jsonld | 0 .../upanddown/cycle/avro/record.json | 2 +- .../cycle/avro/valid/doc-schema.json | 49 + .../cycle/avro/valid/doc-schema.jsonld | 394 ++++++ .../cycle/avro/valid/enum-schema.json | 20 + .../cycle/avro/valid/enum-schema.jsonld | 531 ++++++++ .../cycle/avro/valid/nested-schema.json | 43 + .../cycle/avro/valid/nested-schema.jsonld | 372 ++++++ .../cycle/avro/valid/non-standar.json | 74 ++ .../cycle/avro/valid/non-standar.jsonld | 1123 +++++++++++++++++ .../cycle/avro/valid/person-schema.json | 74 ++ .../cycle/avro/valid/person-schema.jsonld | 1123 +++++++++++++++++ .../cycle/avro/valid/test-union-record.json | 20 + .../cycle/avro/valid/test-union-record.jsonld | 216 ++++ .../avro/AsyncAvroInvalidTCKParsingTest.scala | 23 + .../avro/AsyncAvroValidTCKParsingTest.scala | 22 + .../scala/amf/avro/AvroSchemaTCKTest.scala | 44 + 49 files changed, 8926 insertions(+), 1 deletion(-) create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid-ref.jsonld create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid-ref.yaml create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.jsonld create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-ref-broken-schema.jsonld create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-ref-broken-schema.yaml create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/invalid/person-broken.avsc create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.jsonld create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.dumped.yaml create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.jsonld create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.yaml create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.jsonld create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.dumped.yaml create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.jsonld create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.yaml create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.dumped.yaml create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.jsonld create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.yaml create mode 100644 amf-cli/shared/src/test/resources/avro/tck/apis/valid/schema-1.8.2.avsc create mode 100644 amf-cli/shared/src/test/resources/avro/valid-avro-in-components.yaml create mode 100644 amf-cli/shared/src/test/resources/avro/valid-avro-schema.yaml create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/enum-schema.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/enum-schema.jsonld create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/invalid-type.jsonld create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/invalid-types.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/nested-schema-invalid-default.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/nested-schema-invalid-default.jsonld create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/non-standar.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/non-standar.jsonld create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/person-invalid.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/person.invalid.jsonld create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.jsonld create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.jsonld create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.jsonld create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.jsonld create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.jsonld create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json create mode 100644 amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.jsonld create mode 100644 amf-cli/shared/src/test/scala/amf/avro/AsyncAvroInvalidTCKParsingTest.scala create mode 100644 amf-cli/shared/src/test/scala/amf/avro/AsyncAvroValidTCKParsingTest.scala create mode 100644 amf-cli/shared/src/test/scala/amf/avro/AvroSchemaTCKTest.scala diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid-ref.jsonld b/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid-ref.jsonld new file mode 100644 index 0000000000..01fd9913ec --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid-ref.jsonld @@ -0,0 +1,110 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid-ref.yaml", + "@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/avro/tck/apis/invalid/avro-invalid-ref.yaml#/async-api", + "@type": [ + "http://a.ml/vocabularies/apiContract#AsyncAPI", + "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": "My Invalid API" + } + ], + "http://a.ml/vocabularies/core#version": [ + { + "@value": "1.0.0" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid-ref.yaml#/async-api/endpoint/mychannel", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#path": [ + { + "@value": "mychannel" + } + ], + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid-ref.yaml#/async-api/endpoint/mychannel/supportedOperation/publish", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "publish" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid-ref.yaml#/async-api/endpoint/mychannel/supportedOperation/publish/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid-ref.yaml#/async-api/endpoint/mychannel/supportedOperation/publish/expects/request/payload/default", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#schemaMediaType": [ + { + "@value": "application/vnd.apache.avro;version=1.9.0" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid-ref.yaml#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#APIContractProcessingData" + ], + "http://a.ml/vocabularies/apiContract#modelVersion": [ + { + "@value": "3.9.0" + } + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "ASYNC 2.0" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid-ref.yaml b/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid-ref.yaml new file mode 100644 index 0000000000..bcfe0cdd67 --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid-ref.yaml @@ -0,0 +1,11 @@ +asyncapi: 2.0.0 +info: + title: My Invalid API + version: '1.0.0' +channels: + mychannel: + publish: + message: + schemaFormat: application/vnd.apache.avro;version=1.9.0 + payload: + $ref: 'invalid-schema/asyncapi-avro-invalid.json' diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.jsonld b/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.jsonld new file mode 100644 index 0000000000..58aced8802 --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.jsonld @@ -0,0 +1,168 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml", + "@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/avro/tck/apis/invalid/avro-invalid.yaml#/async-api", + "@type": [ + "http://a.ml/vocabularies/apiContract#AsyncAPI", + "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": "My API" + } + ], + "http://a.ml/vocabularies/core#version": [ + { + "@value": "1.0.0" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml#/async-api/endpoint/myChannel", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#path": [ + { + "@value": "myChannel" + } + ], + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml#/async-api/endpoint/myChannel/supportedOperation/publish", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "publish" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml#/async-api/endpoint/myChannel/supportedOperation/publish/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml#/declares/msg/testMessage" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "testMessage" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#APIContractProcessingData" + ], + "http://a.ml/vocabularies/apiContract#modelVersion": [ + { + "@value": "3.9.0" + } + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "ASYNC 2.4" + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml#/declares/msg/testMessage", + "@type": [ + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "testMessage" + } + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml#/declares/msg/testMessage/payload/default", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#schemaMediaType": [ + { + "@value": "application/vnd.apache.avro;version=1.9.0" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml#/declares/msg/testMessage/payload/default/any/default-any", + "@type": [ + "http://a.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-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml#/declares/msg/testMessage/payload/default/any/default-any/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml#/declares/msg/testMessage/payload/default/any/default-any/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml#/declares/msg/testMessage/payload/default/any/default-any" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "nonexistent" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml b/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml new file mode 100644 index 0000000000..6e572d189d --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-invalid.yaml @@ -0,0 +1,18 @@ +asyncapi: 2.4.0 +info: + title: My API + version: '1.0.0' + +channels: + myChannel: + publish: + message: + $ref: '#/components/messages/testMessage' + +components: + messages: + testMessage: + schemaFormat: 'application/vnd.apache.avro;version=1.9.0' + payload: + name: Person + type: nonexistent #this is invalid diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-ref-broken-schema.jsonld b/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-ref-broken-schema.jsonld new file mode 100644 index 0000000000..b3fb48b3fb --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-ref-broken-schema.jsonld @@ -0,0 +1,110 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-ref-broken-schema.yaml", + "@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/avro/tck/apis/invalid/avro-ref-broken-schema.yaml#/async-api", + "@type": [ + "http://a.ml/vocabularies/apiContract#AsyncAPI", + "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": "My Broken API" + } + ], + "http://a.ml/vocabularies/core#version": [ + { + "@value": "1.0.0" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-ref-broken-schema.yaml#/async-api/endpoint/mychannel", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#path": [ + { + "@value": "mychannel" + } + ], + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-ref-broken-schema.yaml#/async-api/endpoint/mychannel/supportedOperation/publish", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "publish" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-ref-broken-schema.yaml#/async-api/endpoint/mychannel/supportedOperation/publish/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-ref-broken-schema.yaml#/async-api/endpoint/mychannel/supportedOperation/publish/expects/request/payload/default", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#schemaMediaType": [ + { + "@value": "application/vnd.apache.avro;version=1.9.0" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-ref-broken-schema.yaml#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#APIContractProcessingData" + ], + "http://a.ml/vocabularies/apiContract#modelVersion": [ + { + "@value": "3.9.0" + } + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "ASYNC 2.0" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-ref-broken-schema.yaml b/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-ref-broken-schema.yaml new file mode 100644 index 0000000000..537234400e --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/avro-ref-broken-schema.yaml @@ -0,0 +1,11 @@ +asyncapi: 2.0.0 +info: + title: My Broken API + version: '1.0.0' +channels: + mychannel: + publish: + message: + schemaFormat: application/vnd.apache.avro;version=1.9.0 + payload: + $ref: 'schemas/person-broken.avsc' diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/person-broken.avsc b/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/person-broken.avsc new file mode 100644 index 0000000000..b91ee40af0 --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/invalid/person-broken.avsc @@ -0,0 +1,21 @@ +{ + "name": "Person", + "type": "record", + "fields": [ + {"name": "name", "type": "string", "example": "Donkey"}, //example field not supported + {"name": "age", "type": ["null", "int"], "default": null, "example": "123"}, + { + "name": "favoriteProgrammingLanguage", + "type": {"name": "ProgrammingLanguage", "type": "enum", "symbols": ["JS", "Java", "Go", "Rust", "C"], "default": "JS"} //default should be within the definition + }, + { + "name": "address", + "type": { + "name": "Address", + "type": "record", + "fields": [{"name": "zipcode", "type": "notAValidAvroType", "example": "53003"}] //incorrect type + } + }, + {"name": "someid", "type": "string", "logicalType": "uuid"} + ] +} diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.jsonld b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.jsonld new file mode 100644 index 0000000000..b7f04d1a9b --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.jsonld @@ -0,0 +1,719 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml", + "@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/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/async-api", + "@type": [ + "http://a.ml/vocabularies/apiContract#AsyncAPI", + "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": "My API" + } + ], + "http://a.ml/vocabularies/core#version": [ + { + "@value": "1.0.0" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/async-api/endpoint/myChannel", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#path": [ + { + "@value": "myChannel" + } + ], + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/async-api/endpoint/myChannel/supportedOperation/publish", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "publish" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/async-api/endpoint/myChannel/supportedOperation/publish/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "testMessage" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#APIContractProcessingData" + ], + "http://a.ml/vocabularies/apiContract#modelVersion": [ + { + "@value": "3.9.0" + } + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "ASYNC 2.4" + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage", + "@type": [ + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "testMessage" + } + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#schemaMediaType": [ + { + "@value": "application/vnd.apache.avro;version=1.9.0" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person", + "@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/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/name", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/name/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/name/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/name/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "name" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/union/age", + "@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/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/union/age/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/union/age/anyOf/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#int" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "age" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/union/age/scalar_1", + "@type": [ + "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": "" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/union/age/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/union/age/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/union/age" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "age" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/scalar_1", + "@type": [ + "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": "" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "ProgrammingLanguage" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/scalar_1", + "@type": [ + "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": "JS" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/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/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "JS" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_1", + "@type": [ + "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": "Java" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_2", + "@type": [ + "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": "Go" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_3", + "@type": [ + "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": "Rust" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_5": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_4", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "C" + } + ], + "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/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "enum" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "favoriteProgrammingLanguage" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address", + "@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/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address/property/property/zipcode", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address/property/property/zipcode/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#int" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "int" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "zipcode" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Address" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "address" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/someid", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/someid/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/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/someid/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/someid/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/someid/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "someid" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Person" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml#/declares/msg/testMessage/payload/default/shape/Person" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml new file mode 100644 index 0000000000..47c2730ce3 --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-2.4-avro-valid.yaml @@ -0,0 +1,49 @@ +asyncapi: 2.4.0 +info: + title: My API + version: '1.0.0' + +channels: + myChannel: + publish: + message: + $ref: '#/components/messages/testMessage' +components: + messages: + testMessage: + schemaFormat: 'application/vnd.apache.avro;version=1.9.0' + payload: + name: Person + type: record + fields: + - name: name + type: string + example: Donkey + - name: age + type: + - 'null' + - int + default: + example: 123 + - name: favoriteProgrammingLanguage + type: + name: ProgrammingLanguage + type: enum + symbols: + - JS + - Java + - Go + - Rust + - C + default: JS + - name: address + type: + name: Address + type: record + fields: + - name: zipcode + type: int + example: 53003 + - name: someid + type: string + logicalType: uuid diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.dumped.yaml b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.dumped.yaml new file mode 100644 index 0000000000..d66f303f09 --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.dumped.yaml @@ -0,0 +1,15 @@ +asyncapi: 2.1.0 +info: + title: My API + version: 1.0.0 +components: + schemas: + Person: + type: string +channels: + mychannel: + publish: + message: + schemaFormat: application/vnd.apache.avro;version=1.8.2 + payload: + $ref: "#/components/schemas/Person" diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.jsonld b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.jsonld new file mode 100644 index 0000000000..dadb042113 --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.jsonld @@ -0,0 +1,164 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.yaml", + "@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/avro/tck/apis/valid/async-avro-component-ref.yaml#/async-api", + "@type": [ + "http://a.ml/vocabularies/apiContract#AsyncAPI", + "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": "My API" + } + ], + "http://a.ml/vocabularies/core#version": [ + { + "@value": "1.0.0" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.yaml#/async-api/endpoint/mychannel", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#path": [ + { + "@value": "mychannel" + } + ], + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.yaml#/async-api/endpoint/mychannel/supportedOperation/publish", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "publish" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.yaml#/async-api/endpoint/mychannel/supportedOperation/publish/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.yaml#/async-api/endpoint/mychannel/supportedOperation/publish/expects/request/payload/default", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#schemaMediaType": [ + { + "@value": "application/vnd.apache.avro;version=1.8.2" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.yaml#/async-api/endpoint/mychannel/supportedOperation/publish/expects/request/payload/default/scalar/schema", + "@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/avro/tck/apis/valid/async-avro-component-ref.yaml#/declares/scalar/Person" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Person" + } + ], + "http://a.ml/vocabularies/document#recursive": [ + { + "@value": true + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "schema" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.yaml#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#APIContractProcessingData" + ], + "http://a.ml/vocabularies/apiContract#modelVersion": [ + { + "@value": "3.9.0" + } + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "ASYNC 2.1" + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.yaml#/declares/scalar/Person", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "Person" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.yaml b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.yaml new file mode 100644 index 0000000000..21530c517d --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/async-avro-component-ref.yaml @@ -0,0 +1,36 @@ +asyncapi: 2.1.0 +info: + title: My API + version: '1.0.0' +components: + schemas: + Person: + type: string + name: Person + fields: + - name: name + type: string + - name: age + type: + - "null" + - int + default: null + - name: favoriteProgrammingLanguage + type: + name: ProgrammingLanguage + type: enum + symbols: ["JS", "Java", "Go", "Rust", "C"] + - name: address + type: + name: Address + type: record + fields: + - name: zipcode + type: int +channels: + mychannel: + publish: + message: + schemaFormat: application/vnd.apache.avro;version=1.8.2 + payload: + $ref: '#/components/schemas/Person' diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.jsonld b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.jsonld new file mode 100644 index 0000000000..31d312e80f --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.jsonld @@ -0,0 +1,719 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml", + "@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/avro/tck/apis/valid/avro-components.yaml#/async-api", + "@type": [ + "http://a.ml/vocabularies/apiContract#AsyncAPI", + "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": "My API" + } + ], + "http://a.ml/vocabularies/core#version": [ + { + "@value": "1.0.0" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/async-api/endpoint/myChannel", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#path": [ + { + "@value": "myChannel" + } + ], + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/async-api/endpoint/myChannel/supportedOperation/publish", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "publish" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/async-api/endpoint/myChannel/supportedOperation/publish/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "testMessage" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#APIContractProcessingData" + ], + "http://a.ml/vocabularies/apiContract#modelVersion": [ + { + "@value": "3.9.0" + } + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "ASYNC 2.4" + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage", + "@type": [ + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "testMessage" + } + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#schemaMediaType": [ + { + "@value": "application/vnd.apache.avro;version=1.9.0" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person", + "@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/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/name", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/name/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/name/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/name/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "name" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/union/age", + "@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/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/union/age/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/union/age/anyOf/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#int" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "age" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/union/age/scalar_1", + "@type": [ + "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": "" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/union/age/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/union/age/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/union/age" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "age" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/age/scalar_1", + "@type": [ + "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": "" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "ProgrammingLanguage" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/scalar_1", + "@type": [ + "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": "JS" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/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/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "JS" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_1", + "@type": [ + "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": "Java" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_2", + "@type": [ + "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": "Go" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_3", + "@type": [ + "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": "Rust" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_5": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_4", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "C" + } + ], + "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/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "enum" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "favoriteProgrammingLanguage" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address", + "@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/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address/property/property/zipcode", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address/property/property/zipcode/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#int" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "int" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "zipcode" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Address" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/address/shape/Address" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "address" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/someid", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/someid/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/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/someid/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/someid/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/property/property/someid/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "someid" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Person" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml#/declares/msg/testMessage/payload/default/shape/Person" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml new file mode 100644 index 0000000000..0b2047062e --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-components.yaml @@ -0,0 +1,50 @@ +asyncapi: 2.4.0 +info: + title: My API + version: '1.0.0' + +channels: + myChannel: + publish: + message: + $ref: '#/components/messages/testMessage' + +components: + messages: + testMessage: + schemaFormat: 'application/vnd.apache.avro;version=1.9.0' + payload: + name: Person + type: record + fields: + - name: name + type: string + example: Donkey + - name: age + type: + - 'null' + - int + default: + example: 123 + - name: favoriteProgrammingLanguage + type: + name: ProgrammingLanguage + type: enum + symbols: + - JS + - Java + - Go + - Rust + - C + default: JS + - name: address + type: + name: Address + type: record + fields: + - name: zipcode + type: int + example: 53003 + - name: someid + type: string + logicalType: uuid diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.dumped.yaml b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.dumped.yaml new file mode 100644 index 0000000000..95b6289005 --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.dumped.yaml @@ -0,0 +1,10 @@ +asyncapi: 2.0.0 +info: + title: My API + version: 1.0.0 +channels: + mychannel: + publish: + message: + schemaFormat: application/vnd.apache.avro;version=1.8.2 + payload: {} diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.jsonld b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.jsonld new file mode 100644 index 0000000000..46ed1ac0d0 --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.jsonld @@ -0,0 +1,126 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.yaml", + "@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/avro/tck/apis/valid/avro-inline.yaml#/async-api", + "@type": [ + "http://a.ml/vocabularies/apiContract#AsyncAPI", + "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": "My API" + } + ], + "http://a.ml/vocabularies/core#version": [ + { + "@value": "1.0.0" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.yaml#/async-api/endpoint/mychannel", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#path": [ + { + "@value": "mychannel" + } + ], + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.yaml#/async-api/endpoint/mychannel/supportedOperation/publish", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "publish" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.yaml#/async-api/endpoint/mychannel/supportedOperation/publish/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.yaml#/async-api/endpoint/mychannel/supportedOperation/publish/expects/request/payload/default", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#schemaMediaType": [ + { + "@value": "application/vnd.apache.avro;version=1.8.2" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.yaml#/async-api/endpoint/mychannel/supportedOperation/publish/expects/request/payload/default/any/schema", + "@type": [ + "http://a.ml/vocabularies/shapes#AnyShape", + "http://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": "schema" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.yaml#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#APIContractProcessingData" + ], + "http://a.ml/vocabularies/apiContract#modelVersion": [ + { + "@value": "3.9.0" + } + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "ASYNC 2.0" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.yaml b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.yaml new file mode 100644 index 0000000000..192a01998d --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-inline.yaml @@ -0,0 +1,32 @@ +asyncapi: 2.0.0 +info: + title: My API + version: '1.0.0' +channels: + mychannel: + publish: + message: + schemaFormat: application/vnd.apache.avro;version=1.8.2 + payload: + type: record + name: Person + fields: + - name: name + type: string + - name: age + type: + - "null" + - int + default: null + - name: favoriteProgrammingLanguage + type: + name: ProgrammingLanguage + type: enum + symbols: ["JS", "Java", "Go", "Rust", "C"] + - name: address + type: + name: Address + type: record + fields: + - name: zipcode + type: int diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.dumped.yaml b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.dumped.yaml new file mode 100644 index 0000000000..3ab9cf7925 --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.dumped.yaml @@ -0,0 +1,11 @@ +asyncapi: 2.0.0 +info: + title: My API + version: 1.0.0 +channels: + myChannel: + publish: + message: + schemaFormat: application/vnd.apache.avro;version=1.8.2 + payload: + $ref: schema-1.8.2.avsc diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.jsonld b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.jsonld new file mode 100644 index 0000000000..ca972761f0 --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.jsonld @@ -0,0 +1,185 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.yaml", + "@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/avro/tck/apis/valid/avro-ref-1.8.2.yaml#/async-api", + "@type": [ + "http://a.ml/vocabularies/apiContract#AsyncAPI", + "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": "My API" + } + ], + "http://a.ml/vocabularies/core#version": [ + { + "@value": "1.0.0" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.yaml#/async-api/endpoint/myChannel", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#path": [ + { + "@value": "myChannel" + } + ], + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.yaml#/async-api/endpoint/myChannel/supportedOperation/publish", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "publish" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.yaml#/async-api/endpoint/myChannel/supportedOperation/publish/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.yaml#/async-api/endpoint/myChannel/supportedOperation/publish/expects/request/payload/default", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#schemaMediaType": [ + { + "@value": "application/vnd.apache.avro;version=1.8.2" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.yaml#/async-api/endpoint/myChannel/supportedOperation/publish/expects/request/payload/default/any/schema", + "@type": [ + "http://a.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/avro/tck/apis/valid/avro-ref-1.8.2.yaml#/references/0/any/schema" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "schema-1.8.2.avsc" + } + ], + "http://a.ml/vocabularies/document#recursive": [ + { + "@value": true + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "schema" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.yaml#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#APIContractProcessingData" + ], + "http://a.ml/vocabularies/apiContract#modelVersion": [ + { + "@value": "3.9.0" + } + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "ASYNC 2.0" + } + ] + } + ], + "http://a.ml/vocabularies/document#references": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.yaml#/references/0", + "@type": [ + "http://a.ml/vocabularies/shapes#DataTypeFragment", + "http://a.ml/vocabularies/document#Fragment", + "http://a.ml/vocabularies/document#Unit" + ], + "http://a.ml/vocabularies/document#encodes": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.yaml#/references/0/any/schema", + "@type": [ + "http://a.ml/vocabularies/shapes#AnyShape", + "http://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": "schema" + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": false + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.yaml#/references/0/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#transformed": [ + { + "@value": false + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.yaml b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.yaml new file mode 100644 index 0000000000..b274750f88 --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/avro-ref-1.8.2.yaml @@ -0,0 +1,14 @@ +asyncapi: 2.0.0 +info: + title: My API + version: '1.0.0' +channels: + myChannel: + publish: + message: + schemaFormat: application/vnd.apache.avro;version=1.8.2 + payload: + $ref: 'schema-1.8.2.avsc' +# tratar de validar esta referencia. +# Crear dump y jsold files. +# Agregar json con schemas simples. Tratando de abarcar toda la spec de avro (fields, types) diff --git a/amf-cli/shared/src/test/resources/avro/tck/apis/valid/schema-1.8.2.avsc b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/schema-1.8.2.avsc new file mode 100644 index 0000000000..79d2497b1e --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/tck/apis/valid/schema-1.8.2.avsc @@ -0,0 +1,20 @@ +{ + "type": "record", + "name": "Person", + "fields": [ + {"name": "name", "type": "string", "example": "Donkey"}, + {"name": "age", "type": ["null", "int"], "default": null}, + { + "name": "favoriteProgrammingLanguage", + "type": {"name": "ProgrammingLanguage", "type": "enum", "symbols": ["JS", "Java", "Go", "Rust", "C"]} + }, + { + "name": "address", + "type": { + "name": "Address", + "type": "record", + "fields": [{"name": "zipcode", "type": "int"}] + } + } + ], +} diff --git a/amf-cli/shared/src/test/resources/avro/valid-avro-in-components.yaml b/amf-cli/shared/src/test/resources/avro/valid-avro-in-components.yaml new file mode 100644 index 0000000000..2de38e74a9 --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/valid-avro-in-components.yaml @@ -0,0 +1,50 @@ +asyncapi: 2.4.0 +info: + title: My API + version: '1.0.0' + +channels: + myChannel: + publish: + message: + $ref: '#/components/messages/testMessage' # todo: ref to brother file + +components: + messages: + testMessage: + schemaFormat: 'application/vnd.apache.avro;version=1.9.0' + payload: + name: Person + type: record + fields: + - name: name + type: string + example: Donkey + - name: age + type: + - 'null' + - int + default: + example: 123 + - name: favoriteProgrammingLanguage + type: + name: ProgrammingLanguage + type: enum + symbols: + - JS + - Java + - Go + - Rust + - C + default: JS + - name: address + type: + name: Address + type: record + fields: + - name: zipcode + type: int + example: 53003 + - name: someid + type: string + logicalType: uuid \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/avro/valid-avro-schema.yaml b/amf-cli/shared/src/test/resources/avro/valid-avro-schema.yaml new file mode 100644 index 0000000000..533ad04d0d --- /dev/null +++ b/amf-cli/shared/src/test/resources/avro/valid-avro-schema.yaml @@ -0,0 +1,45 @@ +asyncapi: 2.4.0 +info: + title: My API + version: '1.0.0' + +channels: + myChannel: + publish: + message: + schemaFormat: 'application/vnd.apache.avro;version=1.9.0' + payload: + name: Person + type: record + fields: + - name: name + type: string + example: Donkey + - name: age + type: + - 'null' + - int + default: + example: 123 + - name: favoriteProgrammingLanguage + type: + name: ProgrammingLanguage + type: enum + symbols: + - JS + - Java + - Go + - Rust + - C + default: JS + - name: address + type: + name: Address + type: record + fields: + - name: zipcode + type: int + example: 53003 + - name: someid + type: string + logicalType: uuid \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/enum-schema.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/enum-schema.json new file mode 100644 index 0000000000..aa73416ab4 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/enum-schema.json @@ -0,0 +1,19 @@ +{ + "type": "record", + "fields": [ + {"name": "name", "type": "string", "example": "Donkey"}, + {"name": "age", "type": ["null", "int"], "default": null}, + { + "name": "favoriteProgrammingLanguage", + "type": {"name": "ProgrammingLanguage", "type": "enum", "symbols": ["JS", "Java", "Go", "Rust", "C"]} + }, + { + "name": "address", + "type": { + "name": "Address", + "type": "record", + "fields": [{"name": "zipcode", "type": "int", "example": 53003}] //Example is invalid + } + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/enum-schema.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/enum-schema.jsonld new file mode 100644 index 0000000000..db0ab3adf8 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/enum-schema.jsonld @@ -0,0 +1,517 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/enum-schema.json#/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field/scalar/name", + "@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://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/cycle/avro/enum-schema.json#/shape/default-node/property/property/field/scalar/name/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field/scalar/name/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field/scalar/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_1", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_1/union/age", + "@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/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_1/union/age/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_1/union/age/anyOf/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#int" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "age" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_1/union/age/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_1/union/age/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_1/union/age/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_1/union/age" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_2", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_2/scalar/ProgrammingLanguage", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "ProgrammingLanguage" + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_2/scalar/ProgrammingLanguage/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/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_2/scalar/ProgrammingLanguage/in/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "JS" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_2/scalar/ProgrammingLanguage/in/data-node_4", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "Java" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_2/scalar/ProgrammingLanguage/in/data-node_5", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "Go" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_2/scalar/ProgrammingLanguage/in/data-node_6", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "Rust" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_5": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_2/scalar/ProgrammingLanguage/in/data-node_7", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "C" + } + ], + "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/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_2/scalar/ProgrammingLanguage/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_2/scalar/ProgrammingLanguage/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_2/scalar/ProgrammingLanguage" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "enum" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_3", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_3/shape/Address", + "@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/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_3/shape/Address/property/property/field", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_3/shape/Address/property/property/field/scalar/zipcode", + "@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#int" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "zipcode" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_3/shape/Address/property/property/field/scalar/zipcode/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_3/shape/Address/property/property/field/scalar/zipcode/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_3/shape/Address/property/property/field/scalar/zipcode" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "int" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Address" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_3/shape/Address/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_3/shape/Address/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/property/property/field_3/shape/Address" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum-schema.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } +] +////terminar de comparar todos los files y buscar cosas raras. manana en una horita lo haces diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/invalid-type.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/invalid-type.jsonld new file mode 100644 index 0000000000..e69de29bb2 diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/invalid-types.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/invalid-types.json new file mode 100644 index 0000000000..9f1f647251 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/invalid-types.json @@ -0,0 +1,42 @@ +{ + "type": "record", + "name": "ConnectionRequested", + "namespace": "com.foo.connections", + "doc": "An example schema to illustrate the issue", + "fields": [ + { + "name": "metadata", + "type": { + "type": "record", + "name": "EventMetadata", + "namespace": "com.foo", + "fields": [ + { + "name": "id", + "type": "uuid", + "doc": "Unique identifier for this specific event" + }, + { + "name": "timestamp", + "type": "timestamp", + "doc": "Instant the event took place" + } + ], + "invalidAttribute": "This is not allowed" + } + }, + { + "name": "auth_code", + "type": "encryptedString", + "doc": "Encrypted auth_code received when user authorizes the app." + }, + { + "name": "triggered_by", + "type": { + "type": "string", + "logicalType": "invalidType" + }, + "doc": "ID of the user who triggered this event." + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/nested-schema-invalid-default.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/nested-schema-invalid-default.json new file mode 100644 index 0000000000..382dbe2b7e --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/nested-schema-invalid-default.json @@ -0,0 +1,45 @@ +{ + "type": "record", + "name": "TestRecordWithMapsAndArrays", + "namespace": "org.apache.avro.specific", + "fields": [ + { + "name": "arr", + "type": { + "type": "array", + "items": "string" + }, + "default": "not an array" + }, + { + "name": "map", + "type": { + "type": "map", + "values": "long" + }, + "default": "not a map" + }, + { + "name": "nested_arr", + "type": { + "type": "array", + "items": { + "type": "array", + "items": "string" + } + }, + "default": "should not have default" + }, + { + "name": "nested_map", + "type": { + "type": "map", + "values": { + "type": "map", + "values": "long" + } + }, + "default": "should not have default" + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/nested-schema-invalid-default.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/nested-schema-invalid-default.jsonld new file mode 100644 index 0000000000..476886bf29 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/nested-schema-invalid-default.jsonld @@ -0,0 +1,340 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays", + "@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/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field/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/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field/array/default-array/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field/array/default-array/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field/array/default-array/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "array" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_1", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_1/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#additionalPropertiesSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_1/shape/default-node/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#long" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_1/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_1/shape/default-node/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_1/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "map" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_2", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_2/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/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_2/array/default-array/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_2/array/default-array/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_2/array/default-array/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_2/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "array" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_3", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_3/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#additionalPropertiesSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_3/shape/default-node/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_3/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_3/shape/default-node/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/field_3/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "map" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TestRecordWithMapsAndArrays" + } + ], + "http://a.ml/vocabularies/shapes#namespace": [ + { + "@value": "org.apache.avro.specific" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/shape/TestRecordWithMapsAndArrays" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "org.apache.avro.specific" + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/nested-schema.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/non-standar.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/non-standar.json new file mode 100644 index 0000000000..55e07cdfd2 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/non-standar.json @@ -0,0 +1,35 @@ +{ + "name": "Person", + "namespace": "com.company", + "type": "record", + "fields": [ + {"name": "name", "type": "string", "example": "Donkey", "minLength": 0}, + {"name": "serialNo", "type": "string", "minLength": 0, "maxLength": 50}, + {"name": "email", "type": ["null", "string"], "example": "donkey@asyncapi.com", "pattern": "^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}$"}, + {"name": "age", "type": ["null", "int"], "default": null, "example": 123, "exclusiveMinimum": 0, "exclusiveMaximum": 200}, + { + "name": "favoriteProgrammingLanguage", + "type": { + "name": "ProgrammingLanguage", + "type": "enum", + "symbols": ["JS", "Java", "Go", "Rust", "C"], + "default": "JS" + } + }, + {"name": "certifications", "type": {"type": "array", "items": "string", "minItems": 1, "maxItems": 500, "uniqueItems": true}}, + { + "name": "address", + "type": { + "name": "Address", + "type": "record", + "fields": [ + {"name": "zipcode", "type": "int", "example": 53003}, + {"name": "country", "type": ["null", "string"]} + ] + } + }, + {"name": "weight", "type": "float", "example": 65.1, "minimum": 0, "maximum": 500}, + {"name": "height", "type": "double", "example": 1.85, "minimum": 0, "maximum": 3.0}, + {"name": "someid", "type": "string", "logicalType": "uuid"} + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/non-standar.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/non-standar.jsonld new file mode 100644 index 0000000000..64e0eb3e1f --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/non-standar.jsonld @@ -0,0 +1,1028 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/non-standar.json#/shape/Person", + "@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/cycle/avro/non-standar.json#/shape/Person/property/property/field", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field/scalar/name", + "@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://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/cycle/avro/non-standar.json#/shape/Person/property/property/field/scalar/name/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field/scalar/name/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field/scalar/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_1", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_1/scalar/serialNo", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "serialNo" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_1/scalar/serialNo/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_1/scalar/serialNo/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_1/scalar/serialNo" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_2", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_2/union/email", + "@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/cycle/avro/non-standar.json#/shape/Person/property/property/field_2/union/email/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_2/union/email/anyOf/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://www.w3.org/ns/shacl#name": [ + { + "@value": "email" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_2/union/email/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_2/union/email/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_2/union/email" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_3", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_3/union/age", + "@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/cycle/avro/non-standar.json#/shape/Person/property/property/field_3/union/age/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_3/union/age/anyOf/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#int" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "age" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_3/union/age/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_3/union/age/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_3/union/age/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_3/union/age" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_4", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_4/scalar/ProgrammingLanguage", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "ProgrammingLanguage" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_4/scalar/ProgrammingLanguage/scalar_1", + "@type": [ + "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": "JS" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_4/scalar/ProgrammingLanguage/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/cycle/avro/non-standar.json#/shape/Person/property/property/field_4/scalar/ProgrammingLanguage/in/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "JS" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_4/scalar/ProgrammingLanguage/in/data-node_10", + "@type": [ + "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": "Java" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_4/scalar/ProgrammingLanguage/in/data-node_11", + "@type": [ + "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": "Go" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_4/scalar/ProgrammingLanguage/in/data-node_12", + "@type": [ + "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": "Rust" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_5": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_4/scalar/ProgrammingLanguage/in/data-node_13", + "@type": [ + "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": "C" + } + ], + "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/cycle/avro/non-standar.json#/shape/Person/property/property/field_4/scalar/ProgrammingLanguage/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_4/scalar/ProgrammingLanguage/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_4/scalar/ProgrammingLanguage" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "enum" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_5", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_5/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/cycle/avro/non-standar.json#/shape/Person/property/property/field_5/array/default-array/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_5/array/default-array/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_5/array/default-array/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_5/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "array" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address", + "@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/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address/property/property/field", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address/property/property/field/scalar/zipcode", + "@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#int" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "zipcode" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address/property/property/field/scalar/zipcode/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address/property/property/field/scalar/zipcode/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address/property/property/field/scalar/zipcode" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "int" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address/property/property/field_14", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address/property/property/field_14/union/country", + "@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/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address/property/property/field_14/union/country/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address/property/property/field_14/union/country/anyOf/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://www.w3.org/ns/shacl#name": [ + { + "@value": "country" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address/property/property/field_14/union/country/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address/property/property/field_14/union/country/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address/property/property/field_14/union/country" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Address" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_6/shape/Address" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_7", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_7/scalar/weight", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "weight" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_7/scalar/weight/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_7/scalar/weight/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_7/scalar/weight" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "float" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_8", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_8/scalar/height", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "height" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_8/scalar/height/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_8/scalar/height/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_8/scalar/height" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "double" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_9", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_9/scalar/someid", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "someid" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_9/scalar/someid/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_9/scalar/someid/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/property/property/field_9/scalar/someid" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "field" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Person" + } + ], + "http://a.ml/vocabularies/shapes#namespace": [ + { + "@value": "com.company" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/shape/Person" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "com.company" + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/non-standar.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/person-invalid.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/person-invalid.json new file mode 100644 index 0000000000..88d2752f31 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/person-invalid.json @@ -0,0 +1,77 @@ +{ + "name": "Person", + "namespace": "com.company", + "type": "record", + "fields": [ + { + "name": "name", + "type": "str", // Invalid type: "str" should be "string" + "default": 123 // Invalid default type: Should be a string, not a number + }, + { + "name": "serialNo", + "type": "string", + "default": 456 // Invalid default type: Default for a string should be a string + }, + { + "name": "email", + "type": ["null", "string"], + "default": "notAnEmail" // Invalid format if email validation were expected + }, + { + "name": "age", + "type": ["null", "int"], + "default": "old" // Invalid default type: Default for an int should be an integer + }, + { + "name": "favoriteProgrammingLanguage", + "type": { + "name": "ProgrammingLanguage", + "type": "enumeration", // Incorrect type: should be "enum" + "symbols": ["JS", "Java", "Go", "Rust", "C#"], // Invalid symbol: "C#" is not in the original list + "default": "Python" // Invalid default: "Python" is not one of the defined symbols + } + }, + { + "name": "certifications", + "type": { + "type": "list", // Invalid type: should be "array" + "items": "string" + } + }, + { + "name": "address", + "type": { + "name": "Address", + "type": "record", + "fields": [ + { + "name": "zipcode", + "type": "string" // Invalid + }, + { + "name": "country", + "type": ["null", "str"] // Invalid + } + ] + } + }, + { + "name": "weight", + "type": "double", // Incorrect type + "default": "heavy" // Non-numeric default + }, + { + "name": "height", + "type": "double", + "default": "tall" // Non-numeric default + }, + { + "name": "someid", + "type": { + "type": "string", + "logicalType": "uid" // Invalid logical type: should be "uuid" + } + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/person.invalid.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/invalid/person.invalid.jsonld new file mode 100644 index 0000000000..e69de29bb2 diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json index 898276b773..5aca73c1c3 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json @@ -25,4 +25,4 @@ "default": null } ] -} \ No newline at end of file +} diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json new file mode 100644 index 0000000000..bed607fb27 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json @@ -0,0 +1,49 @@ +{ + "type": "record", + "name": "ConnectionRequested", + "namespace": "com.foo.connections", + "doc": "An example schema to illustrate the issue", + "fields": [ + { + "name": "metadata", + "type": { + "type": "record", + "name": "EventMetadata", + "namespace": "com.foo", + "fields": [ + { + "name": "id", + "type": { + "type": "string", + "logicalType": "uuid" + }, + "doc": "Unique identifier for this specific event" + }, + { + "name": "timestamp", + "type": { + "type": "long", + "logicalType": "timestamp-millis" + }, + "doc": "Instant the event took place" + } + ], + "doc": "Metadata associated with every published event" + }, + "doc": "Metadata about the event." + }, + { + "name": "auth_code", + "type": "string", + "doc": "Encrypted auth_code received when user authorizes the app." + }, + { + "name": "triggered_by", + "type": { + "type": "string", + "logicalType": "uuid" + }, + "doc": "ID of the user who triggered this event." + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.jsonld new file mode 100644 index 0000000000..e0c12b6e50 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.jsonld @@ -0,0 +1,394 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested", + "@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/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata/shape/EventMetadata", + "@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/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata/shape/EventMetadata/property/property/id", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata/shape/EventMetadata/property/property/id/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/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata/shape/EventMetadata/property/property/id/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata/shape/EventMetadata/property/property/id/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata/shape/EventMetadata/property/property/id/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "id" + } + ], + "http://a.ml/vocabularies/core#description": [ + { + "@value": "Unique identifier for this specific event" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata/shape/EventMetadata/property/property/timestamp", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata/shape/EventMetadata/property/property/timestamp/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/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata/shape/EventMetadata/property/property/timestamp/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata/shape/EventMetadata/property/property/timestamp/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata/shape/EventMetadata/property/property/timestamp/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "long" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "timestamp" + } + ], + "http://a.ml/vocabularies/core#description": [ + { + "@value": "Instant the event took place" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "EventMetadata" + } + ], + "http://a.ml/vocabularies/core#description": [ + { + "@value": "Metadata associated with every published event" + } + ], + "http://a.ml/vocabularies/shapes#namespace": [ + { + "@value": "com.foo" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata/shape/EventMetadata/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata/shape/EventMetadata/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/metadata/shape/EventMetadata" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "metadata" + } + ], + "http://a.ml/vocabularies/core#description": [ + { + "@value": "Metadata about the event." + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/auth_code", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/auth_code/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/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/auth_code/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/auth_code/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/auth_code/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "auth_code" + } + ], + "http://a.ml/vocabularies/core#description": [ + { + "@value": "Encrypted auth_code received when user authorizes the app." + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/triggered_by", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/triggered_by/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/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/triggered_by/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/triggered_by/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/property/property/triggered_by/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "triggered_by" + } + ], + "http://a.ml/vocabularies/core#description": [ + { + "@value": "ID of the user who triggered this event." + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "ConnectionRequested" + } + ], + "http://a.ml/vocabularies/core#description": [ + { + "@value": "An example schema to illustrate the issue" + } + ], + "http://a.ml/vocabularies/shapes#namespace": [ + { + "@value": "com.foo.connections" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/shape/ConnectionRequested" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "com.foo.connections" + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/doc-schema.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json new file mode 100644 index 0000000000..52da744ce5 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json @@ -0,0 +1,20 @@ +{ + "type": "record", + "fields": [ + {"name": "name", "type": "string", "example": "Donkey"}, + {"name": "age", "type": ["null", "int"], "default": null}, + { + "name": "favoriteProgrammingLanguage", + "type": {"name": "ProgrammingLanguage", "type": "enum", "symbols": ["JS", "Java", "Go", "Rust", "C"]} + }, + { + "name": "address", + "type": { + "name": "Address", + "type": "record", + "fields": [{"name": "zipcode", "type": "int", "example": 53003}] //esta bien declarar un record dentro de type + } //nested record + } + ] +} + //no seguro si es valido el typ como objcto diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.jsonld new file mode 100644 index 0000000000..6482867203 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.jsonld @@ -0,0 +1,531 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/valid/enum-schema.json#/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/name", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/name/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/name/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/name/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "name" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/age", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/age/union/age", + "@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/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/age/union/age/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/age/union/age/anyOf/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#int" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "age" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/age/union/age/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/age/union/age/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/age/union/age/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/age/union/age" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "age" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/age/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/favoriteProgrammingLanguage", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "ProgrammingLanguage" + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/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/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "JS" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_1", + "@type": [ + "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": "Java" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_2", + "@type": [ + "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": "Go" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_3", + "@type": [ + "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": "Rust" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_5": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_4", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "C" + } + ], + "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/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "enum" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "favoriteProgrammingLanguage" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/address", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/address/shape/Address", + "@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/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/address/shape/Address/property/property/zipcode", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/address/shape/Address/property/property/zipcode/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#int" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "int" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "zipcode" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Address" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/address/shape/Address/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/address/shape/Address/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/property/property/address/shape/Address" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "address" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum-schema.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json new file mode 100644 index 0000000000..8505ecc1a9 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json @@ -0,0 +1,43 @@ +{ + "type": "record", + "name": "TestRecordWithMapsAndArrays", + "namespace": "org.apache.avro.specific", + "fields": [ + { + "name": "arr", + "type": { + "type": "array", + "items": "string" + }, + "default": [] + }, + { + "name": "map", + "type": { + "type": "map", + "values": "long" + }, + "default": {} + }, + { + "name": "nested_arr", + "type": { + "type": "array", + "items": { + "type": "array", + "items": "string" + } + } + }, + { + "name": "nested_map", + "type": { + "type": "map", + "values": { + "type": "map", + "values": "long" + } + } + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.jsonld new file mode 100644 index 0000000000..3e72ec266a --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.jsonld @@ -0,0 +1,372 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays", + "@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/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/arr", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/arr/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/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/arr/array/default-array/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/arr/array/default-array/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/arr/array/default-array/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/arr/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "array" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "arr" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/arr/array_1", + "@type": [ + "http://a.ml/vocabularies/data#Array", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/2000/01/rdf-schema#member": [], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "array_1" + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/map", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/map/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#additionalPropertiesSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/map/shape/default-node/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#long" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/map/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/map/shape/default-node/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/map/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "map" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "map" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/map/object_1", + "@type": [ + "http://a.ml/vocabularies/data#Object", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "object_1" + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/nested_arr", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/nested_arr/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/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/nested_arr/array/default-array/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/nested_arr/array/default-array/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/nested_arr/array/default-array/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/nested_arr/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "array" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "nested_arr" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/nested_map", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/nested_map/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#additionalPropertiesSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/nested_map/shape/default-node/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/nested_map/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/nested_map/shape/default-node/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/property/property/nested_map/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "map" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "nested_map" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TestRecordWithMapsAndArrays" + } + ], + "http://a.ml/vocabularies/shapes#namespace": [ + { + "@value": "org.apache.avro.specific" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/shape/TestRecordWithMapsAndArrays" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "org.apache.avro.specific" + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/nested-schema.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json new file mode 100644 index 0000000000..e297ebbb22 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json @@ -0,0 +1,74 @@ +{ + "name": "Person", + "namespace": "com.company", + "type": "record", + "fields": [ + { + "name": "name", + "type": "string" + }, + { + "name": "serialNo", + "type": "string" + }, + { + "name": "email", + "type": ["null", "string"], + "default": null + }, + { + "name": "age", + "type": ["null", "int"], + "default": null + }, + { + "name": "favoriteProgrammingLanguage", + "type": { + "name": "ProgrammingLanguage", + "type": "enum", + "symbols": ["JS", "Java", "Go", "Rust", "C"], + "default": "JS" + } + }, + { + "name": "certifications", + "type": { + "type": "array", + "items": "string" + } + }, + { + "name": "address", + "type": { + "name": "Address", + "type": "record", + "fields": [ + { + "name": "zipcode", + "type": "int" + }, + { + "name": "country", + "type": ["null", "string"], + "default": null + } + ] + } + }, + { + "name": "weight", + "type": "float" + }, + { + "name": "height", + "type": "double" + }, + { + "name": "someid", + "type": { + "type": "string", + "logicalType": "uuid" + } + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.jsonld new file mode 100644 index 0000000000..83dd8c7950 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.jsonld @@ -0,0 +1,1123 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/valid/non-standar.json#/shape/Person", + "@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/cycle/avro/valid/non-standar.json#/shape/Person/property/property/name", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/name/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/name/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/name/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "name" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/serialNo", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/serialNo/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/cycle/avro/valid/non-standar.json#/shape/Person/property/property/serialNo/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/serialNo/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/serialNo/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "serialNo" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/email", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/email/union/email", + "@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/cycle/avro/valid/non-standar.json#/shape/Person/property/property/email/union/email/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/email/union/email/anyOf/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://www.w3.org/ns/shacl#name": [ + { + "@value": "email" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/email/union/email/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/email/union/email/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/email/union/email/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/email/union/email" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "email" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/email/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/age", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/age/union/age", + "@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/cycle/avro/valid/non-standar.json#/shape/Person/property/property/age/union/age/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/age/union/age/anyOf/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#int" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "age" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/age/union/age/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/age/union/age/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/age/union/age/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/age/union/age" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "age" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/age/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/favoriteProgrammingLanguage", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "ProgrammingLanguage" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/scalar_1", + "@type": [ + "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": "JS" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/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/cycle/avro/valid/non-standar.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "JS" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_1", + "@type": [ + "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": "Java" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_2", + "@type": [ + "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": "Go" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_3", + "@type": [ + "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": "Rust" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_5": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_4", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "C" + } + ], + "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/cycle/avro/valid/non-standar.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "enum" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "favoriteProgrammingLanguage" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/certifications", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/certifications/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/cycle/avro/valid/non-standar.json#/shape/Person/property/property/certifications/array/default-array/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/certifications/array/default-array/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/certifications/array/default-array/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/certifications/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "array" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "certifications" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address", + "@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/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/property/property/zipcode", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/property/property/zipcode/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#int" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "int" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "zipcode" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/property/property/country", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/property/property/country/union/country", + "@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/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/property/property/country/union/country/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/property/property/country/union/country/anyOf/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://www.w3.org/ns/shacl#name": [ + { + "@value": "country" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/property/property/country/union/country/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/property/property/country/union/country/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/property/property/country/union/country/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/property/property/country/union/country" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "country" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/property/property/country/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Address" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/address/shape/Address" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "address" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/weight", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/weight/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/cycle/avro/valid/non-standar.json#/shape/Person/property/property/weight/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/weight/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/weight/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "float" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "weight" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/height", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/height/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/cycle/avro/valid/non-standar.json#/shape/Person/property/property/height/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/height/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/height/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "double" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "height" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/someid", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/someid/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/cycle/avro/valid/non-standar.json#/shape/Person/property/property/someid/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/someid/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/property/property/someid/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "someid" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Person" + } + ], + "http://a.ml/vocabularies/shapes#namespace": [ + { + "@value": "com.company" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/shape/Person" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "com.company" + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/non-standar.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json new file mode 100644 index 0000000000..e297ebbb22 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json @@ -0,0 +1,74 @@ +{ + "name": "Person", + "namespace": "com.company", + "type": "record", + "fields": [ + { + "name": "name", + "type": "string" + }, + { + "name": "serialNo", + "type": "string" + }, + { + "name": "email", + "type": ["null", "string"], + "default": null + }, + { + "name": "age", + "type": ["null", "int"], + "default": null + }, + { + "name": "favoriteProgrammingLanguage", + "type": { + "name": "ProgrammingLanguage", + "type": "enum", + "symbols": ["JS", "Java", "Go", "Rust", "C"], + "default": "JS" + } + }, + { + "name": "certifications", + "type": { + "type": "array", + "items": "string" + } + }, + { + "name": "address", + "type": { + "name": "Address", + "type": "record", + "fields": [ + { + "name": "zipcode", + "type": "int" + }, + { + "name": "country", + "type": ["null", "string"], + "default": null + } + ] + } + }, + { + "name": "weight", + "type": "float" + }, + { + "name": "height", + "type": "double" + }, + { + "name": "someid", + "type": { + "type": "string", + "logicalType": "uuid" + } + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.jsonld new file mode 100644 index 0000000000..7323ce0015 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.jsonld @@ -0,0 +1,1123 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/valid/person-schema.json#/shape/Person", + "@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/cycle/avro/valid/person-schema.json#/shape/Person/property/property/name", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/name/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/name/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/name/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "name" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/serialNo", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/serialNo/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/cycle/avro/valid/person-schema.json#/shape/Person/property/property/serialNo/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/serialNo/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/serialNo/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "serialNo" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/email", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/email/union/email", + "@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/cycle/avro/valid/person-schema.json#/shape/Person/property/property/email/union/email/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/email/union/email/anyOf/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://www.w3.org/ns/shacl#name": [ + { + "@value": "email" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/email/union/email/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/email/union/email/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/email/union/email/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/email/union/email" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "email" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/email/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/age", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/age/union/age", + "@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/cycle/avro/valid/person-schema.json#/shape/Person/property/property/age/union/age/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/age/union/age/anyOf/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#int" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "age" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/age/union/age/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/age/union/age/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/age/union/age/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/age/union/age" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "age" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/age/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/favoriteProgrammingLanguage", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage", + "@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://www.w3.org/ns/shacl#name": [ + { + "@value": "ProgrammingLanguage" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/scalar_1", + "@type": [ + "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": "JS" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/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/cycle/avro/valid/person-schema.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "JS" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_1", + "@type": [ + "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": "Java" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_2", + "@type": [ + "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": "Go" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_3", + "@type": [ + "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": "Rust" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_5": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/in/data-node_4", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "C" + } + ], + "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/cycle/avro/valid/person-schema.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/favoriteProgrammingLanguage/scalar/ProgrammingLanguage" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "enum" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "favoriteProgrammingLanguage" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/certifications", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/certifications/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/cycle/avro/valid/person-schema.json#/shape/Person/property/property/certifications/array/default-array/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/certifications/array/default-array/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/certifications/array/default-array/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/certifications/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "array" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "certifications" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address", + "@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/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/property/property/zipcode", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/property/property/zipcode/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#int" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/property/property/zipcode/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "int" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "zipcode" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/property/property/country", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/property/property/country/union/country", + "@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/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/property/property/country/union/country/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/property/property/country/union/country/anyOf/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://www.w3.org/ns/shacl#name": [ + { + "@value": "country" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/property/property/country/union/country/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/property/property/country/union/country/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/property/property/country/union/country/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/property/property/country/union/country" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "country" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/property/property/country/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Address" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/address/shape/Address" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "address" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/weight", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/weight/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/cycle/avro/valid/person-schema.json#/shape/Person/property/property/weight/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/weight/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/weight/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "float" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "weight" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/height", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/height/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/cycle/avro/valid/person-schema.json#/shape/Person/property/property/height/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/height/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/height/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "double" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "height" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/someid", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/someid/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/cycle/avro/valid/person-schema.json#/shape/Person/property/property/someid/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/someid/scalar/default-scalar/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/property/property/someid/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "string" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "someid" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Person" + } + ], + "http://a.ml/vocabularies/shapes#namespace": [ + { + "@value": "com.company" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/shape/Person" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "com.company" + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/person-schema.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json new file mode 100644 index 0000000000..5e202e1c2a --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json @@ -0,0 +1,20 @@ +{ + "type": "record", + "name": "TestUnionRecord", + "namespace": "org.apache.avro.specific", + "fields": [ + { + "name": "amount", + "type": [ + "null", + { + "type": "bytes", + "logicalType": "decimal", + "precision": 31, + "scale": 8 + } + ], + "default": null + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.jsonld new file mode 100644 index 0000000000..b0c5b9e553 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.jsonld @@ -0,0 +1,216 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json", + "@type": [ + "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", + "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/cycle/avro/valid/test-union-record.json#/shape/TestUnionRecord", + "@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/cycle/avro/valid/test-union-record.json#/shape/TestUnionRecord/property/property/amount", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json#/shape/TestUnionRecord/property/property/amount/union/amount", + "@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/cycle/avro/valid/test-union-record.json#/shape/TestUnionRecord/property/property/amount/union/amount/anyOf/nil/null", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json#/shape/TestUnionRecord/property/property/amount/union/amount/anyOf/nil/null_1", + "@type": [ + "http://a.ml/vocabularies/shapes#NilShape", + "http://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": "null" + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "amount" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json#/shape/TestUnionRecord/property/property/amount/union/amount/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json#/shape/TestUnionRecord/property/property/amount/union/amount/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json#/shape/TestUnionRecord/property/property/amount/union/amount/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json#/shape/TestUnionRecord/property/property/amount/union/amount" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "union" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "amount" + } + ], + "http://www.w3.org/ns/shacl#defaultValue": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json#/shape/TestUnionRecord/property/property/amount/scalar_1", + "@type": [ + "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" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#nil" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "scalar_1" + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TestUnionRecord" + } + ], + "http://a.ml/vocabularies/shapes#namespace": [ + { + "@value": "org.apache.avro.specific" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json#/shape/TestUnionRecord/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#avro-schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json#/shape/TestUnionRecord/source-map/avro-schema/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json#/shape/TestUnionRecord" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "record" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "org.apache.avro.specific" + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/test-union-record.json#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#BaseUnitProcessingData" + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Avro" + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/scala/amf/avro/AsyncAvroInvalidTCKParsingTest.scala b/amf-cli/shared/src/test/scala/amf/avro/AsyncAvroInvalidTCKParsingTest.scala new file mode 100644 index 0000000000..da89a133ee --- /dev/null +++ b/amf-cli/shared/src/test/scala/amf/avro/AsyncAvroInvalidTCKParsingTest.scala @@ -0,0 +1,23 @@ +package amf.avro + +import amf.core.internal.remote.{AmfJsonHint, Async20YamlHint, AvroHint} + + +class AsyncAvroInvalidTCKParsingTest extends AsyncAvroCycleTest { + override def basePath: String = s"amf-cli/shared/src/test/resources/avro/tck/apis/invalid/" + + // Test invalid APIs + fs.syncFile(s"$basePath").list.foreach { api => + if (api.endsWith(".yaml") && !api.endsWith(".dumped.yaml")) { + test(s"Avro TCK > Apis > Invalid > $api: parsing fails as expected") { + cycle(api, api.replace(".yaml", ".jsonld"), Async20YamlHint, AmfJsonHint) + } + } + + if (api.endsWith(".json") && !api.endsWith(".dumped.json")) { + test(s"Avro TCK > Schemas > Invalid > $api: parsing fails as expected") { + cycle(api, api.replace(".json", ".jsonld"), AvroHint, AmfJsonHint) + } + } + } +} diff --git a/amf-cli/shared/src/test/scala/amf/avro/AsyncAvroValidTCKParsingTest.scala b/amf-cli/shared/src/test/scala/amf/avro/AsyncAvroValidTCKParsingTest.scala new file mode 100644 index 0000000000..60c4a8e5fe --- /dev/null +++ b/amf-cli/shared/src/test/scala/amf/avro/AsyncAvroValidTCKParsingTest.scala @@ -0,0 +1,22 @@ +package amf.avro + +import amf.core.internal.remote.{AmfJsonHint, Async20YamlHint, AvroHint} + + +class AsyncAvroValidTCKParsingTest extends AsyncAvroCycleTest { + override def basePath: String = s"amf-cli/shared/src/test/resources/avro/tck/apis/valid/" + + // Test valid APIs + fs.syncFile(s"$basePath").list.foreach { api => + if (api.endsWith(".yaml") && !api.endsWith(".dumped.yaml")) { + test(s"Avro TCK > Apis > Valid > $api: dumped JSON matches golden") { + cycle(api, api.replace(".yaml", ".jsonld"), Async20YamlHint, AmfJsonHint) + } + + ignore(s"Avro TCK > Apis > Valid > $api: dumped YAML matches golden") { + cycle(api, api.replace(".yaml", ".dumped.yaml"), Async20YamlHint, Async20YamlHint) + } + } + } + +} diff --git a/amf-cli/shared/src/test/scala/amf/avro/AvroSchemaTCKTest.scala b/amf-cli/shared/src/test/scala/amf/avro/AvroSchemaTCKTest.scala new file mode 100644 index 0000000000..c4fcf71b73 --- /dev/null +++ b/amf-cli/shared/src/test/scala/amf/avro/AvroSchemaTCKTest.scala @@ -0,0 +1,44 @@ +package amf.parser + +import amf.avro.AvroSchemaCycleTest +import amf.core.client.scala.config.RenderOptions +import amf.core.internal.remote.{AmfJsonHint, AvroHint} + +class AvroSchemaValidTCKTest extends AvroSchemaCycleTest { + override def basePath: String = s"amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/" + + + fs.syncFile(s"$basePath").list.foreach { schema => + if (schema.endsWith(".json") && !schema.endsWith(".dumped.json")) { + + test(s"Avro Schema TCK > Schemas > Valid > $schema: JSON to JSON-LD matches golden") { + cycle(schema, schema.replace(".json", ".jsonld"), AvroHint, AmfJsonHint) + } + //Todo: des-ingnore in emission + ignore(s"Avro Schema TCK > Schemas > Valid > $schema: JSON to dumped JSON matches golden") { + cycle(schema, schema.replace(".json", ".dumped.json"), AvroHint, AvroHint) + } + } + } + + override def renderOptions(): RenderOptions = RenderOptions().withoutFlattenedJsonLd.withPrettyPrint +} +// TCK invalid avro schemas. Uncomment to test validation +//class AvroSchemaInvalidTCKTest extends AvroSchemaCycleTest { +// override def basePath: String = s"amf-cli/shared/src/test/resources/upandown/cycle/avro/invalid/" +// +// +// fs.syncFile(s"$basePath/invalid").list.foreach { schema => +// if (schema.endsWith(".json") && !schema.endsWith(".dumped.json")){ +// ignore(s"Avro Schema TCK > Schemas > Invalid > $schema: JSON to JSON-LD matches golden") { +// cycle(schema, schema.replace(".json", ".jsonld"), AvroHint, AmfJsonHint) +// } +// //Todo: des-ingnore in emission +// ignore(s"Avro Schema TCK > Schemas > Valid > $schema: JSON to dumped JSON matches golden") { +// cycle(schema, schema.replace(".json", ".dumped.json"), AvroHint, AvroHint) +// } +// } +// } +// +// override def renderOptions(): RenderOptions = RenderOptions().withoutFlattenedJsonLd.withPrettyPrint +//} From c37a09144d08897e5b18039638fecf771e05d884 Mon Sep 17 00:00:00 2001 From: Damian Pedra Date: Tue, 2 Jul 2024 09:58:57 -0300 Subject: [PATCH 25/30] W-15633213: Override golden and delete AvroSchemaParsingTest to add it to another suite --- .../cycle/avro/{ => valid}/array.json | 0 .../cycle/avro/{ => valid}/array.jsonld | 16 +++---- .../cycle/avro/{ => valid}/enum.json | 0 .../cycle/avro/{ => valid}/enum.jsonld | 24 +++++----- .../cycle/avro/{ => valid}/fixed.json | 0 .../cycle/avro/{ => valid}/fixed.jsonld | 12 ++--- .../upanddown/cycle/avro/{ => valid}/map.json | 0 .../cycle/avro/{ => valid}/map.jsonld | 16 +++---- .../cycle/avro/{ => valid}/record.json | 0 .../cycle/avro/{ => valid}/record.jsonld | 44 +++++++++---------- .../amf/avro/AvroSchemaParsingTest.scala | 23 ---------- 11 files changed, 56 insertions(+), 79 deletions(-) rename amf-cli/shared/src/test/resources/upanddown/cycle/avro/{ => valid}/array.json (100%) rename amf-cli/shared/src/test/resources/upanddown/cycle/avro/{ => valid}/array.jsonld (86%) rename amf-cli/shared/src/test/resources/upanddown/cycle/avro/{ => valid}/enum.json (100%) rename amf-cli/shared/src/test/resources/upanddown/cycle/avro/{ => valid}/enum.jsonld (89%) rename amf-cli/shared/src/test/resources/upanddown/cycle/avro/{ => valid}/fixed.json (100%) rename amf-cli/shared/src/test/resources/upanddown/cycle/avro/{ => valid}/fixed.jsonld (87%) rename amf-cli/shared/src/test/resources/upanddown/cycle/avro/{ => valid}/map.json (100%) rename amf-cli/shared/src/test/resources/upanddown/cycle/avro/{ => valid}/map.jsonld (86%) rename amf-cli/shared/src/test/resources/upanddown/cycle/avro/{ => valid}/record.json (100%) rename amf-cli/shared/src/test/resources/upanddown/cycle/avro/{ => valid}/record.jsonld (85%) delete mode 100644 amf-cli/shared/src/test/scala/amf/avro/AvroSchemaParsingTest.scala diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/array.json similarity index 100% rename from amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json rename to amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/array.json diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/array.jsonld similarity index 86% rename from amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld rename to amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/array.jsonld index cbc290449d..20e8fb0297 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/array.jsonld @@ -1,6 +1,6 @@ [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/array.json", "@type": [ "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", "http://a.ml/vocabularies/document#Document", @@ -10,7 +10,7 @@ ], "http://a.ml/vocabularies/document#encodes": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/array/default-array", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/array.json#/array/default-array", "@type": [ "http://a.ml/vocabularies/shapes#ArrayShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -20,7 +20,7 @@ ], "http://a.ml/vocabularies/shapes#items": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/array/default-array/scalar/default-scalar", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/array.json#/array/default-array/scalar/default-scalar", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -37,7 +37,7 @@ ], "http://www.w3.org/ns/shacl#defaultValue": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/array/default-array/array_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/array.json#/array/default-array/array_1", "@type": [ "http://a.ml/vocabularies/data#Array", "http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq", @@ -54,16 +54,16 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/array/default-array/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/array.json#/array/default-array/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#avro-schema": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/array/default-array/source-map/avro-schema/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/array.json#/array/default-array/source-map/avro-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/array/default-array" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/array.json#/array/default-array" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -84,7 +84,7 @@ ], "http://a.ml/vocabularies/document#processingData": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/array.json#/BaseUnitProcessingData", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/array.json#/BaseUnitProcessingData", "@type": [ "http://a.ml/vocabularies/document#BaseUnitProcessingData" ], diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.json similarity index 100% rename from amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json rename to amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.json diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.jsonld similarity index 89% rename from amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.jsonld rename to amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.jsonld index d4015d122b..2be2500523 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.jsonld @@ -1,6 +1,6 @@ [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.json", "@type": [ "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", "http://a.ml/vocabularies/document#Document", @@ -10,7 +10,7 @@ ], "http://a.ml/vocabularies/document#encodes": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.json#/scalar/Suit", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -30,7 +30,7 @@ ], "http://www.w3.org/ns/shacl#defaultValue": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit/scalar_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.json#/scalar/Suit/scalar_1", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -55,11 +55,11 @@ ], "http://www.w3.org/ns/shacl#in": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit/list", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.json#/scalar/Suit/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/cycle/avro/enum.json#/scalar/Suit/in/data-node", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.json#/scalar/Suit/in/data-node", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -79,7 +79,7 @@ ], "http://www.w3.org/2000/01/rdf-schema#_2": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit/in/data-node_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.json#/scalar/Suit/in/data-node_1", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -99,7 +99,7 @@ ], "http://www.w3.org/2000/01/rdf-schema#_3": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit/in/data-node_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.json#/scalar/Suit/in/data-node_2", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -119,7 +119,7 @@ ], "http://www.w3.org/2000/01/rdf-schema#_4": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit/in/data-node_3", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.json#/scalar/Suit/in/data-node_3", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -141,16 +141,16 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.json#/scalar/Suit/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#avro-schema": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit/source-map/avro-schema/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.json#/scalar/Suit/source-map/avro-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/scalar/Suit" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.json#/scalar/Suit" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -171,7 +171,7 @@ ], "http://a.ml/vocabularies/document#processingData": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/enum.json#/BaseUnitProcessingData", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/enum.json#/BaseUnitProcessingData", "@type": [ "http://a.ml/vocabularies/document#BaseUnitProcessingData" ], diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/fixed.json similarity index 100% rename from amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json rename to amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/fixed.json diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/fixed.jsonld similarity index 87% rename from amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.jsonld rename to amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/fixed.jsonld index 3a51b0d2dc..9c68ed58f3 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/fixed.jsonld @@ -1,6 +1,6 @@ [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/fixed.json", "@type": [ "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", "http://a.ml/vocabularies/document#Document", @@ -10,7 +10,7 @@ ], "http://a.ml/vocabularies/document#encodes": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json#/scalar/md5", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/fixed.json#/scalar/md5", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -35,16 +35,16 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json#/scalar/md5/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/fixed.json#/scalar/md5/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#avro-schema": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json#/scalar/md5/source-map/avro-schema/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/fixed.json#/scalar/md5/source-map/avro-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json#/scalar/md5" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/fixed.json#/scalar/md5" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -65,7 +65,7 @@ ], "http://a.ml/vocabularies/document#processingData": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/fixed.json#/BaseUnitProcessingData", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/fixed.json#/BaseUnitProcessingData", "@type": [ "http://a.ml/vocabularies/document#BaseUnitProcessingData" ], diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/map.json similarity index 100% rename from amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json rename to amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/map.json diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/map.jsonld similarity index 86% rename from amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld rename to amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/map.jsonld index f8f24277a0..fc8df36aa7 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/map.jsonld @@ -1,6 +1,6 @@ [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/map.json", "@type": [ "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", "http://a.ml/vocabularies/document#Document", @@ -10,7 +10,7 @@ ], "http://a.ml/vocabularies/document#encodes": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/map.json#/shape/default-node", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -20,7 +20,7 @@ ], "http://www.w3.org/ns/shacl#additionalPropertiesSchema": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/scalar/default-scalar", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/map.json#/shape/default-node/scalar/default-scalar", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -37,7 +37,7 @@ ], "http://www.w3.org/ns/shacl#defaultValue": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/object_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/map.json#/shape/default-node/object_1", "@type": [ "http://a.ml/vocabularies/data#Object", "http://a.ml/vocabularies/data#Node", @@ -52,16 +52,16 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/map.json#/shape/default-node/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#avro-schema": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node/source-map/avro-schema/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/map.json#/shape/default-node/source-map/avro-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/shape/default-node" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/map.json#/shape/default-node" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -82,7 +82,7 @@ ], "http://a.ml/vocabularies/document#processingData": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/map.json#/BaseUnitProcessingData", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/map.json#/BaseUnitProcessingData", "@type": [ "http://a.ml/vocabularies/document#BaseUnitProcessingData" ], diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json similarity index 100% rename from amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json rename to amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.jsonld similarity index 85% rename from amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld rename to amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.jsonld index 8205197b58..2ad48ccabe 100644 --- a/amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.jsonld @@ -1,6 +1,6 @@ [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json", "@type": [ "http://a.ml/vocabularies/document#AvroSchemaDocumentModel", "http://a.ml/vocabularies/document#Document", @@ -10,7 +10,7 @@ ], "http://a.ml/vocabularies/document#encodes": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -20,7 +20,7 @@ ], "http://www.w3.org/ns/shacl#property": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/value", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/value", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -29,7 +29,7 @@ ], "http://a.ml/vocabularies/shapes#range": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/value/scalar/default-scalar", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/value/scalar/default-scalar", "@type": [ "http://a.ml/vocabularies/shapes#ScalarShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -44,16 +44,16 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/value/scalar/default-scalar/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/value/scalar/default-scalar/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#avro-schema": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/value/scalar/default-scalar/source-map/avro-schema/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/value/scalar/default-scalar/source-map/avro-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/value/scalar/default-scalar" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/value/scalar/default-scalar" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -79,7 +79,7 @@ ], "http://www.w3.org/ns/shacl#defaultValue": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/value/scalar_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/value/scalar_1", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -104,7 +104,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/next", "@type": [ "http://www.w3.org/ns/shacl#PropertyShape", "http://www.w3.org/ns/shacl#Shape", @@ -113,7 +113,7 @@ ], "http://a.ml/vocabularies/shapes#range": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/union/next", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/next/union/next", "@type": [ "http://a.ml/vocabularies/shapes#UnionShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -123,7 +123,7 @@ ], "http://a.ml/vocabularies/shapes#anyOf": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/union/next/anyOf/nil/null", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/next/union/next/anyOf/nil/null", "@type": [ "http://a.ml/vocabularies/shapes#NilShape", "http://www.w3.org/ns/shacl#Shape", @@ -137,7 +137,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/union/next/anyOf/shape/default-node", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/next/union/next/anyOf/shape/default-node", "@type": [ "http://www.w3.org/ns/shacl#NodeShape", "http://a.ml/vocabularies/shapes#AnyShape", @@ -147,7 +147,7 @@ ], "http://a.ml/vocabularies/document#link-target": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList" } ], "http://a.ml/vocabularies/document#link-label": [ @@ -169,7 +169,7 @@ ], "http://www.w3.org/ns/shacl#defaultValue": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/union/next/scalar_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/next/union/next/scalar_1", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -199,16 +199,16 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/union/next/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/next/union/next/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#avro-schema": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/union/next/source-map/avro-schema/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/next/union/next/source-map/avro-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/union/next" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/next/union/next" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -234,7 +234,7 @@ ], "http://www.w3.org/ns/shacl#defaultValue": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/property/property/next/scalar_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/property/property/next/scalar_1", "@type": [ "http://a.ml/vocabularies/data#Scalar", "http://a.ml/vocabularies/data#Node", @@ -281,16 +281,16 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/source-map", "@type": [ "http://a.ml/vocabularies/document-source-maps#SourceMap" ], "http://a.ml/vocabularies/document-source-maps#avro-schema": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList/source-map/avro-schema/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList/source-map/avro-schema/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/shape/LongList" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/shape/LongList" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -316,7 +316,7 @@ ], "http://a.ml/vocabularies/document#processingData": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/record.json#/BaseUnitProcessingData", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/cycle/avro/valid/record.json#/BaseUnitProcessingData", "@type": [ "http://a.ml/vocabularies/document#BaseUnitProcessingData" ], diff --git a/amf-cli/shared/src/test/scala/amf/avro/AvroSchemaParsingTest.scala b/amf-cli/shared/src/test/scala/amf/avro/AvroSchemaParsingTest.scala deleted file mode 100644 index b676950f34..0000000000 --- a/amf-cli/shared/src/test/scala/amf/avro/AvroSchemaParsingTest.scala +++ /dev/null @@ -1,23 +0,0 @@ -package amf.avro - -class AvroSchemaParsingTest extends AvroSchemaCycleTest { - test("Can parse an array") { - cycle("array.json", "array.jsonld") - } - - test("Can parse an enum") { - cycle("enum.json", "enum.jsonld") - } - - test("Can parse a fixed shape") { - cycle("fixed.json", "fixed.jsonld") - } - - test("Can parse a map") { - cycle("map.json", "map.jsonld") - } - - test("Can parse a record with a recursive reference") { - cycle("record.json", "record.jsonld") - } -} From 1dbffeb73952bdc00330b8d7e31d8a52585b6c5b Mon Sep 17 00:00:00 2001 From: Loose Date: Tue, 2 Jul 2024 11:11:05 -0300 Subject: [PATCH 26/30] W-16124325 - Release 5.5.3-RC.0 --- Jenkinsfile | 3 +++ amf-apicontract.versions | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7bff044cda..9682b9c237 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -69,6 +69,7 @@ pipeline { anyOf { branch 'master' branch 'develop' + branch 'release/*' } } steps { @@ -84,6 +85,7 @@ pipeline { anyOf { branch 'master' branch 'develop' + branch 'release/*' } } steps { @@ -98,6 +100,7 @@ pipeline { anyOf { branch 'master' branch 'develop' + branch 'release/*' } } steps { diff --git a/amf-apicontract.versions b/amf-apicontract.versions index 5c35829ed6..1f819d811d 100644 --- a/amf-apicontract.versions +++ b/amf-apicontract.versions @@ -1,5 +1,5 @@ -amf.apicontract=5.6.0-SNAPSHOT -amf.aml=6.6.0-SNAPSHOT +amf.apicontract=5.5.3-RC.0 +amf.aml=6.5.3-RC.0 amf.model=3.9.0 antlr4Version=0.7.25 amf.validation.profile.dialect=1.6.0 From 98a6c44bc5309ed7309cd489803443de729a98b0 Mon Sep 17 00:00:00 2001 From: Loose Date: Wed, 3 Jul 2024 16:08:34 -0300 Subject: [PATCH 27/30] W-16124325 - Adding AvroConfiguration to platform interface --- .../client/platform/AMFConfiguration.scala | 16 +++++++++++----- .../client/scala/AMFConfiguration.scala | 1 + 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/AMFConfiguration.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/AMFConfiguration.scala index 0b0ac2e88f..9f136bdf17 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/AMFConfiguration.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/platform/AMFConfiguration.scala @@ -1,14 +1,14 @@ package amf.apicontract.client.platform -import amf.aml.client.platform.model.document.Dialect -import amf.aml.client.platform.model.document.DialectInstance +import amf.aml.client.platform.model.document.{Dialect, DialectInstance} import amf.aml.internal.convert.VocabulariesClientConverter.DialectConverter import amf.apicontract.client.scala.{ APIConfiguration => InternalAPIConfiguration, AsyncAPIConfiguration => InternalAsyncAPIConfiguration, OASConfiguration => InternalOASConfiguration, RAMLConfiguration => InternalRAMLConfiguration, - WebAPIConfiguration => InternalWebAPIConfiguration + WebAPIConfiguration => InternalWebAPIConfiguration, + AvroConfiguration => InternalAvroConfiguration } import amf.apicontract.internal.convert.ApiClientConverters._ import amf.core.client.platform.config.{AMFEventListener, ParsingOptions, RenderOptions} @@ -21,8 +21,7 @@ import amf.core.internal.convert.TransformationPipelineConverter._ import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} import amf.apicontract.client.scala -import amf.core.client.platform.AMFGraphConfiguration -import amf.core.client.platform.adoption.{IdAdopter, IdAdopterProvider} +import amf.core.client.platform.adoption.IdAdopterProvider import amf.core.client.platform.execution.BaseExecutionEnvironment import amf.core.client.platform.validation.payload.AMFShapePayloadValidationPlugin import amf.core.internal.convert.PayloadValidationPluginConverter.PayloadValidationPluginMatcher @@ -220,3 +219,10 @@ object APIConfiguration { def API(): AMFConfiguration = InternalAPIConfiguration.API() def fromSpec(spec: Spec): AMFConfiguration = InternalAPIConfiguration.fromSpec(spec) } + +// AVRO is in alpha support mode +@JSExportAll +@JSExportTopLevel("AvroConfiguration") +object AvroConfiguration { + def Avro(): AMFConfiguration = InternalAvroConfiguration.Avro() +} 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 78d398ab20..c57440fab4 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 @@ -157,6 +157,7 @@ object RAMLConfiguration extends APIConfigurationBuilder { } } +// AVRO is in alpha support mode object AvroConfiguration extends APIConfigurationBuilder { def Avro(): AMFConfiguration = common().withPlugins(List(AvroParsePlugin)) // TODO: add validation profiles and serialization From cd0d57ca5454adadc6b70d8f815e2f18925e7a00 Mon Sep 17 00:00:00 2001 From: Loose Date: Wed, 3 Jul 2024 16:22:33 -0300 Subject: [PATCH 28/30] W-16124325 - Adding AnyShape Avro interfaces --- .../platform/model/domain/AnyShape.scala | 26 ++++++++++++++++++- .../client/scala/model/domain/AnyShape.scala | 3 ++- .../scala/model/domain/AvroShapeFields.scala | 17 ++++++++++++ 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/AvroShapeFields.scala diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/AnyShape.scala b/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/AnyShape.scala index c5db2797ba..b98dbeca56 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/AnyShape.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/AnyShape.scala @@ -1,7 +1,7 @@ package amf.shapes.client.platform.model.domain import amf.core.client.platform.model.domain.Shape -import amf.core.client.platform.model.StrField +import amf.core.client.platform.model.{IntField, StrField} import amf.core.internal.unsafe.PlatformSecrets import scala.scalajs.js.annotation.{JSExport, JSExportTopLevel} @@ -21,6 +21,12 @@ class AnyShape(override private[amf] val _internal: InternalAnyShape) extends Sh def examples: ClientList[Example] = _internal.examples.asClient @JSExport def comment: StrField = _internal.comment + @JSExport + def namespace: StrField = _internal.namespace + @JSExport + def aliases: ClientList[StrField] = _internal.aliases.asClient + @JSExport + def size: IntField = _internal.size @JSExport def withDocumentation(documentation: CreativeWork): this.type = { @@ -70,4 +76,22 @@ class AnyShape(override private[amf] val _internal: InternalAnyShape) extends Sh // Aux method to know if the shape has the annotation of [[InlineDefinition]] @JSExport def inlined(): Boolean = _internal.inlined + + @JSExport + def withNamespace(namespace: String): this.type = { + _internal.withNamespace(namespace) + this + } + + @JSExport + def withAliases(aliases: Seq[String]): this.type = { + _internal.withAliases(aliases) + this + } + + @JSExport + def withSize(size: Int): this.type = { + _internal.withSize(size) + this + } } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/AnyShape.scala b/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/AnyShape.scala index 5ff3917441..cd9210bd51 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/AnyShape.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/AnyShape.scala @@ -15,7 +15,8 @@ class AnyShape private[amf] (val fields: Fields, val annotations: Annotations = with ExternalSourceElement with InheritanceChain with DocumentedElement - with ExemplifiedDomainElement { + with ExemplifiedDomainElement + with AvroShapeFields { // This is used in ShapeNormalization to know if a Shape should go through the AnyShapeAdjuster private[amf] val isConcreteShape: Boolean = false diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/AvroShapeFields.scala b/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/AvroShapeFields.scala new file mode 100644 index 0000000000..f5babaca75 --- /dev/null +++ b/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/AvroShapeFields.scala @@ -0,0 +1,17 @@ +package amf.shapes.client.scala.model.domain + +import amf.core.client.scala.model.domain.Shape +import amf.core.client.scala.model.{IntField, StrField} +import amf.shapes.internal.domain.metamodel.AnyShapeModel._ + +protected[amf] trait AvroShapeFields { self: Shape => + + def namespace: StrField = fields.field(AvroNamespace) + def aliases: Seq[StrField] = fields.field(Aliases) + def size: IntField = fields.field(Size) + + def withNamespace(namespace: String): this.type = set(AvroNamespace, namespace) + def withAliases(aliases: Seq[String]): this.type = set(Aliases, aliases) + def withSize(size: Int): this.type = set(Size, size) + +} From 8ed9f620b215e8f11b55fdd7d81a02ff7fa77533 Mon Sep 17 00:00:00 2001 From: Loose Date: Wed, 3 Jul 2024 16:30:05 -0300 Subject: [PATCH 29/30] W-16124325 - Adding Avro typings --- amf-cli/js/typings/amf-client-js.d.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/amf-cli/js/typings/amf-client-js.d.ts b/amf-cli/js/typings/amf-client-js.d.ts index e519d2c0a0..3d4c130fb8 100644 --- a/amf-cli/js/typings/amf-client-js.d.ts +++ b/amf-cli/js/typings/amf-client-js.d.ts @@ -1443,6 +1443,9 @@ declare module "amf-client-js" { writeOnly: BoolField; xmlSerialization: XMLSerializer; xone: Array; + namespace: StrField; + aliases: Array; + size: IntField; constructor(); @@ -1531,6 +1534,12 @@ declare module "amf-client-js" { withXMLSerialization(xmlSerialization: XMLSerializer): this; withXone(subShapes: Array): this; + + withNamespace(namespace: string): this; + + withAliases(aliases: Array): this; + + withSize(size: number): this; } export class Api implements DomainElement { accepts: Array; @@ -1716,6 +1725,9 @@ declare module "amf-client-js" { withVersion(version: string): this; } + export class AvroConfiguration { + static Avro(): AMFConfiguration; + } export class BaseAMLBaseUnitClient extends AMFGraphBaseUnitClient { parseDialect(url: string): Promise; From 5bae5bea1e9c37fcf704c0240016b09364ae7575 Mon Sep 17 00:00:00 2001 From: Loose Date: Wed, 3 Jul 2024 17:40:22 -0300 Subject: [PATCH 30/30] W-16124325 - Publish 5.5.3 --- Jenkinsfile | 3 --- amf-apicontract.versions | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9682b9c237..7bff044cda 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -69,7 +69,6 @@ pipeline { anyOf { branch 'master' branch 'develop' - branch 'release/*' } } steps { @@ -85,7 +84,6 @@ pipeline { anyOf { branch 'master' branch 'develop' - branch 'release/*' } } steps { @@ -100,7 +98,6 @@ pipeline { anyOf { branch 'master' branch 'develop' - branch 'release/*' } } steps { diff --git a/amf-apicontract.versions b/amf-apicontract.versions index 1f819d811d..510343d818 100644 --- a/amf-apicontract.versions +++ b/amf-apicontract.versions @@ -1,5 +1,5 @@ -amf.apicontract=5.5.3-RC.0 -amf.aml=6.5.3-RC.0 +amf.apicontract=5.5.3 +amf.aml=6.5.3 amf.model=3.9.0 antlr4Version=0.7.25 amf.validation.profile.dialect=1.6.0